01: /**
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */package org.apache.openejb.test.stateless;
17:
18: import junit.framework.TestSuite;
19: import org.apache.openejb.test.FilteredTestSuite;
20:
21: /**
22: * @author <a href="mailto:david.blevins@visi.com">David Blevins</a>
23: * @author <a href="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
24: * @author <a href="mailto:nour.mohammad@gmail.com">Mohammad Nour El-Din</a>
25: * @version $Rev: 606348 $ $Date: 2007-12-21 15:57:58 -0800 $
26: */
27: public class StatelessLocalTestSuite extends junit.framework.TestCase {
28:
29: public StatelessLocalTestSuite(String name) {
30: super (name);
31: }
32:
33: public static junit.framework.Test suite() {
34: TestSuite suite = new FilteredTestSuite();
35: suite.addTest(new StatelessJndiTests());
36: suite.addTest(new StatelessPojoLocalJndiTests());
37:
38: suite.addTest(new StatelessHomeIntfcTests());
39: suite.addTest(new StatelessPojoLocalHomeIntfcTests());
40:
41: suite.addTest(new StatelessEjbHomeTests());
42: suite.addTest(new StatelessPojoEjbLocalHomeTests());
43:
44: suite.addTest(new StatelessEjbObjectTests());
45: suite.addTest(new StatelessPojoEjbLocalObjectTests());
46:
47: suite.addTest(new StatelessRemoteIntfcTests());
48: suite.addTest(new StatelessLocalIntfcTests());
49: suite.addTest(new StatelessLocalBusinessIntfcTests());
50: suite.addTest(new StatelessRemoteBusinessIntfcTests());
51:
52: suite.addTest(new StatelessHomeHandleTests());
53: suite.addTest(new StatelessHandleTests());
54:
55: suite.addTest(new StatelessEjbMetaDataTests());
56: suite.addTest(new StatelessAllowedOperationsTests());
57: suite.addTest(new BMTStatelessAllowedOperationsTests());
58: suite.addTest(new StatelessBeanTxTests());
59: suite.addTest(new StatelessJndiEncTests());
60: suite.addTest(new StatelessContextLookupTests());
61: suite.addTest(new StatelessPojoContextLookupTests());
62: suite.addTest(new StatelessFieldInjectionTests());
63: suite.addTest(new StatelessSetterInjectionTests());
64: suite.addTest(new StatelessAnnotatedFieldInjectionTests());
65: suite.addTest(new StatelessRmiIiopTests());
66: suite.addTest(new MiscEjbTests());
67: suite.addTest(new StatelessInterceptorTests());
68: suite.addTest(new StatelessDefaultInterceptorTests());
69: /*///////////////////////////
70: * Annotated test clients
71: *///////////////////////////
72: // Annotated field injection test clients
73: suite
74: .addTest(new AnnotatedFieldInjectionStatelessPojoLocalHomeIntfcTests());
75:
76: // Annotated setter injection test clients
77: suite
78: .addTest(new AnnotatedSetterInjectionStatelessPojoLocalHomeIntfcTests());
79:
80: /* TO DO
81: suite.addTest(new StatelessEjbContextTests());
82: suite.addTest(new BMTStatelessEjbContextTests());
83: suite.addTest(new BMTStatelessEncTests());
84: suite.addTest(new StatelessContainerManagedTransactionTests());
85: */
86: return suite;
87: }
88: }
|