diff options
author | Olivier Lamy <olamy@apache.org> | 2015-09-30 22:26:21 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2015-09-30 22:26:21 +1000 |
commit | 6484df9d69b4e359f6fa43af8f6d898ab33d9801 (patch) | |
tree | 8b29745eeeadb75ba14a18fdbbb54fc44c30c828 /archiva-modules/archiva-web | |
parent | 4f5c5d6ffd572cda871ab54d55a1e8684fe93822 (diff) | |
download | archiva-6484df9d69b4e359f6fa43af8f6d898ab33d9801.tar.gz archiva-6484df9d69b4e359f6fa43af8f6d898ab33d9801.zip |
fix compilation
Diffstat (limited to 'archiva-modules/archiva-web')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java index 9b7ae9068..68b0535dc 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java @@ -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; @@ -426,6 +427,25 @@ public abstract class AbstractRepositoryServletTestCase } @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 ) { return applicationContext.getResource( s ); |