summaryrefslogtreecommitdiff
path: root/src/test/java/org/javacs/DocsTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/org/javacs/DocsTest.java')
-rw-r--r--src/test/java/org/javacs/DocsTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/org/javacs/DocsTest.java b/src/test/java/org/javacs/DocsTest.java
index 6819974..eb764be 100644
--- a/src/test/java/org/javacs/DocsTest.java
+++ b/src/test/java/org/javacs/DocsTest.java
@@ -4,9 +4,16 @@ import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.util.Set;
+import org.junit.Before;
import org.junit.Test;
public class DocsTest {
+
+ @Before
+ public void setWorkspaceRoot() {
+ FileStore.setWorkspaceRoots(Set.of(LanguageServerFixture.SIMPLE_WORKSPACE_ROOT));
+ }
+
@Test
public void classDoc() {
var sourcePath = Set.of(JavaCompilerServiceTest.simpleProjectSrc());