Search in sources :

Example 1 with ModellingManager

use of org.apache.aries.application.modelling.ModellingManager in project aries by apache.

the class DeploymentGeneratorTest method classSetup.

@BeforeClass
public static void classSetup() throws Exception {
    BundleContext bc = Skeleton.newMock(BundleContext.class);
    bc.registerService(AriesApplicationResolver.class.getName(), _resolver, new Hashtable<String, String>());
    bc.registerService(ModellingManager.class.getName(), modellingManager, new Hashtable<String, String>());
    bc.registerService(ModellingHelper.class.getName(), modellingHelper, new Hashtable<String, String>());
}
Also used : ModellingHelper(org.apache.aries.application.modelling.utils.ModellingHelper) AriesApplicationResolver(org.apache.aries.application.management.spi.resolve.AriesApplicationResolver) ModellingManager(org.apache.aries.application.modelling.ModellingManager) BundleContext(org.osgi.framework.BundleContext) BeforeClass(org.junit.BeforeClass)

Aggregations

AriesApplicationResolver (org.apache.aries.application.management.spi.resolve.AriesApplicationResolver)1 ModellingManager (org.apache.aries.application.modelling.ModellingManager)1 ModellingHelper (org.apache.aries.application.modelling.utils.ModellingHelper)1 BeforeClass (org.junit.BeforeClass)1 BundleContext (org.osgi.framework.BundleContext)1