From: Olivier Lamy Date: Tue, 11 Oct 2011 11:46:01 +0000 (+0000) Subject: add a method to retrieve all groupIds available in indexs: more tests X-Git-Tag: archiva-1.4-M1~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cbdaacc012df70526b536bc9969fc346d073e548;p=archiva.git add a method to retrieve all groupIds available in indexs: more tests git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181729 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java b/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java index 02c2a8a7a..8e72c5cbe 100644 --- a/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java +++ b/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java @@ -821,5 +821,10 @@ public class NexusRepositorySearchTest archivaConfigControl.verify(); log.info( "groupIds: " + groupIds ); + + assertEquals( 3, groupIds.size() ); + assertTrue( groupIds.contains( "com" )); + assertTrue( groupIds.contains( "org.apache.felix") ); + assertTrue( groupIds.contains( "org.apache.archiva" ) ); } }