diff options
author | Olivier Lamy <olamy@apache.org> | 2011-10-11 11:46:01 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-10-11 11:46:01 +0000 |
commit | cbdaacc012df70526b536bc9969fc346d073e548 (patch) | |
tree | 499d82b1c2149bb4e8bc6af9931f045d3af60c2c /archiva-modules | |
parent | 3d268094df1e8046bf46ab08e11b0ba5940a8e4a (diff) | |
download | archiva-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.java | 5 |
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" ) ); } } |