From 85c2d9bd80dad82b9210e267c75171ef6085f6f8 Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Sun, 30 May 2021 19:45:57 +0200 Subject: [PATCH] Updating test classes for spring 5.3 --- .../scanner/RepositoryContentConsumersTest.java | 12 ++++++++++++ .../apache/archiva/web/rss/RssFeedServletTest.java | 12 ++++++++++++ 2 files changed, 24 insertions(+) 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 ) { -- 2.39.5