aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2019-06-28 17:15:21 +0200
committerMartin Stockhammer <martin_s@apache.org>2019-06-28 17:15:21 +0200
commit23099bcb581738f3c9cb13745ae2837eafd77ec6 (patch)
tree6d22a2933e7497f5616bf37cba45dbae8baf7c59 /archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype
parentb48158fdcd72c5f8a9dfc2fd38e2ff60660d6f81 (diff)
downloadarchiva-23099bcb581738f3c9cb13745ae2837eafd77ec6.tar.gz
archiva-23099bcb581738f3c9cb13745ae2837eafd77ec6.zip
Fixing test errors after refactoring
Diffstat (limited to 'archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype')
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/test/java/RepositoryProviderMock.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/test/java/RepositoryProviderMock.java b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/test/java/RepositoryProviderMock.java
index f871fbb89..ea7b0f653 100644
--- a/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/test/java/RepositoryProviderMock.java
+++ b/archiva-modules/archiva-base/archiva-consumers/archiva-consumer-archetype/src/main/resources/archetype-resources/src/test/java/RepositoryProviderMock.java
@@ -21,10 +21,13 @@ package $package;
import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
import org.apache.archiva.configuration.RemoteRepositoryConfiguration;
+import org.apache.archiva.configuration.RepositoryGroupConfiguration;
import org.apache.archiva.repository.BasicManagedRepository;
import org.apache.archiva.repository.BasicRemoteRepository;
import org.apache.archiva.repository.EditableManagedRepository;
import org.apache.archiva.repository.EditableRemoteRepository;
+import org.apache.archiva.repository.RepositoryGroup;
+import org.apache.archiva.repository.EditableRepositoryGroup;
import org.apache.archiva.repository.ManagedRepository;
import org.apache.archiva.repository.PasswordCredentials;
import org.apache.archiva.repository.ReleaseScheme;
@@ -233,4 +236,21 @@ public class RepositoryProviderMock implements RepositoryProvider
public <T> void raise(org.apache.archiva.repository.RepositoryEvent<T> event) {
}
+
+ @Override
+ public RepositoryGroupConfiguration getRepositoryGroupConfiguration(RepositoryGroup repositoryGroup) throws RepositoryException {
+ return null;
+ }
+
+ @Override
+ public RepositoryGroup createRepositoryGroup(RepositoryGroupConfiguration configuration) throws RepositoryException {
+ return null;
+ }
+
+ @Override
+ public void updateRepositoryGroupInstance(EditableRepositoryGroup repositoryGroup, RepositoryGroupConfiguration configuration) throws RepositoryException {
+
+ }
+
+
}