archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1181729 - /archiva/trunk/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java
Date Tue, 11 Oct 2011 11:46:02 GMT
Author: olamy
Date: Tue Oct 11 11:46:01 2011
New Revision: 1181729

URL: http://svn.apache.org/viewvc?rev=1181729&view=rev
Log:
 add a method to retrieve all groupIds available in indexs: more tests

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

Modified: archiva/trunk/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java?rev=1181729&r1=1181728&r2=1181729&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java
Tue Oct 11 11:46:01 2011
@@ -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" ) );
     }
 }



Mime
View raw message