Search in sources :

Example 1 with ModuleInternalInfo

use of org.opendaylight.controller.config.manager.impl.ModuleInternalInfo in project controller by opendaylight.

the class DependencyResolverManagerTest method mockGetInstance.

private static void mockGetInstance(final DependencyResolverManager tested, final ModuleIdentifier moduleIdentifier) {
    ModuleFactory moduleFactory = mock(ModuleFactory.class);
    ModuleInternalInfo maybeOldInternalInfo = null;
    TransactionModuleJMXRegistration transactionModuleJMXRegistration = null;
    boolean isDefaultBean = false;
    tested.put(moduleIdentifier, mockedModule(), moduleFactory, maybeOldInternalInfo, transactionModuleJMXRegistration, isDefaultBean, mock(BundleContext.class));
}
Also used : ModuleFactory(org.opendaylight.controller.config.spi.ModuleFactory) TransactionModuleJMXRegistration(org.opendaylight.controller.config.manager.impl.jmx.TransactionModuleJMXRegistrator.TransactionModuleJMXRegistration) ModuleInternalInfo(org.opendaylight.controller.config.manager.impl.ModuleInternalInfo) BundleContext(org.osgi.framework.BundleContext)

Aggregations

ModuleInternalInfo (org.opendaylight.controller.config.manager.impl.ModuleInternalInfo)1 TransactionModuleJMXRegistration (org.opendaylight.controller.config.manager.impl.jmx.TransactionModuleJMXRegistrator.TransactionModuleJMXRegistration)1 ModuleFactory (org.opendaylight.controller.config.spi.ModuleFactory)1 BundleContext (org.osgi.framework.BundleContext)1