GH-915: adjust tests to no default limit setting

This commit is contained in:
Martin Lippert
2023-01-09 15:16:06 +01:00
parent 79d55c9d2e
commit 5f25dedcc2

View File

@@ -66,9 +66,9 @@ public class SpringIndexerMultiProjectTest {
}
@Test
void testQueryingAllSymbolsWithRegularLimit() throws Exception {
void testQueryingAllSymbols() throws Exception {
List<? extends WorkspaceSymbol> symbols = indexer.getAllSymbols("");
assertEquals(50, symbols.size());
assertEquals(220, symbols.size());
}
@Test
@@ -92,9 +92,9 @@ public class SpringIndexerMultiProjectTest {
}
@Test
void testQueryingSymbolsForSpecificProjectWithRegularLimit() throws Exception {
void testQueryingSymbolsForSpecificProject() throws Exception {
List<? extends WorkspaceSymbol> symbols = indexer.getAllSymbols("locationPrefix:" + projectUri2);
assertEquals(50, symbols.size());
assertEquals(110, symbols.size());
for (WorkspaceSymbol symbol : symbols) {
assertTrue(symbol.getLocation().getLeft().getUri().startsWith(projectUri2));