KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openejb > test > stateless > StatelessTestSuite


1
2 /**
3  * Redistribution and use of this software and associated documentation
4  * ("Software"), with or without modification, are permitted provided
5  * that the following conditions are met:
6  *
7  * 1. Redistributions of source code must retain copyright
8  * statements and notices. Redistributions must also contain a
9  * copy of this document.
10  *
11  * 2. Redistributions in binary form must reproduce the
12  * above copyright notice, this list of conditions and the
13  * following disclaimer in the documentation and/or other
14  * materials provided with the distribution.
15  *
16  * 3. The name "Exolab" must not be used to endorse or promote
17  * products derived from this Software without prior written
18  * permission of Exoffice Technologies. For written permission,
19  * please contact info@exolab.org.
20  *
21  * 4. Products derived from this Software may not be called "Exolab"
22  * nor may "Exolab" appear in their names without prior written
23  * permission of Exoffice Technologies. Exolab is a registered
24  * trademark of Exoffice Technologies.
25  *
26  * 5. Due credit should be given to the Exolab Project
27  * (http://www.exolab.org/).
28  *
29  * THIS SOFTWARE IS PROVIDED BY EXOFFICE TECHNOLOGIES AND CONTRIBUTORS
30  * ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT
31  * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
32  * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
33  * EXOFFICE TECHNOLOGIES OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
34  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
35  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
36  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
38  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
40  * OF THE POSSIBILITY OF SUCH DAMAGE.
41  *
42  * Copyright 1999 (C) Exoffice Technologies Inc. All Rights Reserved.
43  *
44  * $Id: StatelessTestSuite.java 1096 2004-03-26 21:41:16Z dblevins $
45  */

46 package org.openejb.test.stateless;
47
48 import junit.framework.TestSuite;
49
50 /**
51  *
52  * @author <a HREF="mailto:david.blevins@visi.com">David Blevins</a>
53  * @author <a HREF="mailto:Richard@Monson-Haefel.com">Richard Monson-Haefel</a>
54  */

55 public class StatelessTestSuite extends junit.framework.TestCase{
56     
57     public StatelessTestSuite(String JavaDoc name){
58         super(name);
59     }
60
61     public static junit.framework.Test suite() {
62         TestSuite suite = new TestSuite();
63         suite.addTest(new StatelessJndiTests());
64         suite.addTest(new StatelessHomeIntfcTests());
65         suite.addTest(new StatelessEjbHomeTests() );
66         suite.addTest(new StatelessEjbObjectTests());
67         suite.addTest(new StatelessRemoteIntfcTests());
68         suite.addTest(new StatelessHomeHandleTests());
69         suite.addTest(new StatelessHandleTests());
70         suite.addTest(new StatelessEjbMetaDataTests());
71         suite.addTest(new StatelessAllowedOperationsTests());
72         suite.addTest(new BMTStatelessAllowedOperationsTests());
73         suite.addTest(new StatelessBeanTxTests());
74         suite.addTest(new StatelessJndiEncTests());
75         suite.addTest(new StatelessRmiIiopTests());
76         suite.addTest(new MiscEjbTests());
77         /* TO DO
78         suite.addTest(new StatelessEjbContextTests());
79         suite.addTest(new BMTStatelessEjbContextTests());
80         suite.addTest(new BMTStatelessEncTests());
81         suite.addTest(new StatelessContainerManagedTransactionTests());
82         */

83         return suite;
84     }
85 }
86
Popular Tags