summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java b/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java
index 342ed4363..13324f1d3 100644
--- a/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java
+++ b/archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java
@@ -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();
+ }
}