From: Martin Stockhammer Date: Sun, 30 May 2021 17:45:57 +0000 (+0200) Subject: Updating test classes for spring 5.3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=85c2d9bd80dad82b9210e267c75171ef6085f6f8;p=archiva.git Updating test classes for spring 5.3 --- 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 @@ -430,6 +430,18 @@ public class RepositoryContentConsumersTest throw new UnsupportedOperationException( "Not supported yet." ); } + @Override + public ObjectProvider getBeanProvider( Class aClass, boolean b ) + { + return null; + } + + @Override + public ObjectProvider getBeanProvider( ResolvableType resolvableType, boolean b ) + { + return null; + } + @Override public String[] getBeanNamesForType( Class type ) { 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 @@ -230,6 +230,18 @@ public class RssFeedServletTest return applicationContext.getBeanDefinitionNames(); } + @Override + public ObjectProvider getBeanProvider( Class aClass, boolean b ) + { + return null; + } + + @Override + public ObjectProvider getBeanProvider( ResolvableType resolvableType, boolean b ) + { + return null; + } + @Override public String[] getBeanNamesForType( Class aClass ) {