You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/06/12 23:08:33 UTC
git commit: updated refs/heads/object_store to 1b90546
Updated Branches:
refs/heads/object_store 18aeef3ef -> 1b905463c
Fix vmware plugin unit testcase failure.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1b905463
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1b905463
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1b905463
Branch: refs/heads/object_store
Commit: 1b905463c8697f1c0552c288ee136cd2316a8f2a
Parents: 18aeef3
Author: Min Chen <mi...@citrix.com>
Authored: Wed Jun 12 13:54:56 2013 -0700
Committer: Min Chen <mi...@citrix.com>
Committed: Wed Jun 12 13:54:56 2013 -0700
----------------------------------------------------------------------
.../cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1b905463/plugins/hypervisors/vmware/test/com/cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/test/com/cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java b/plugins/hypervisors/vmware/test/com/cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java
index de08c93..d79d41e 100644
--- a/plugins/hypervisors/vmware/test/com/cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java
+++ b/plugins/hypervisors/vmware/test/com/cloud/hypervisor/vmware/VmwareDatacenterApiUnitTest.java
@@ -32,6 +32,7 @@ import junit.framework.TestCase;
import org.apache.cloudstack.api.command.admin.zone.AddVmwareDcCmd;
import org.apache.cloudstack.api.command.admin.zone.RemoveVmwareDcCmd;
+import org.apache.cloudstack.engine.subsystem.api.storage.DataStoreManager;
import org.apache.cloudstack.test.utils.SpringUtils;
import org.junit.Before;
import org.junit.BeforeClass;
@@ -414,6 +415,10 @@ public class VmwareDatacenterApiUnitTest {
return Mockito.mock(RemoveVmwareDcCmd.class);
}
+ @Bean
+ public DataStoreManager dataStoreManager() {
+ return Mockito.mock(DataStoreManager.class);
+ }
public static class Library implements TypeFilter {
@Override