]> source.dussan.org Git - archiva.git/commitdiff
compilation fix
authorOlivier Lamy <olamy@apache.org>
Wed, 30 Sep 2015 23:41:18 +0000 (09:41 +1000)
committerOlivier Lamy <olamy@apache.org>
Wed, 30 Sep 2015 23:41:18 +0000 (09:41 +1000)
archiva-modules/archiva-web/archiva-web-common/src/test/java/org/apache/archiva/web/rss/RssFeedServletTest.java

index 6ad417ccdeeb12732d571f070ba8dc47b233146a..a68f2f13fb9d530f275d7045598fef4f35686a44 100644 (file)
@@ -39,6 +39,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;
@@ -376,6 +377,25 @@ public class RssFeedServletTest
         {
             return applicationContext.getClassLoader();
         }
+
+        @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;
+        }
     }