diff options
author | Brett Porter <brett@apache.org> | 2007-10-29 10:05:50 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2007-10-29 10:05:50 +0000 |
commit | 14b91e96be01ceb6c255708419195fc3cfff92b0 (patch) | |
tree | ab652bf3a91a3df743697453069c56fbee9d43c4 | |
parent | b2c335626a4df68de2771dd1423a9a2bac8b74df (diff) | |
download | archiva-14b91e96be01ceb6c255708419195fc3cfff92b0.tar.gz archiva-14b91e96be01ceb6c255708419195fc3cfff92b0.zip |
fix the webapp tests to work with the latest consumers change
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589567 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | archiva-web/archiva-webapp/src/test/java/org/apache/maven/archiva/web/repository/StubRepositoryContentConsumers.java | 13 |
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(); + } } |