summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rss
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-06-05 21:43:29 +0000
committerOlivier Lamy <olamy@apache.org>2012-06-05 21:43:29 +0000
commita1230dc9e73484aeaf6138f2682c295c694927fc (patch)
tree7764808a081825bc2aff5cd6c89c60c89c068abe /archiva-modules/archiva-web/archiva-rss
parentea5ddd09615bd26400024da1b8de70b592391c58 (diff)
downloadarchiva-a1230dc9e73484aeaf6138f2682c295c694927fc.tar.gz
archiva-a1230dc9e73484aeaf6138f2682c295c694927fc.zip
fix test mock compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346610 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/NewArtifactsRssFeedProcessorTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
index 1636f27c7..4fabb5998 100644
--- a/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
+++ b/archiva-modules/archiva-web/archiva-rss/src/test/java/org/apache/archiva/rss/processor/NewArtifactsRssFeedProcessorTest.java
@@ -28,6 +28,7 @@ import org.apache.archiva.metadata.model.ProjectMetadata;
import org.apache.archiva.metadata.model.ProjectVersionMetadata;
import org.apache.archiva.metadata.model.ProjectVersionReference;
import org.apache.archiva.metadata.repository.MetadataRepository;
+import org.apache.archiva.metadata.repository.MetadataRepositoryException;
import org.apache.archiva.metadata.repository.MetadataResolutionException;
import org.apache.archiva.rss.RssFeedGenerator;
import org.junit.Before;
@@ -141,6 +142,13 @@ public class NewArtifactsRssFeedProcessorTest
return artifactsByDateRange;
}
+ public void removeArtifact( String repositoryId, String namespace, String project, String version,
+ MetadataFacet metadataFacet )
+ throws MetadataRepositoryException
+ {
+ throw new UnsupportedOperationException();
+ }
+
public void addMetadataFacet( String arg0, MetadataFacet arg1 )
{
throw new UnsupportedOperationException();