Search in sources :

Example 1 with ClassBasedModuleFactory

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

the class MockedDependenciesTest method setUp.

@Before
public void setUp() {
    ClassBasedModuleFactory mockedThreadPoolConfigFactory = new ClassBasedModuleFactory(threadPoolImplementationName, MockedThreadPoolModule.class);
    super.initConfigTransactionManagerImpl(new HardcodedModuleFactoriesResolver(mockedContext, new TestingParallelAPSPModuleFactory(), mockedThreadPoolConfigFactory));
}
Also used : TestingParallelAPSPModuleFactory(org.opendaylight.controller.config.manager.testingservices.parallelapsp.TestingParallelAPSPModuleFactory) ClassBasedModuleFactory(org.opendaylight.controller.config.manager.impl.ClassBasedModuleFactory) HardcodedModuleFactoriesResolver(org.opendaylight.controller.config.manager.impl.factoriesresolver.HardcodedModuleFactoriesResolver) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 ClassBasedModuleFactory (org.opendaylight.controller.config.manager.impl.ClassBasedModuleFactory)1 HardcodedModuleFactoriesResolver (org.opendaylight.controller.config.manager.impl.factoriesresolver.HardcodedModuleFactoriesResolver)1 TestingParallelAPSPModuleFactory (org.opendaylight.controller.config.manager.testingservices.parallelapsp.TestingParallelAPSPModuleFactory)1