fixed broken unit test

This commit is contained in:
Alex Huang 2012-08-07 17:37:42 -07:00
parent 95c198f356
commit 57b57703eb
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}