/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.openejb.test.singleton; import junit.framework.TestSuite; import org.apache.openejb.test.FilteredTestSuite; /** * @version $Rev: 606348 $ $Date: 2007-12-21 15:57:58 -0800 (Fri, 21 Dec 2007) $ */ public class SingletonTestSuite extends junit.framework.TestCase { public SingletonTestSuite(final String name) { super(name); } public static junit.framework.Test suite() { final 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()); suite.addTest(new SingletonContainerManagedTransactionTests()); */ return suite; } }