Package org.apache.felix.cm.integration.helper

Examples of org.apache.felix.cm.integration.helper.ManagedServiceTestActivator


        final Bundle bundleA = installBundle( pid, ManagedServiceTestActivator.class, locationA );
        bundleA.start();
        delay();

        // ==> configuration supplied to the service ms1
        final ManagedServiceTestActivator testerA1 = ManagedServiceTestActivator.INSTANCE;
        TestCase.assertNotNull( testerA1.props );
        TestCase.assertEquals( 1, testerA1.numManagedServiceUpdatedCalls );

        // ==> configuration is dynamically bound to locationA
        TestCase.assertEquals( locationA, config.getBundleLocation() );
View Full Code Here


    bundle = installBundle(pid);
    bundle.start();
    delay();

    // ==> ManagedServiceA is called back.
    final ManagedServiceTestActivator tester = ManagedServiceTestActivator.INSTANCE;
    TestCase.assertNotNull(tester);
    TestCase.assertNotNull(tester.props);
    TestCase.assertEquals(1, tester.numManagedServiceUpdatedCalls);

    // 4. bundleA is stopped but *NOT uninstalled*.
 
View Full Code Here

TOP

Related Classes of org.apache.felix.cm.integration.helper.ManagedServiceTestActivator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.