Package org.apache.openejb.test

Examples of org.apache.openejb.test.FilteredTestSuite


    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 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

        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 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

    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 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 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 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

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.