Package org.apache.openejb.test

Examples of org.apache.openejb.test.FilteredTestSuite


    public ServletTestSuite(String name) {
        super(name);
    }

    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new AnnotatedServletTests());
        suite.addTest(new EjbServletTests());
        suite.addTest(new WebserviceServletTests());
        return suite;
    }
View Full Code Here


    public SingletonLocalTestSuite(String name) {
        super(name);
    }

    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new SingletonJndiTests());
        suite.addTest(new SingletonPojoLocalJndiTests());

        suite.addTest(new SingletonHomeIntfcTests());
        suite.addTest(new SingletonPojoLocalHomeIntfcTests());

        suite.addTest(new SingletonEjbHomeTests());
        suite.addTest(new SingletonPojoEjbLocalHomeTests());

        suite.addTest(new SingletonEjbObjectTests());
        suite.addTest(new SingletonPojoEjbLocalObjectTests());

        suite.addTest(new SingletonRemoteIntfcTests());
        suite.addTest(new SingletonLocalIntfcTests());
        suite.addTest(new SingletonLocalBusinessIntfcTests());
        suite.addTest(new SingletonRemoteBusinessIntfcTests());

        suite.addTest(new SingletonHomeHandleTests());
        suite.addTest(new SingletonHandleTests());

        suite.addTest(new SingletonEjbMetaDataTests());
        suite.addTest(new SingletonAllowedOperationsTests());
        suite.addTest(new BMTSingletonAllowedOperationsTests());
        suite.addTest(new SingletonBeanTxTests());
        suite.addTest(new SingletonJndiEncTests());
        suite.addTest(new SingletonContextLookupTests());
        suite.addTest(new SingletonPojoContextLookupTests());
        suite.addTest(new SingletonFieldInjectionTests());
        suite.addTest(new SingletonSetterInjectionTests());
        suite.addTest(new SingletonAnnotatedFieldInjectionTests());
        suite.addTest(new SingletonRmiIiopTests());
        suite.addTest(new MiscEjbTests());
        suite.addTest(new SingletonInterceptorTests());
        suite.addTest(new SingletonDefaultInterceptorTests());
        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionSingletonPojoLocalHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionSingletonPojoLocalHomeIntfcTests());

        /* TO DO
        suite.addTest(new SingletonEjbContextTests());
        suite.addTest(new BMTSingletonEjbContextTests());
        suite.addTest(new BMTSingletonEncTests());
View Full Code Here

    public ServletTestSuite(String name) {
        super(name);
    }

    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new AnnotatedServletTests());
        suite.addTest(new EjbServletTests());
        suite.addTest(new SecureServletTests());
        suite.addTest(new RunAsServletTests());
        suite.addTest(new WebserviceServletTests());
        return suite;
    }
View Full Code Here

        super(name);
    }


    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new SingletonJndiTests());
        suite.addTest(new SingletonPojoRemoteJndiTests());

        // Test home interfaces
        suite.addTest(new SingletonHomeIntfcTests());
        suite.addTest(new SingletonPojoHomeIntfcTests());

        // EJBHome tests
        suite.addTest(new SingletonEjbHomeTests());
        suite.addTest(new SingletonPojoEjbHomeTests());

        // EJBObject tests
        suite.addTest(new SingletonEjbObjectTests());
        suite.addTest(new SingletonPojoEjbObjectTests());

        // Remote/business interface tests
        suite.addTest(new SingletonRemoteIntfcTests());
        suite.addTest(new SingletonPojoRemoteIntrfcTests());
        suite.addTest(new SingletonRemoteBusinessIntfcTests());

        // Home handle tests
        suite.addTest(new SingletonHomeHandleTests());
        suite.addTest(new SingletonPojoHomeHandleTests());

        // Handle tests
        suite.addTest(new SingletonHandleTests());
        suite.addTest(new SingletonPojoHandleTests());

        // EJBMetaData tests
        suite.addTest(new SingletonEjbMetaDataTests());
        suite.addTest(new SingletonPojoEjbMetaDataTests());

        // Allowed operations
        suite.addTest(new SingletonAllowedOperationsTests());
        suite.addTest(new BMTSingletonAllowedOperationsTests());

        suite.addTest(new SingletonBeanTxTests());

        // ENC and Injection
        suite.addTest(new SingletonJndiEncTests());
        suite.addTest(new SingletonContextLookupTests());
        suite.addTest(new SingletonPojoContextLookupTests());
        suite.addTest(new SingletonFieldInjectionTests());
        suite.addTest(new SingletonSetterInjectionTests());
        suite.addTest(new SingletonAnnotatedFieldInjectionTests());

        suite.addTest(new SingletonRmiIiopTests());

        suite.addTest(new MiscEjbTests());

        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionSingletonPojoHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionSingletonPojoHomeIntfcTests());

        /* TO DO
        suite.addTest(new SingletonEjbContextTests());
        suite.addTest(new BMTSingletonEjbContextTests());
        suite.addTest(new BMTSingletonEncTests());
View Full Code Here

    public MdbTestSuite(String name) {
        super(name);
    }

    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();

        // Verify the famework is working
        suite.addTest(new MdbConnectionFactoryTests());
        suite.addTest(new BasicMdbTests());

        // Allowed operations
        suite.addTest(new MdbAllowedOperationsTests());
        suite.addTest(new BmtMdbAllowedOperationsTests());

        // Transaction tests
//        suite.addTest(new StatelessBeanTxTests());

        // Enterprise naming context tests
        suite.addTest(new MdbJndiEncTests());
        suite.addTest(new MdbContextLookupTests());
        suite.addTest(new MdbPojoContextLookupTests());

        // Injection tests
        suite.addTest(new MdbFieldInjectionTests());
        suite.addTest(new MdbSetterInjectionTests());
        suite.addTest(new MdbAnnotatedFieldInjectionTests());
        suite.addTest(new MdbInterceptorTests());

        return suite;
    }
View Full Code Here

    public StatefulTestSuite(String name) {
        super(name);
    }

    public static Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new StatefulJndiTests());
        suite.addTest(new StatefulPojoRemoteJndiTests());
        suite.addTest(new StatefulHomeIntfcTests());
        suite.addTest(new StatefulPojoHomeIntfcTests());
        suite.addTest(new StatefulRemoteBusinessIntfcTests());
        suite.addTest(new StatefulEjbHomeTests());
        suite.addTest(new StatefulPojoEjbHomeTests());
        suite.addTest(new StatefulEjbObjectTests());
        suite.addTest(new StatefulPojoEjbObjectTests());
        suite.addTest(new StatefulRemoteIntfcTests());
        suite.addTest(new StatefulHomeHandleTests());
        suite.addTest(new StatefulPojoHomeHandleTests());
        suite.addTest(new StatefulHandleTests());
        suite.addTest(new StatefulPojoHandleTests());
        suite.addTest(new StatefulEjbMetaDataTests());
//        suite.addTest(new StatefulBeanTxTests());
        // suite.addTest(new StatefulAllowedOperationsTests());
        // suite.addTest(new BMTStatefulAllowedOperationsTests());
        suite.addTest(new StatefulJndiEncTests());
        suite.addTest(new StatefulContextLookupTests());
        suite.addTest(new StatefulPojoContextLookupTests());
        suite.addTest(new StatefulFieldInjectionTests());
        suite.addTest(new StatefulSetterInjectionTests());
        // suite.addTest(new StatefulPersistenceContextTests());
        suite.addTest(new StatefulRmiIiopTests());

        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionStatefulPojoHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionStatefulPojoHomeIntfcTests());

        /* TO DO
        suite.addTest(new StatefulEjbContextTests());
        suite.addTest(new BMTStatefulEjbContextTests());
        suite.addTest(new BMTStatefulEncTests());
View Full Code Here

    public StatefulLocalTestSuite(String name) {
        super(name);
    }

    public static Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new StatefulJndiTests());
        suite.addTest(new StatefulPojoLocalJndiTests());
        suite.addTest(new StatefulHomeIntfcTests());
        suite.addTest(new StatefulPojoLocalHomeIntfcTests());
        suite.addTest(new StatefulPojoLocalIntfcTests());
        suite.addTest(new StatefulLocalBusinessIntfcTests());
        // MNour: Why we put this remote test into the suite for local tests ???
        suite.addTest(new StatefulRemoteBusinessIntfcTests());
        suite.addTest(new StatefulEjbHomeTests());
        suite.addTest(new StatefulPojoEjbLocalHomeTests());
        suite.addTest(new StatefulEjbObjectTests());
        suite.addTest(new StatefulPojoEjbLocalObjectTests());
        suite.addTest(new StatefulRemoteIntfcTests());
        suite.addTest(new StatefulHomeHandleTests());
        suite.addTest(new StatefulHandleTests());
        suite.addTest(new StatefulEjbMetaDataTests());
        suite.addTest(new StatefulBeanTxTests());
        // suite.addTest(new StatefulAllowedOperationsTests());
        // suite.addTest(new BMTStatefulAllowedOperationsTests());
        suite.addTest(new StatefulJndiEncTests());
        suite.addTest(new StatefulContextLookupTests());
        suite.addTest(new StatefulPojoContextLookupTests());
        suite.addTest(new StatefulFieldInjectionTests());
        suite.addTest(new StatefulSetterInjectionTests());
        // suite.addTest(new StatefulPersistenceContextTests());
        suite.addTest(new StatefulRmiIiopTests());
        //suite.addTest(new StatefulInterceptorTests());
        suite.addTest(new StatefulDefaultInterceptorTests());

        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionStatefulPojoLocalHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests());

        /* TO DO
        suite.addTest(new StatefulEjbContextTests());
        suite.addTest(new BMTStatefulEjbContextTests());
        suite.addTest(new BMTStatefulEncTests());
View Full Code Here

        super(name);
    }


    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new StatelessJndiTests());
        suite.addTest(new StatelessPojoRemoteJndiTests());

        // Test home interfaces
        suite.addTest(new StatelessHomeIntfcTests());
        suite.addTest(new StatelessPojoHomeIntfcTests());

        // EJBHome tests
        suite.addTest(new StatelessEjbHomeTests());
        suite.addTest(new StatelessPojoEjbHomeTests());

        // EJBObject tests
        suite.addTest(new StatelessEjbObjectTests());
        suite.addTest(new StatelessPojoEjbObjectTests());

        // Remote/business interface tests
        suite.addTest(new StatelessRemoteIntfcTests());
        suite.addTest(new StatelessPojoRemoteIntrfcTests());
        suite.addTest(new StatelessRemoteBusinessIntfcTests());

        // Home handle tests
        suite.addTest(new StatelessHomeHandleTests());
        suite.addTest(new StatelessPojoHomeHandleTests());

        // Handle tests
        suite.addTest(new StatelessHandleTests());
        suite.addTest(new StatelessPojoHandleTests());

        // EJBMetaData tests
        suite.addTest(new StatelessEjbMetaDataTests());
        suite.addTest(new StatelessPojoEjbMetaDataTests());

        // Allowed operations
        suite.addTest(new StatelessAllowedOperationsTests());
        suite.addTest(new BMTStatelessAllowedOperationsTests());

        suite.addTest(new StatelessBeanTxTests());

        // ENC and Injection
        suite.addTest(new StatelessJndiEncTests());
        suite.addTest(new StatelessContextLookupTests());
        suite.addTest(new StatelessPojoContextLookupTests());
        suite.addTest(new StatelessFieldInjectionTests());
        suite.addTest(new StatelessSetterInjectionTests());
        suite.addTest(new StatelessAnnotatedFieldInjectionTests());

        suite.addTest(new StatelessRmiIiopTests());

        suite.addTest(new MiscEjbTests());

        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionStatelessPojoHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionStatelessPojoHomeIntfcTests());

        /* TO DO
        suite.addTest(new StatelessEjbContextTests());
        suite.addTest(new BMTStatelessEjbContextTests());
        suite.addTest(new BMTStatelessEncTests());
View Full Code Here

    public StatelessLocalTestSuite(String name) {
        super(name);
    }

    public static junit.framework.Test suite() {
        TestSuite suite = new FilteredTestSuite();
        suite.addTest(new StatelessJndiTests());
        suite.addTest(new StatelessPojoLocalJndiTests());

        suite.addTest(new StatelessHomeIntfcTests());
        suite.addTest(new StatelessPojoLocalHomeIntfcTests());

        suite.addTest(new StatelessEjbHomeTests());
        suite.addTest(new StatelessPojoEjbLocalHomeTests());

        suite.addTest(new StatelessEjbObjectTests());
        suite.addTest(new StatelessPojoEjbLocalObjectTests());

        suite.addTest(new StatelessRemoteIntfcTests());
        suite.addTest(new StatelessLocalIntfcTests());
        suite.addTest(new StatelessLocalBusinessIntfcTests());
        suite.addTest(new StatelessRemoteBusinessIntfcTests());

        suite.addTest(new StatelessHomeHandleTests());
        suite.addTest(new StatelessHandleTests());

        suite.addTest(new StatelessEjbMetaDataTests());
        suite.addTest(new StatelessAllowedOperationsTests());
        suite.addTest(new BMTStatelessAllowedOperationsTests());
        suite.addTest(new StatelessBeanTxTests());
        suite.addTest(new StatelessJndiEncTests());
        suite.addTest(new StatelessContextLookupTests());
        suite.addTest(new StatelessPojoContextLookupTests());
        suite.addTest(new StatelessFieldInjectionTests());
        suite.addTest(new StatelessSetterInjectionTests());
        suite.addTest(new StatelessAnnotatedFieldInjectionTests());
        suite.addTest(new StatelessRmiIiopTests());
        suite.addTest(new MiscEjbTests());
        suite.addTest(new StatelessInterceptorTests());
        suite.addTest(new StatelessDefaultInterceptorTests());
        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests());

        /* TO DO
        suite.addTest(new StatelessEjbContextTests());
        suite.addTest(new BMTStatelessEjbContextTests());
        suite.addTest(new BMTStatelessEncTests());
View Full Code Here

    public StatelessLocalTestSuite(final String name) {
        super(name);
    }

    public static junit.framework.Test suite() {
        final TestSuite suite = new FilteredTestSuite();
        suite.addTest(new StatelessJndiTests());
        suite.addTest(new StatelessPojoLocalJndiTests());

        suite.addTest(new StatelessHomeIntfcTests());
        suite.addTest(new StatelessPojoLocalHomeIntfcTests());

        suite.addTest(new StatelessEjbHomeTests());
        suite.addTest(new StatelessPojoEjbLocalHomeTests());

        suite.addTest(new StatelessEjbObjectTests());
        suite.addTest(new StatelessPojoEjbLocalObjectTests());

        suite.addTest(new StatelessRemoteIntfcTests());
        suite.addTest(new StatelessLocalIntfcTests());
        suite.addTest(new StatelessLocalBusinessIntfcTests());
        suite.addTest(new StatelessRemoteBusinessIntfcTests());

        suite.addTest(new StatelessHomeHandleTests());
        suite.addTest(new StatelessHandleTests());

        suite.addTest(new StatelessEjbMetaDataTests());
        suite.addTest(new StatelessAllowedOperationsTests());
        suite.addTest(new BMTStatelessAllowedOperationsTests());
        suite.addTest(new StatelessBeanTxTests());
        suite.addTest(new StatelessJndiEncTests());
        suite.addTest(new StatelessContextLookupTests());
        suite.addTest(new StatelessPojoContextLookupTests());
        suite.addTest(new StatelessFieldInjectionTests());
        suite.addTest(new StatelessSetterInjectionTests());
        suite.addTest(new StatelessAnnotatedFieldInjectionTests());
        suite.addTest(new StatelessRmiIiopTests());
        suite.addTest(new MiscEjbTests());
        suite.addTest(new StatelessInterceptorTests());
        suite.addTest(new StatelessDefaultInterceptorTests());
        /*///////////////////////////
        * Annotated test clients
        *///////////////////////////

        // Annotated field injection test clients
        suite.addTest(new AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests());

        // Annotated setter injection test clients
        suite.addTest(new AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests());

        /* TO DO
        suite.addTest(new StatelessEjbContextTests());
        suite.addTest(new BMTStatelessEjbContextTests());
        suite.addTest(new BMTStatelessEncTests());
View Full Code Here

TOP

Related Classes of org.apache.openejb.test.FilteredTestSuite

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.