fixed broken unit test

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

Branch: refs/heads/vpc
Commit: 57b57703eb7693bbefddb951ea16dff5d69c1624
Parents: 95c198f
Author: Alex Huang <[email protected]>
Authored: Tue Aug 7 17:37:42 2012 -0700
Committer: Alex Huang <[email protected]>
Committed: Tue Aug 7 17:38:05 2012 -0700

----------------------------------------------------------------------
 .../utils/component/MockComponentLocator.java      |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/57b57703/utils/test/com/cloud/utils/component/MockComponentLocator.java
----------------------------------------------------------------------
diff --git a/utils/test/com/cloud/utils/component/MockComponentLocator.java 
b/utils/test/com/cloud/utils/component/MockComponentLocator.java
index b7e22f2..f7adf06 100755
--- a/utils/test/com/cloud/utils/component/MockComponentLocator.java
+++ b/utils/test/com/cloud/utils/component/MockComponentLocator.java
@@ -67,11 +67,13 @@ public class MockComponentLocator extends ComponentLocator {
         _managerMap = new LinkedHashMap<String, ComponentInfo<Manager>>();
         _checkerMap = new LinkedHashMap<String, 
ComponentInfo<SystemIntegrityChecker>>();
         _adapterMap = new HashMap<String, Adapters<? extends Adapter>>();
+        _pluginsMap = new HashMap<String, ComponentInfo<PluggableService>>();
         _factories = new HashMap<Class<?>, Class<?>>();
         _daoMap.putAll(_library.getDaos());
         _managerMap.putAll(_library.getManagers());
         result.second().putAll(_library.getAdapters());
         _factories.putAll(_library.getFactories());
+        _pluginsMap.putAll(_library.getPluggableServices());
         return result;
     } 
 

Reply via email to