fix compilation

This commit is contained in:
Olivier Lamy 2015-09-30 22:26:21 +10:00
parent 4f5c5d6ffd
commit 6484df9d69
1 changed files with 20 additions and 0 deletions

View File

@ -51,6 +51,7 @@ import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.MessageSourceResolvable;
import org.springframework.context.NoSuchMessageException;
import org.springframework.core.ResolvableType;
import org.springframework.core.env.Environment;
import org.springframework.core.io.Resource;
import org.springframework.mock.web.MockHttpServletRequest;
@ -425,6 +426,25 @@ public abstract class AbstractRepositoryServletTestCase
return applicationContext.getResources( s );
}
@Override
public void publishEvent( Object o )
{
// no op
}
@Override
public String[] getBeanNamesForType( ResolvableType resolvableType )
{
return new String[0];
}
@Override
public boolean isTypeMatch( String s, ResolvableType resolvableType )
throws NoSuchBeanDefinitionException
{
return false;
}
@Override
public Resource getResource( String s )
{