aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-web/archiva-security
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-10-29 21:07:41 +0000
committerOlivier Lamy <olamy@apache.org>2012-10-29 21:07:41 +0000
commitf1fa84d08c28681947a86d8e17c0da1e4519664a (patch)
treef89f7c4609d9b82017b468e3b3249e1cfc1852c9 /archiva-modules/archiva-web/archiva-security
parent28e8bdefd242aa07d23e67714b6b626180bb079a (diff)
downloadarchiva-f1fa84d08c28681947a86d8e17c0da1e4519664a.tar.gz
archiva-f1fa84d08c28681947a86d8e17c0da1e4519664a.zip
use an other name as we implement more interfaces here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403530 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-security')
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java (renamed from archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockRepositoryStorage.java)2
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockRepositoryStorage.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java
index 36ed52a6f..f3d0054cc 100644
--- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockRepositoryStorage.java
+++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/mock/MockBeanServices.java
@@ -43,7 +43,7 @@ import java.util.Collection;
/**
* @author Olivier Lamy
*/
-public class MockRepositoryStorage
+public class MockBeanServices
implements RepositoryStorage, RepositoryListener, RepositoryArchivaTaskScheduler
{
public ProjectMetadata readProjectMetadata( String repoId, String namespace, String projectId )
diff --git a/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml b/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml
index 9b39e5c5c..fabeb8263 100644
--- a/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml
+++ b/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml
@@ -101,9 +101,9 @@
</property>
</bean>
- <bean name="repositoryStorage#maven2" class="org.apache.archiva.security.mock.MockRepositoryStorage"/>
+ <bean name="repositoryStorage#maven2" class="org.apache.archiva.security.mock.MockBeanServices"/>
- <bean name="archivaTaskScheduler#repository" class="org.apache.archiva.security.mock.MockRepositoryStorage"/>
+ <bean name="archivaTaskScheduler#repository" class="org.apache.archiva.security.mock.MockBeanServices"/>
<bean name="scheduler" class="org.apache.archiva.redback.components.scheduler.DefaultScheduler">
<property name="properties">