Changes for new spring version

This commit is contained in:
Martin Schreier 2022-01-05 16:13:21 +01:00
parent 79a91fe1ff
commit 23abc20774
3 changed files with 18 additions and 0 deletions

View File

@ -615,6 +615,12 @@ public class RepositoryContentConsumersTest
throw new UnsupportedOperationException( "Not supported yet." ); throw new UnsupportedOperationException( "Not supported yet." );
} }
@Override
public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass, boolean b ) throws NoSuchBeanDefinitionException
{
throw new UnsupportedOperationException( "Not supported yet." );
}
@Override @Override
public Environment getEnvironment() public Environment getEnvironment()
{ {

View File

@ -307,6 +307,12 @@ public class RssFeedServletTest
return applicationContext.findAnnotationOnBean( s, aClass ); return applicationContext.findAnnotationOnBean( s, aClass );
} }
@Override
public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass, boolean b ) throws NoSuchBeanDefinitionException
{
throw new UnsupportedOperationException( "Not implemented yet." );
}
@Override @Override
public Object getBean( String s ) public Object getBean( String s )
throws BeansException throws BeansException

View File

@ -437,6 +437,12 @@ public abstract class AbstractRepositoryServletTestCase
return applicationContext.findAnnotationOnBean( s, aClass ); return applicationContext.findAnnotationOnBean( s, aClass );
} }
@Override
public <A extends Annotation> A findAnnotationOnBean( String s, Class<A> aClass, boolean b ) throws NoSuchBeanDefinitionException
{
throw new UnsupportedOperationException( "No supported yet." );
}
@Override @Override
public <T> T getBean( Class<T> aClass, Object... objects ) public <T> T getBean( Class<T> aClass, Object... objects )
throws BeansException throws BeansException