use of org.springframework.ide.vscode.project.harness.MockRunningAppProvider in project sts4 by spring-projects.
the class RequestMappingLiveHoverTest method setup.
@Before
public void setup() throws Exception {
mockAppProvider = new MockRunningAppProvider();
harness = BootJavaLanguageServerHarness.builder().runningAppProvider(mockAppProvider.provider).watchDogInterval(Duration.ofMillis(100)).build();
}
use of org.springframework.ide.vscode.project.harness.MockRunningAppProvider in project sts4 by spring-projects.
the class ConditionalsLiveHoverTest method setup.
@Before
public void setup() throws Exception {
mockAppProvider = new MockRunningAppProvider();
harness = BootJavaLanguageServerHarness.builder().runningAppProvider(mockAppProvider.provider).watchDogInterval(Duration.ofMillis(100)).build();
}
use of org.springframework.ide.vscode.project.harness.MockRunningAppProvider in project sts4 by spring-projects.
the class ActiveProfilesHoverTest method setup.
@Before
public void setup() throws Exception {
mockAppProvider = new MockRunningAppProvider();
harness = BootJavaLanguageServerHarness.builder().mockDefaults().runningAppProvider(mockAppProvider.provider).watchDogInterval(Duration.ofMillis(100)).build();
harness.useProject(projects.mavenProject("empty-boot-15-web-app"));
harness.intialize(null);
}
use of org.springframework.ide.vscode.project.harness.MockRunningAppProvider in project sts4 by spring-projects.
the class ActuatorWarningHoverTest method setup.
@Before
public void setup() throws Exception {
mockAppProvider = new MockRunningAppProvider();
harness = BootJavaLanguageServerHarness.builder().mockDefaults().runningAppProvider(mockAppProvider.provider).watchDogInterval(Duration.ofMillis(100)).build();
}
use of org.springframework.ide.vscode.project.harness.MockRunningAppProvider in project sts4 by spring-projects.
the class BeanInjectedIntoHoverProviderTest method setup.
@Before
public void setup() throws Exception {
mockAppProvider = new MockRunningAppProvider();
harness = BootJavaLanguageServerHarness.builder().mockDefaults().runningAppProvider(mockAppProvider.provider).watchDogInterval(Duration.ofMillis(100)).build();
MavenJavaProject jp = projects.mavenProject("empty-boot-15-web-app", FOO_INTERFACE);
assertTrue(jp.getClasspath().findType("hello.Foo").exists());
harness.useProject(jp);
harness.intialize(null);
}
Aggregations