Search in sources :

Example 1 with BundleFrameworkFactory

use of org.apache.aries.application.management.spi.framework.BundleFrameworkFactory in project aries by apache.

the class BundleFrameworkManagerTest method setup.

@Before
public void setup() {
    sut = new BundleFrameworkManagerImpl();
    BundleFrameworkConfigurationFactory bfcf = Skeleton.newMock(BundleFrameworkConfigurationFactory.class);
    sut.setBundleFrameworkConfigurationFactory(bfcf);
    BundleFrameworkFactory bff = Skeleton.newMock(BundleFrameworkFactory.class);
    sut.setBundleFrameworkFactory(bff);
    frameworkFactory = Skeleton.getSkeleton(bff);
    sut.init();
}
Also used : BundleFrameworkFactory(org.apache.aries.application.management.spi.framework.BundleFrameworkFactory) BundleFrameworkConfigurationFactory(org.apache.aries.application.management.spi.framework.BundleFrameworkConfigurationFactory) BundleFrameworkManagerImpl(org.apache.aries.application.runtime.framework.management.BundleFrameworkManagerImpl) Before(org.junit.Before)

Aggregations

BundleFrameworkConfigurationFactory (org.apache.aries.application.management.spi.framework.BundleFrameworkConfigurationFactory)1 BundleFrameworkFactory (org.apache.aries.application.management.spi.framework.BundleFrameworkFactory)1 BundleFrameworkManagerImpl (org.apache.aries.application.runtime.framework.management.BundleFrameworkManagerImpl)1 Before (org.junit.Before)1