aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Stockhammer <martin_s@apache.org>2021-05-30 19:45:57 +0200
committerMartin Stockhammer <martin_s@apache.org>2021-05-30 19:45:57 +0200
commit85c2d9bd80dad82b9210e267c75171ef6085f6f8 (patch)
tree39d256d4d7ac6615485763d03a580c11d480f497
parent79c61a7c6a63be33a2221a0bd75fdfea7f6b1bf6 (diff)
downloadarchiva-85c2d9bd80dad82b9210e267c75171ef6085f6f8.tar.gz
archiva-85c2d9bd80dad82b9210e267c75171ef6085f6f8.zip
Updating test classes for spring 5.3
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/java/org/apache/archiva/repository/scanner/RepositoryContentConsumersTest.java12
-rw-r--r--archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java12
2 files changed, 24 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 ab245e453..adb5cb0ca 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
@@ -431,6 +431,18 @@ public class RepositoryContentConsumersTest
}
@Override
+ public <T> ObjectProvider<T> getBeanProvider( Class<T> aClass, boolean b )
+ {
+ return null;
+ }
+
+ @Override
+ public <T> ObjectProvider<T> getBeanProvider( ResolvableType resolvableType, boolean b )
+ {
+ return null;
+ }
+
+ @Override
public String[] getBeanNamesForType( Class type )
{
throw new UnsupportedOperationException( "Not supported yet." );
diff --git a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java
index daae4c783..a012a5388 100644
--- a/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java
+++ b/archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java
@@ -231,6 +231,18 @@ public class RssFeedServletTest
}
@Override
+ public <T> ObjectProvider<T> getBeanProvider( Class<T> aClass, boolean b )
+ {
+ return null;
+ }
+
+ @Override
+ public <T> ObjectProvider<T> getBeanProvider( ResolvableType resolvableType, boolean b )
+ {
+ return null;
+ }
+
+ @Override
public String[] getBeanNamesForType( Class<?> aClass )
{
return applicationContext.getBeanNamesForType( aClass );