summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGeorge Fraser <george@fivetran.com>2019-01-07 21:57:01 -0800
committerGeorge Fraser <george@fivetran.com>2019-01-07 21:57:01 -0800
commit7e9c41c98f7938166bd34d557f18fb3cf5d1bdd0 (patch)
tree68b35aac076daf7280903f92bdca883a8427627e /src/test
parentd03f4b71432d4836a6761c058a8abf24d6801f25 (diff)
downloadjava-language-server-7e9c41c98f7938166bd34d557f18fb3cf5d1bdd0.zip
Passes tests but still having live issues
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/javacs/CompletionsTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/java/org/javacs/CompletionsTest.java b/src/test/java/org/javacs/CompletionsTest.java
index 4cef1fb..5a53130 100644
--- a/src/test/java/org/javacs/CompletionsTest.java
+++ b/src/test/java/org/javacs/CompletionsTest.java
@@ -9,6 +9,7 @@ import java.nio.file.StandardOpenOption;
import java.util.List;
import java.util.stream.Collectors;
import org.javacs.lsp.*;
+import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
@@ -16,6 +17,11 @@ public class CompletionsTest extends CompletionsBase {
// TODO rename Autocomplete Complete because Autocomplete is long and ugly
+ @Before
+ public void setup() {
+ FileStore.reset();
+ }
+
@Test
public void staticMember() {
var file = "/org/javacs/example/AutocompleteStaticMember.java";