01: /*
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999 Bull S.A.
04: * Contact: jonas-team@objectweb.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * --------------------------------------------------------------------------
22: * $Id: C_cmp1.java 1202 2003-01-15 12:39:52Z durieuxp $
23: * --------------------------------------------------------------------------
24: */
25:
26: package org.objectweb.jonas.jtests.clients.entity;
27:
28: import junit.framework.Test;
29: import junit.framework.TestSuite;
30: import org.objectweb.jonas.jtests.util.JTestCase;
31:
32: /**
33: * This test suite is used to pass "CMP1 entity" tests only.
34: * Beans used: annuaire, ebasic
35: * @author Philippe Durieux (jonas team)
36: */
37: public class C_cmp1 extends JTestCase {
38:
39: public C_cmp1(String name) {
40: super (name);
41: }
42:
43: public static Test suite() {
44: TestSuite suite = new TestSuite();
45: suite.addTest(F_BasicHomeInterfaceEB.suite());
46: suite.addTest(F_BasicHomeSharedEB.suite());
47: suite.addTest(F_BasicHomeInterfaceEC.suite());
48: suite.addTest(F_AdvancedHomeEC.suite());
49: suite.addTest(F_Inherit.suite());
50: suite.addTest(F_IsModified.suite());
51: suite.addTest(F_IsolationEB.suite());
52: suite.addTest(F_IsolationEC.suite());
53: suite.addTest(F_VariousPKEC.suite());
54: suite.addTest(F_EtypePdoubleEC.suite());
55: suite.addTest(F_EtypeOdoubleEC.suite());
56: suite.addTest(F_EtypePfloatEC.suite());
57: suite.addTest(F_EtypeOfloatEC.suite());
58: suite.addTest(F_EtypePlongEC.suite());
59: suite.addTest(F_EtypeOlongEC.suite());
60: suite.addTest(F_EtypePshortEC.suite());
61: suite.addTest(F_EtypeOshortEC.suite());
62: suite.addTest(F_EtypePbooleanEC.suite());
63: suite.addTest(F_EtypeObooleanEC.suite());
64: return suite;
65: }
66:
67: public static void main(String args[]) {
68: junit.textui.TestRunner.run(suite());
69: }
70: }
|