diff options
Diffstat (limited to 'src/test/java')
-rw-r--r-- | src/test/java/org/javacs/CodeLensTest.java | 4 | ||||
-rw-r--r-- | src/test/java/org/javacs/CompletionsBase.java | 5 | ||||
-rw-r--r-- | src/test/java/org/javacs/CompletionsTest.java | 2 | ||||
-rw-r--r-- | src/test/java/org/javacs/FindReferencesTest.java | 4 | ||||
-rw-r--r-- | src/test/java/org/javacs/GotoTest.java | 5 | ||||
-rw-r--r-- | src/test/java/org/javacs/LanguageServerFixture.java | 7 | ||||
-rw-r--r-- | src/test/java/org/javacs/SearchTest.java | 2 | ||||
-rw-r--r-- | src/test/java/org/javacs/SignatureHelpTest.java | 5 | ||||
-rw-r--r-- | src/test/java/org/javacs/SymbolUnderCursorTest.java | 4 |
9 files changed, 9 insertions, 29 deletions
diff --git a/src/test/java/org/javacs/CodeLensTest.java b/src/test/java/org/javacs/CodeLensTest.java index 9383de8..47f265d 100644 --- a/src/test/java/org/javacs/CodeLensTest.java +++ b/src/test/java/org/javacs/CodeLensTest.java @@ -9,9 +9,7 @@ import java.util.List; import java.util.Objects; import java.util.StringJoiner; import java.util.concurrent.ExecutionException; -import org.eclipse.lsp4j.CodeLens; -import org.eclipse.lsp4j.CodeLensParams; -import org.eclipse.lsp4j.TextDocumentIdentifier; +import org.javacs.lsp.*; import org.junit.Test; public class CodeLensTest { diff --git a/src/test/java/org/javacs/CompletionsBase.java b/src/test/java/org/javacs/CompletionsBase.java index 63d2634..8ad10a8 100644 --- a/src/test/java/org/javacs/CompletionsBase.java +++ b/src/test/java/org/javacs/CompletionsBase.java @@ -6,10 +6,7 @@ import java.util.concurrent.ExecutionException; import java.util.logging.Logger; import java.util.stream.Collectors; import java.util.stream.Stream; -import org.eclipse.lsp4j.CompletionItem; -import org.eclipse.lsp4j.CompletionParams; -import org.eclipse.lsp4j.Position; -import org.eclipse.lsp4j.TextDocumentIdentifier; +import org.javacs.lsp.*; public class CompletionsBase { protected static final Logger LOG = Logger.getLogger("main"); diff --git a/src/test/java/org/javacs/CompletionsTest.java b/src/test/java/org/javacs/CompletionsTest.java index 1a8171d..864ff24 100644 --- a/src/test/java/org/javacs/CompletionsTest.java +++ b/src/test/java/org/javacs/CompletionsTest.java @@ -5,7 +5,7 @@ import static org.junit.Assert.*; import com.google.common.collect.Lists; import java.util.stream.Collectors; -import org.eclipse.lsp4j.CompletionItem; +import org.javacs.lsp.*; import org.junit.Ignore; import org.junit.Test; diff --git a/src/test/java/org/javacs/FindReferencesTest.java b/src/test/java/org/javacs/FindReferencesTest.java index 4cf0d2a..9356ded 100644 --- a/src/test/java/org/javacs/FindReferencesTest.java +++ b/src/test/java/org/javacs/FindReferencesTest.java @@ -8,9 +8,7 @@ import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.logging.Logger; -import org.eclipse.lsp4j.Position; -import org.eclipse.lsp4j.ReferenceParams; -import org.eclipse.lsp4j.TextDocumentIdentifier; +import org.javacs.lsp.*; import org.junit.Test; public class FindReferencesTest { diff --git a/src/test/java/org/javacs/GotoTest.java b/src/test/java/org/javacs/GotoTest.java index 7bb295a..ac60efc 100644 --- a/src/test/java/org/javacs/GotoTest.java +++ b/src/test/java/org/javacs/GotoTest.java @@ -8,10 +8,7 @@ import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; -import org.eclipse.lsp4j.Location; -import org.eclipse.lsp4j.Position; -import org.eclipse.lsp4j.TextDocumentIdentifier; -import org.eclipse.lsp4j.TextDocumentPositionParams; +import org.javacs.lsp.*; import org.junit.Ignore; import org.junit.Test; diff --git a/src/test/java/org/javacs/LanguageServerFixture.java b/src/test/java/org/javacs/LanguageServerFixture.java index 514ab74..6f0a481 100644 --- a/src/test/java/org/javacs/LanguageServerFixture.java +++ b/src/test/java/org/javacs/LanguageServerFixture.java @@ -5,12 +5,7 @@ import java.nio.file.Paths; import java.util.concurrent.CompletableFuture; import java.util.function.Consumer; import java.util.logging.Logger; -import org.eclipse.lsp4j.Diagnostic; -import org.eclipse.lsp4j.InitializeParams; -import org.eclipse.lsp4j.MessageActionItem; -import org.eclipse.lsp4j.MessageParams; -import org.eclipse.lsp4j.PublishDiagnosticsParams; -import org.eclipse.lsp4j.ShowMessageRequestParams; +import org.javacs.lsp.*; class LanguageServerFixture { diff --git a/src/test/java/org/javacs/SearchTest.java b/src/test/java/org/javacs/SearchTest.java index 16b51fc..ace86e8 100644 --- a/src/test/java/org/javacs/SearchTest.java +++ b/src/test/java/org/javacs/SearchTest.java @@ -12,7 +12,7 @@ import java.util.Set; import java.util.concurrent.ExecutionException; import java.util.logging.Logger; import java.util.stream.Collectors; -import org.eclipse.lsp4j.*; +import org.javacs.lsp.*; import org.junit.BeforeClass; import org.junit.Test; diff --git a/src/test/java/org/javacs/SignatureHelpTest.java b/src/test/java/org/javacs/SignatureHelpTest.java index 125e6fb..6019021 100644 --- a/src/test/java/org/javacs/SignatureHelpTest.java +++ b/src/test/java/org/javacs/SignatureHelpTest.java @@ -5,10 +5,7 @@ import static org.junit.Assert.*; import java.io.IOException; import java.util.concurrent.ExecutionException; -import org.eclipse.lsp4j.Position; -import org.eclipse.lsp4j.SignatureHelp; -import org.eclipse.lsp4j.TextDocumentIdentifier; -import org.eclipse.lsp4j.TextDocumentPositionParams; +import org.javacs.lsp.*; import org.junit.Test; public class SignatureHelpTest { diff --git a/src/test/java/org/javacs/SymbolUnderCursorTest.java b/src/test/java/org/javacs/SymbolUnderCursorTest.java index 92c2ee4..ca04883 100644 --- a/src/test/java/org/javacs/SymbolUnderCursorTest.java +++ b/src/test/java/org/javacs/SymbolUnderCursorTest.java @@ -5,9 +5,7 @@ import static org.junit.Assert.*; import java.util.StringJoiner; import java.util.concurrent.ExecutionException; -import org.eclipse.lsp4j.Position; -import org.eclipse.lsp4j.TextDocumentIdentifier; -import org.eclipse.lsp4j.TextDocumentPositionParams; +import org.javacs.lsp.*; import org.junit.Ignore; import org.junit.Test; |