Package org.apache.felix.ipojo.junit4osgi

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 Test Suite", bc);
        ots.addTestSuite(SimpleDependencies.class);
        ots.addTestSuite(ProxiedSimpleDependencies.class);
        ots.addTestSuite(OptionalDependencies.class);
        ots.addTestSuite(ProxiedOptionalDependencies.class);
        ots.addTestSuite(OptionalNoNullableDependencies.class);
        ots.addTestSuite(MultipleDependencies.class);
        ots.addTestSuite(OptionalMultipleDependencies.class);
        ots.addTestSuite(DelayedSimpleDependencies.class);
        ots.addTestSuite(ProxiedDelayedSimpleDependencies.class);
        ots.addTestSuite(DelayedOptionalDependencies.class);
        ots.addTestSuite(ProxiedDelayedOptionalDependencies.class);
        ots.addTestSuite(DelayedMultipleDependencies.class);
        ots.addTestSuite(ProxiedDelayedMultipleDependencies.class);
        ots.addTestSuite(DelayedOptionalMultipleDependencies.class);
        ots.addTestSuite(ProxiedDelayedOptionalMultipleDependencies.class);
        ots.addTestSuite(MethodSimpleDependencies.class);
        ots.addTestSuite(MethodOptionalDependencies.class);
        ots.addTestSuite(MethodMultipleDependencies.class);
        ots.addTestSuite(MethodOptionalMultipleDependencies.class);
        ots.addTestSuite(MethodDelayedSimpleDependencies.class);
        ots.addTestSuite(MethodDelayedOptionalDependencies.class);
        ots.addTestSuite(MethodDelayedMultipleDependencies.class);
        ots.addTestSuite(MethodDelayedOptionalMultipleDependencies.class);
        ots.addTest(DefaultImplementationTestSuite.suite(bc));
        ots.addTestSuite(DependencyArchitectureTest.class);
        ots.addTestSuite(ListMultipleDependencies.class);
        ots.addTestSuite(ProxiedListMultipleDependencies.class);
        ots.addTestSuite(VectorMultipleDependencies.class);
        ots.addTestSuite(SetMultipleDependencies.class);
        ots.addTestSuite(ProxiedSetMultipleDependencies.class);
        ots.addTestSuite(CollectionMultipleDependencies.class);
        ots.addTestSuite(ProxiedCollectionMultipleDependencies.class);
        ots.addTestSuite(ModifyDependencies.class);
        ots.addTestSuite(ProxyTest.class);
        ots.addTestSuite(NonProxiedNotInterfaceDependencies.class);
        ots.addTestSuite(InnerProxyMixTest.class);
        return ots;
    }
View Full Code Here


import org.osgi.framework.BundleContext;

public class TemporalTestSuite extends TestSuite {

    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("Temporal Dependency Test Suite", bc);
        ots.addTestSuite(NoDelayTest.class);
        ots.addTestSuite(DelayTest.class);
        ots.addTestSuite(NullableTest.class);
        ots.addTestSuite(DefaultImplementationTest.class);
        ots.addTestSuite(NullTest.class);
        ots.addTestSuite(EmptyTest.class);
        ots.addTestSuite(TemporalTest.class);
        return ots;
    }
View Full Code Here

import org.osgi.framework.BundleContext;

public class ExternalHandlerTestSuite extends TestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("External Handler Test Suite", bc);
    ots.addTestSuite(HandlerTest.class);
    ots.addTestSuite(AutoHandlerTest.class);
    return ots;
  }
View Full Code Here

import org.osgi.framework.BundleContext;

public class ManipulationTestSuite {

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

public class ConfigurationTestSuite {
   
    public static long UPDATE_WAIT_TIME = 2000;

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Configuration Admin Test Suite", bc);
      ots.addTestSuite(ManagedServiceFactoryTestForServices.class);
        ots.addTestSuite(ManagedServiceFactoryTestForImmediate.class);
        ots.addTestSuite(ManagedServiceTestForImmediate.class);
        ots.addTestSuite(ManagedServiceTestForService.class);
    return ots;
  }
View Full Code Here

import org.osgi.framework.BundleContext;

public class DefaultImplementationTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Default Implementation Test Suite", bc);
    ots.addTestSuite( OptionalDependencies.class);
        ots.addTestSuite( MethodOptionalDependencies.class);
        ots.addTestSuite( DelayedOptionalDependencies.class);
        ots.addTestSuite( MethodDelayedOptionalDependencies.class);
    return ots;
  }
View Full Code Here

import org.osgi.framework.BundleContext;

public class BadTestSuite {
   
    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("Bad configuration test suite", bc);
        ots.addTestSuite(BadFactories.class);
        ots.addTestSuite(BadLFCController.class);
        ots.addTestSuite(BadLFCCallback.class);
        ots.addTestSuite(BadServiceDependencies.class);
        return ots;
    }
View Full Code Here

import org.osgi.framework.BundleContext;

public class InfrastructureTestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Service Context Infrastructure Test", bc);
    ots.addTestSuite(ServiceRegistryTest.class);
    ots.addTestSuite(EmptyCompositeTest.class);
    ots.addTestSuite(FactoryManagementTest.class);
    ots.addTestSuite(ServiceRangeTest.class);
    return ots;
  }
View Full Code Here

import org.osgi.framework.BundleContext;

public class CompositeTestSuite {
   
    public static Test suite(BundleContext bc) {
        OSGiTestSuite ots = new OSGiTestSuite("iPOJO Composites Test Suite", bc);   
        ots.addTest(InfrastructureTestSuite.suite(bc));
        return ots;
    }
View Full Code Here

import org.osgi.framework.BundleContext;

public class ExportTestSuite extends TestSuite {

  public static Test suite(BundleContext bc) {
    OSGiTestSuite ots = new OSGiTestSuite("Composite Service Exporters Test Suite", bc);
    ots.addTestSuite(SimpleExport.class);
    ots.addTestSuite(OptionalExport.class);
    ots.addTestSuite(MultipleExport.class);
    ots.addTestSuite(OptionalMultipleExport.class);
    ots.addTestSuite(FilteredExport.class);
    ots.setBundleContext(bc);
    return ots;
  }
View Full Code Here

TOP

Related Classes of org.apache.felix.ipojo.junit4osgi.OSGiTestSuite

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.