summaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-rss
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2010-12-29 13:02:59 +0000
committerBrett Porter <brett@apache.org>2010-12-29 13:02:59 +0000
commit6ff91471395b21d91fd553faa6103e9adf55a92d (patch)
tree3b15434561f76347435214dced2658bec66b2792 /archiva-modules/archiva-web/archiva-rss
parent2700c684dd57df0c31ccd768e42e4334da196919 (diff)
downloadarchiva-6ff91471395b21d91fd553faa6103e9adf55a92d.tar.gz
archiva-6ff91471395b21d91fd553faa6103e9adf55a92d.zip
[MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 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.java16
1 files changed, 16 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 f221ee5ee..96a87e09f 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
@@ -117,6 +117,7 @@ public class NewArtifactsRssFeedProcessorTest
return artifact;
}
+ // TODO: replace with mockito
private class MetadataRepositoryMock
implements MetadataRepository
{
@@ -215,6 +216,21 @@ public class NewArtifactsRssFeedProcessorTest
throw new UnsupportedOperationException();
}
+ public void save()
+ {
+ throw new UnsupportedOperationException();
+ }
+
+ public void close()
+ {
+ throw new UnsupportedOperationException();
+ }
+
+ public void revert()
+ {
+ throw new UnsupportedOperationException();
+ }
+
public Collection<String> getNamespaces( String arg0, String arg1 )
{
throw new UnsupportedOperationException();