diff options
author | Olivier Lamy <olamy@apache.org> | 2013-11-13 06:33:14 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-11-13 06:33:14 +0000 |
commit | 402f10c84133ca2cfbfc612255551b7c88791e32 (patch) | |
tree | bcdd1531f49e19b7b6982b27eeb5ab9b5e04ddf1 /archiva-modules/archiva-web/archiva-rss | |
parent | ab6f5bde33f4ab6899557733fac009497053952e (diff) | |
download | archiva-402f10c84133ca2cfbfc612255551b7c88791e32.tar.gz archiva-402f10c84133ca2cfbfc612255551b7c88791e32.zip |
code cleanup comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1541400 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rss')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java index bd1ee6770..45d07e897 100644 --- a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java +++ b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewVersionsOfArtifactRssFeedProcessorTest.java @@ -88,27 +88,13 @@ public class NewVersionsOfArtifactRssFeedProcessorTest reqParams.put( RssFeedProcessor.KEY_GROUP_ID, GROUP_ID ); reqParams.put( RssFeedProcessor.KEY_ARTIFACT_ID, ARTIFACT_ID ); - //metadataRepositoryControl.expectAndReturn( metadataRepository.getRepositories(), Collections.singletonList( - // TEST_REPO ) ); expect( metadataRepository.getRepositories() ).andReturn( Collections.singletonList( TEST_REPO ) ); - //metadataRepositoryControl.expectAndReturn( metadataRepository.getProjectVersions( TEST_REPO, GROUP_ID, - // ARTIFACT_ID ), Arrays.asList( - // "1.0.1", "1.0.2", "1.0.3-SNAPSHOT" ) ); expect( metadataRepository.getProjectVersions( TEST_REPO, GROUP_ID, ARTIFACT_ID ) ).andReturn( Arrays.asList( "1.0.1", "1.0.2", "1.0.3-SNAPSHOT" ) ); - //metadataRepositoryControl.expectAndReturn( metadataRepository.getArtifacts( TEST_REPO, GROUP_ID, ARTIFACT_ID, - // "1.0.1" ), - // Collections.singletonList( artifact1 ) ); expect( metadataRepository.getArtifacts( TEST_REPO, GROUP_ID, ARTIFACT_ID, "1.0.1" ) ).andReturn( Collections.singletonList( artifact1 ) ); - //metadataRepositoryControl.expectAndReturn( metadataRepository.getArtifacts( TEST_REPO, GROUP_ID, ARTIFACT_ID, - // "1.0.2" ), - // Collections.singletonList( artifact2 ) ); expect( metadataRepository.getArtifacts( TEST_REPO, GROUP_ID, ARTIFACT_ID, "1.0.2" ) ).andReturn( Collections.singletonList( artifact2 ) ); - //metadataRepositoryControl.expectAndReturn( metadataRepository.getArtifacts( TEST_REPO, GROUP_ID, ARTIFACT_ID, - // "1.0.3-SNAPSHOT" ), - // Collections.singletonList( artifact3 ) ); expect( metadataRepository.getArtifacts( TEST_REPO, GROUP_ID, ARTIFACT_ID, "1.0.3-SNAPSHOT" ) ).andReturn( Collections.singletonList( artifact3 ) ); metadataRepositoryControl.replay(); |