]> source.dussan.org Git - archiva.git/commitdiff
fix compilation
authorOlivier Lamy <olamy@apache.org>
Wed, 30 Sep 2015 12:26:21 +0000 (22:26 +1000)
committerOlivier Lamy <olamy@apache.org>
Wed, 30 Sep 2015 12:26:21 +0000 (22:26 +1000)
archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java

index 9b7ae90680b796c3225a5d1e4aa573ba974213aa..68b0535dc7ae2bd7b94b0e0822c157f2c2fd358a 100644 (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 )
         {