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 getSelectedKnownConsumers() + { + return getAvailableKnownConsumers(); + } + + public synchronized List getSelectedInvalidConsumers() + { + return getAvailableInvalidConsumers(); + } }