aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2011-10-11 11:46:01 +0000
committerOlivier Lamy <olamy@apache.org>2011-10-11 11:46:01 +0000
commitcbdaacc012df70526b536bc9969fc346d073e548 (patch)
tree499d82b1c2149bb4e8bc6af9931f045d3af60c2c /archiva-modules
parent3d268094df1e8046bf46ab08e11b0ba5940a8e4a (diff)
downloadarchiva-cbdaacc012df70526b536bc9969fc346d073e548.tar.gz
archiva-cbdaacc012df70526b536bc9969fc346d073e548.zip
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
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/NexusRepositorySearchTest.java5
1 files changed, 5 insertions, 0 deletions
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" ) );
}
}