archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject archiva git commit: fix compilation
Date Wed, 30 Sep 2015 12:26:31 GMT
Repository: archiva
Updated Branches:
  refs/heads/master 4f5c5d6ff -> 6484df9d6


fix compilation


Project: http://git-wip-us.apache.org/repos/asf/archiva/repo
Commit: http://git-wip-us.apache.org/repos/asf/archiva/commit/6484df9d
Tree: http://git-wip-us.apache.org/repos/asf/archiva/tree/6484df9d
Diff: http://git-wip-us.apache.org/repos/asf/archiva/diff/6484df9d

Branch: refs/heads/master
Commit: 6484df9d69b4e359f6fa43af8f6d898ab33d9801
Parents: 4f5c5d6
Author: Olivier Lamy <olamy@apache.org>
Authored: Wed Sep 30 22:26:21 2015 +1000
Committer: Olivier Lamy <olamy@apache.org>
Committed: Wed Sep 30 22:26:21 2015 +1000

----------------------------------------------------------------------
 .../AbstractRepositoryServletTestCase.java      | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/archiva/blob/6484df9d/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/AbstractRepositoryServletTestCase.java
----------------------------------------------------------------------
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 9b7ae90..68b0535 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 );


Mime
View raw message