]> source.dussan.org Git - archiva.git/commitdiff
add a method to retrieve all groupIds available in indexs: more tests
authorOlivier Lamy <olamy@apache.org>
Tue, 11 Oct 2011 11:46:01 +0000 (11:46 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 11 Oct 2011 11:46:01 +0000 (11:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1181729 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java

index 02c2a8a7ab5ea7b645883bb25ff0cb3f2b750830..8e72c5cbefafb1fb546f85c329358d2c6baf3ae2 100644 (file)
@@ -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" ) );
     }
 }