01: /**
02: * JOnAS: Java(TM) Open Application Server
03: * Copyright (C) 1999-2005 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 1any 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_webservices.java 10557 2007-06-07 09:21:44Z coqp $
23: * --------------------------------------------------------------------------
24: */package org.objectweb.jonas.examples.clients.webservices;
25:
26: import junit.framework.Test;
27: import junit.framework.TestSuite;
28:
29: import org.objectweb.jonas.examples.util.JExampleTestCase;
30:
31: /**
32: * Define a class to test all the webservices examples
33: * Test : - F_WsAccessTest
34: * - F_WsEarSample
35: * - F_WsWarSample
36: * @author Philippe Coq
37: */
38: public class C_webservices extends JExampleTestCase {
39:
40: /**
41: * Constructor with a specified name
42: * @param name the name
43: */
44: public C_webservices(String name) {
45: super (name);
46: }
47:
48: /**
49: * Get a new TestSuite for this class
50: * It includes earsample, alarm and jonasAdmin
51: * @return a new TestSuite for this class
52: */
53: public static Test suite() {
54: TestSuite suite = new TestSuite();
55: suite.addTest(F_WsAccessTest.suite());
56: suite.addTest(F_WsEarSample.suite());
57: suite.addTest(F_WsWarSample.suite());
58: return suite;
59: }
60:
61: /**
62: * Main method
63: * @param args the arguments
64: */
65: public static void main(String[] args) {
66: junit.textui.TestRunner.run(suite());
67: }
68: }
|