]> source.dussan.org Git - archiva.git/commitdiff
fix the webapp tests to work with the latest consumers change
authorBrett Porter <brett@apache.org>
Mon, 29 Oct 2007 10:05:50 +0000 (10:05 +0000)
committerBrett Porter <brett@apache.org>
Mon, 29 Oct 2007 10:05:50 +0000 (10:05 +0000)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589567 13f79535-47bb-0310-9956-ffa450edef68

archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java

index 342ed436364b0bf0f7a536f8d1740148c5876bfa..13324f1d3a02e73461991af4421563974cf6d34d 100644 (file)
@@ -1,8 +1,21 @@
 package org.apache.maven.archiva.web.repository;
 
+import org.apache.maven.archiva.consumers.InvalidRepositoryContentConsumer;
+import org.apache.maven.archiva.consumers.KnownRepositoryContentConsumer;
 import org.apache.maven.archiva.repository.scanner.RepositoryContentConsumers;
 
+import java.util.List;
+
 public class StubRepositoryContentConsumers
     extends RepositoryContentConsumers
 {
+    public List<KnownRepositoryContentConsumer> getSelectedKnownConsumers()
+    {
+        return getAvailableKnownConsumers();
+    }
+
+    public synchronized List<InvalidRepositoryContentConsumer> getSelectedInvalidConsumers()
+    {
+        return getAvailableInvalidConsumers();
+    }
 }