use of org.springframework.ide.vscode.concourse.ConcourseLanguageServer in project sts4 by spring-projects.
the class ConcourseLanguageServerTest method createAndInitializeServerWithoutWorkspace.
@Test
public void createAndInitializeServerWithoutWorkspace() throws Exception {
File workspaceRoot = null;
LanguageServerHarness harness = new LanguageServerHarness(() -> new ConcourseLanguageServer(TEST_DEFAULT, Mockito.mock(GithubInfoProvider.class)));
assertExpectedInitResult(harness.intialize(workspaceRoot));
}
use of org.springframework.ide.vscode.concourse.ConcourseLanguageServer in project sts4 by spring-projects.
the class ConcourseLanguageServerTest method createAndInitializeServerWithWorkspace.
@Test
public void createAndInitializeServerWithWorkspace() throws Exception {
LanguageServerHarness harness = new LanguageServerHarness(() -> new ConcourseLanguageServer(TEST_DEFAULT, Mockito.mock(GithubInfoProvider.class)));
File workspaceRoot = getTestResource("/workspace/");
assertExpectedInitResult(harness.intialize(workspaceRoot));
}
Aggregations