Skip to content

Commit 57b5770

Browse files
author
Alex Huang
committed
fixed broken unit test
1 parent 95c198f commit 57b5770

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

utils/test/com/cloud/utils/component/MockComponentLocator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ protected Pair<XmlHandler, HashMap<String, List<ComponentInfo<Adapter>>>> parse2
6767
_managerMap = new LinkedHashMap<String, ComponentInfo<Manager>>();
6868
_checkerMap = new LinkedHashMap<String, ComponentInfo<SystemIntegrityChecker>>();
6969
_adapterMap = new HashMap<String, Adapters<? extends Adapter>>();
70+
_pluginsMap = new HashMap<String, ComponentInfo<PluggableService>>();
7071
_factories = new HashMap<Class<?>, Class<?>>();
7172
_daoMap.putAll(_library.getDaos());
7273
_managerMap.putAll(_library.getManagers());
7374
result.second().putAll(_library.getAdapters());
7475
_factories.putAll(_library.getFactories());
76+
_pluginsMap.putAll(_library.getPluggableServices());
7577
return result;
7678
}
7779

0 commit comments

Comments
 (0)