updated tests due to side effects from previous commits
This commit is contained in:
@@ -84,7 +84,7 @@ public class SpringIndexViaLSPMethodTest {
|
||||
List<Bean> beans = result.get(5, TimeUnit.SECONDS);
|
||||
|
||||
assertNotNull(beans);
|
||||
assertEquals(14, beans.size());
|
||||
assertEquals(17, beans.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
@@ -98,7 +98,7 @@ public class SpringIndexViaLSPMethodTest {
|
||||
List<Bean> beans = result.get(5, TimeUnit.SECONDS);
|
||||
|
||||
assertNotNull(beans);
|
||||
assertEquals(13, beans.size());
|
||||
assertEquals(16, beans.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -75,7 +75,7 @@ public class SpringMetamodelIndexingTest {
|
||||
@Test
|
||||
void testDeleteProject() throws Exception {
|
||||
Bean[] beans = springIndex.getBeansOfProject("test-spring-indexing");
|
||||
assertEquals(14, beans.length);
|
||||
assertEquals(17, beans.length);
|
||||
|
||||
CompletableFuture<Void> deleteProject = indexer.deleteProject(project);
|
||||
deleteProject.get(5, TimeUnit.SECONDS);
|
||||
@@ -92,7 +92,7 @@ public class SpringMetamodelIndexingTest {
|
||||
String deletedDocURI = directory.toPath().resolve("src/main/java/org/test/injections/ConstructorInjectionService.java").toUri().toString();
|
||||
|
||||
Bean[] allBeansOfProject = springIndex.getBeansOfProject("test-spring-indexing");
|
||||
assertEquals(14, allBeansOfProject.length);
|
||||
assertEquals(17, allBeansOfProject.length);
|
||||
|
||||
Bean[] beans = springIndex.getBeansOfDocument(deletedDocURI);
|
||||
assertEquals(1, beans.length);
|
||||
|
||||
Reference in New Issue
Block a user