cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muralire...@apache.org
Subject git commit: updated refs/heads/master to 794b38a
Date Fri, 14 Mar 2014 11:49:54 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 7d20b08aa -> 794b38a78


fix unit-test failure


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/794b38a7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/794b38a7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/794b38a7

Branch: refs/heads/master
Commit: 794b38a789a68e539dbecfc76bc861e959730411
Parents: 7d20b08
Author: Murali Reddy <muralimmreddy@gmail.com>
Authored: Fri Mar 14 17:19:27 2014 +0530
Committer: Murali Reddy <muralimmreddy@gmail.com>
Committed: Fri Mar 14 17:19:27 2014 +0530

----------------------------------------------------------------------
 server/test/com/cloud/vpc/NetworkACLManagerTest.java | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/794b38a7/server/test/com/cloud/vpc/NetworkACLManagerTest.java
----------------------------------------------------------------------
diff --git a/server/test/com/cloud/vpc/NetworkACLManagerTest.java b/server/test/com/cloud/vpc/NetworkACLManagerTest.java
index f812a55..ff38b5e 100644
--- a/server/test/com/cloud/vpc/NetworkACLManagerTest.java
+++ b/server/test/com/cloud/vpc/NetworkACLManagerTest.java
@@ -26,6 +26,7 @@ import junit.framework.TestCase;
 
 import org.apache.cloudstack.context.CallContext;
 import org.apache.cloudstack.engine.orchestration.service.NetworkOrchestrationService;
+import org.apache.cloudstack.framework.messagebus.MessageBus;
 import org.apache.cloudstack.test.utils.SpringUtils;
 import org.junit.After;
 import org.junit.Before;
@@ -308,6 +309,11 @@ public class NetworkACLManagerTest extends TestCase {
             return Mockito.mock(VpcService.class);
         }
 
+        @Bean
+        public MessageBus messageBus() {
+            return Mockito.mock(MessageBus.class);
+        }
+
         public static class Library implements TypeFilter {
             @Override
             public boolean match(MetadataReader mdr, MetadataReaderFactory arg1) throws IOException
{


Mime
View raw message