aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-09-06 12:39:14 +0000
committerOlivier Lamy <olamy@apache.org>2012-09-06 12:39:14 +0000
commit2e95b7d4ba9c9fabf66ba0940790b49273321b28 (patch)
tree4f53759e1cac3c746fa18d9a46c74adbb047b68b /archiva-modules/archiva-base
parent9916e669968f8895ef2733d58c9e5da1cfe9ba51 (diff)
downloadarchiva-2e95b7d4ba9c9fabf66ba0940790b49273321b28.tar.gz
archiva-2e95b7d4ba9c9fabf66ba0940790b49273321b28.zip
fix mocks compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381582 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java6
-rw-r--r--archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/mock/MockRepositorySessionFactory.java6
-rw-r--r--archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java6
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/mock/MockRepositorySessionFactory.java6
4 files changed, 24 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
index dd48e5cdb..b3effd9c9 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
@@ -195,4 +195,10 @@ public class TestMetadataRepository
{
throw new UnsupportedOperationException();
}
+
+ public void removeNamespace( String repositoryId, String namespace )
+ throws MetadataRepositoryException
+ {
+
+ }
}
diff --git a/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/mock/MockRepositorySessionFactory.java b/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/mock/MockRepositorySessionFactory.java
index 93323f0cc..cdaee822e 100644
--- a/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/mock/MockRepositorySessionFactory.java
+++ b/archiva-modules/archiva-base/archiva-indexer/src/test/java/org/apache/archiva/indexer/search/mock/MockRepositorySessionFactory.java
@@ -254,6 +254,12 @@ public class MockRepositorySessionFactory
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
+
+ public void removeNamespace( String repositoryId, String namespace )
+ throws MetadataRepositoryException
+ {
+
+ }
};
}
};
diff --git a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
index a3a9f3585..cfc5a9732 100644
--- a/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
+++ b/archiva-modules/archiva-base/archiva-proxy/src/test/java/org/apache/archiva/metadata/repository/TestMetadataRepository.java
@@ -200,4 +200,10 @@ public class TestMetadataRepository
{
throw new UnsupportedOperationException();
}
+
+ public void removeNamespace( String repositoryId, String namespace )
+ throws MetadataRepositoryException
+ {
+
+ }
}
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/mock/MockRepositorySessionFactory.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/mock/MockRepositorySessionFactory.java
index c40dbd836..9be74fa74 100644
--- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/mock/MockRepositorySessionFactory.java
+++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/java/org/apache/archiva/admin/mock/MockRepositorySessionFactory.java
@@ -254,6 +254,12 @@ public class MockRepositorySessionFactory
{
return null; //To change body of implemented methods use File | Settings | File Templates.
}
+
+ public void removeNamespace( String repositoryId, String namespace )
+ throws MetadataRepositoryException
+ {
+
+ }
};
}
};