KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openejb > test > stateful > StatefulTestSuite


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: StatefulTestSuite.java 1096 2004-03-26 21:41:16Z dblevins $
45  */

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

56 public class StatefulTestSuite extends junit.framework.TestCase{
57         
58     public StatefulTestSuite(String JavaDoc name){
59         super(name);
60     }
61
62     public static Test suite() {
63         TestSuite suite = new TestSuite();
64         suite.addTest(new StatefulJndiTests());
65         suite.addTest(new StatefulHomeIntfcTests());
66         suite.addTest(new StatefulEjbHomeTests());
67         suite.addTest(new StatefulEjbObjectTests());
68         suite.addTest(new StatefulRemoteIntfcTests());
69         suite.addTest(new StatefulHomeHandleTests());
70         suite.addTest(new StatefulHandleTests());
71         suite.addTest(new StatefulEjbMetaDataTests());
72         suite.addTest(new StatefulBeanTxTests());
73         //suite.addTest(new StatefulAllowedOperationsTests());
74
//suite.addTest(new BMTStatefulAllowedOperationsTests());
75
suite.addTest(new StatefulJndiEncTests());
76         suite.addTest(new StatefulRmiIiopTests());
77         /* TO DO
78         suite.addTest(new StatefulEjbContextTests());
79         suite.addTest(new BMTStatefulEjbContextTests());
80         suite.addTest(new BMTStatefulEncTests());
81         suite.addTest(new StatefulContainerManagedTransactionTests());
82         */

83
84         return suite;
85     }
86
87 }
88
Popular Tags