aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-repository-scanner
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2020-06-27 20:53:27 +0200
committerMartin Stockhammer <martin_s@apache.org>2020-06-27 20:53:27 +0200
commitec0ecb744bc0da37731a3d82c01c93af49c8e088 (patch)
treef8146533dcd7b46ab70e14d0d389bb586bf7781c /archiva-modules/archiva-base/archiva-repository-scanner
parentb0e52ea61ac37d15d86c5750a0db1f5198cdd645 (diff)
downloadarchiva-ec0ecb744bc0da37731a3d82c01c93af49c8e088.tar.gz
archiva-ec0ecb744bc0da37731a3d82c01c93af49c8e088.zip
Switch to spring 5.2
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-scanner')
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
index ae39199fa..ab245e453 100644
--- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
+++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java
@@ -35,6 +35,7 @@ import org.junit.runner.RunWith;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
+import org.springframework.beans.factory.ObjectProvider;
import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;
@@ -448,6 +449,18 @@ public class RepositoryContentConsumersTest
throw new UnsupportedOperationException( "Not supported yet." );
}
+ @Override
+ public <T> ObjectProvider<T> getBeanProvider( Class<T> aClass )
+ {
+ return null;
+ }
+
+ @Override
+ public <T> ObjectProvider<T> getBeanProvider( ResolvableType resolvableType )
+ {
+ return null;
+ }
+
@SuppressWarnings( "unchecked" )
@Override
public <T> Map<String, T> getBeansOfType( Class<T> type )
@@ -513,6 +526,12 @@ public class RepositoryContentConsumersTest
}
@Override
+ public Class<?> getType( String s, boolean b ) throws NoSuchBeanDefinitionException
+ {
+ return null;
+ }
+
+ @Override
public boolean isPrototype( String name )
throws NoSuchBeanDefinitionException
{
@@ -635,6 +654,12 @@ public class RepositoryContentConsumersTest
}
@Override
+ public String[] getBeanNamesForType( ResolvableType resolvableType, boolean b, boolean b1 )
+ {
+ return new String[0];
+ }
+
+ @Override
public boolean isTypeMatch( String s, ResolvableType resolvableType )
throws NoSuchBeanDefinitionException
{