Skip to content

Commit

Permalink
[Releng] fixed tests
Browse files Browse the repository at this point in the history
Change-Id: I0000000000000000000000000000000000000000
Signed-off-by: Leif Geiger <leif.geiger@yatta.de>
  • Loading branch information
l3-g5 committed Feb 21, 2024
1 parent 62284ea commit 9c26460
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,16 @@ public void computeRelativeSearchUrl() {
@Test
@org.junit.experimental.categories.Category(RemoteTests.class)
public void search() throws CoreException {
ISearchResult result = search("Tools", "Editor", "jaspersoft");
ISearchResult result = search("Tools", "Editor", "windowbuilder");
assertNotNull(result);
assertNotNull(result.getNodes());
assertEquals(Integer.valueOf(1), result.getMatchCount());
assertEquals(1, result.getNodes().size());
assertEquals(Integer.valueOf(2), result.getMatchCount());
assertEquals(2, result.getNodes().size());

INode node = result.getNodes().get(0);

assertTrue(node.getName().startsWith("Jaspersoft"));
assertEquals("8068", node.getId());
assertTrue(node.getName().startsWith("WindowBuilder"));
assertEquals("3085446", node.getId());
}

@Test
Expand Down

0 comments on commit 9c26460

Please sign in to comment.