Examples of OSGiTestSuite


Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

public class LifeCycleCallbackTest extends TestSuite {
   

    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("Lifecycle callbacks Test Suite", bc);
        ots.addTestSuite(CallbackTestCase.class);
        ots.addTestSuite(ParentCallbackTestCase.class);
        ots.addTestSuite(ImmediateCallbackTest.class);
        ots.addTestSuite(ImmediateCallbackSingletonFactoryTest.class);
        ots.addTestSuite(ImmediateCallbackSeveralFactoryTest.class);
        ots.addTestSuite(ErrorCallbackTestCase.class);
        return ots;
    }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class ManipulationTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Primitive Manipulation Test Suite", bc);
    ots.addTestSuite(PrimitiveTypeTest.class);
    ots.addTestSuite(PrimitiveTypeTest2.class);
    return ots;
  }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class ProvidedServiceStrategyTestSuite extends TestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Provided Service Strategy Test Suite", bc);
    ots.addTestSuite(PerInstanceStrategyTest.class);
    ots.addTestSuite(CustomStrategyTest.class);
    return ots;
  }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class ManipulationTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Manipulation Creation Test Suite", bc);
        ots.addTestSuite(POJOCreation.class);
        ots.addTestSuite(SeveralConstructorTest.class);
    return ots;
  }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class StaticDependencyTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Static Dependency Test Suite", bc);
    ots.addTestSuite( SimpleDependencies.class);
    ots.addTestSuite( OptionalDependencies.class);
    ots.addTestSuite( MultipleDependencies.class);
    ots.addTestSuite( MethodSimpleDependencies.class);
        ots.addTestSuite( MethodOptionalDependencies.class);
    return ots;
  }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class FilteredDependencyTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("iPOJO Filtered Service Dependency Test Suite", bc);
     ots.addTestSuite(SimpleFilterDependencies.class);
          ots.addTestSuite(OptionalSimpleFilterDependencies.class);
          ots.addTestSuite(MultipleFilterDependencies.class);
          ots.addTestSuite(OptionalMultipleFilterDependencies.class);
          ots.addTestSuite(FromDependencies.class);
    return ots;
  }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class ProvidedServiceTestSuite extends TestSuite {

    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("Provided Service Test Suite", bc);
        ots.addTestSuite(Exposition.class);
        ots.addTestSuite(SimplePS.class);
        ots.addTestSuite(StaticProps.class);
        ots.addTestSuite(DynamicProps.class);
        ots.addTestSuite(StaticPropsReconfiguration.class);
        ots.addTestSuite(DynamicPropsReconfiguration.class);
        ots.addTestSuite(InheritedTest.class);
        ots.addTestSuite(ProvidedServiceArchitectureTest.class);
        ots.addTestSuite(ClassTest.class);
        ots.addTestSuite(OSGiPropertiesTest.class);
        ots.addTestSuite(NullCheck.class);
        ots.addTestSuite(ServiceControllerTest.class);
        ots.addTestSuite(PropertiesInAnonymousClassTest.class);
        ots.addTestSuite(CallbacksTest.class);
        return ots;
    }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class AnnotationsTestSuite extends TestSuite {

    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("Annotations Test Suite", bc);
        ots.addTestSuite(ServiceProdiving.class);
        ots.addTestSuite(LifecycleController.class);
        ots.addTestSuite(LifecycleCallbacks.class);
        ots.addTestSuite(Properties.class);
        ots.addTestSuite(Architecture.class);
        ots.addTestSuite(Factory.class);
        ots.addTestSuite(Dependency.class);
        ots.addTestSuite(OptionalDependency.class);
        ots.addTestSuite(AggregateDependency.class);
        ots.addTestSuite(PolicyDependency.class);
        ots.addTestSuite(FilteredDependency.class);
        ots.addTestSuite(RankedDependency.class);

        // External handler annotations
        ots.addTestSuite(TemporalDependencies.class);
        ots.addTestSuite(JMX.class);
        ots.addTestSuite(WhiteBoard.class);
        ots.addTestSuite(Extender.class);
        ots.addTestSuite(EventAdmin.class);

        // Instantiate
        ots.addTestSuite(Instantiate.class);

        return ots;
    }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

     * @param bc
     *            the OSGi bundle context
     * @return the Event Admin Handler test suite.
     */
    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("Event Admin Handler test suite",
                bc);
        ots.addTestSuite(BadTests.class);
        ots.addTestSuite(GoodTests.class);
        ots.addTestSuite(GoodTestsWithNewAttributes.class);
        ots.addTestSuite(PublishesTests.class);
        return ots;
    }
View Full Code Here

Examples of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

import org.osgi.framework.BundleContext;

public class DependencyTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Service Dependencies (Binding Policy) Test Suite", bc);
        ots.addTest(StaticDependencyTestSuite.suite(bc));
        ots.addTest(DynamicPriorityDependencyTestSuite.suite(bc));
    return ots;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.