KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > util > explorer > AllTests


1 /*====================================================================
2
3 Objectweb Explorer Framework
4 Copyright (C) 2000-2005 INRIA - USTL - LIFL - GOAL
5 Contact: openccm@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Jerome Moroy, Philippe Merle.
23 Contributor(s): ______________________________________.
24
25 ====================================================================
26 $Id: AllTests.java,v 1.2 2005/07/06 15:36:01 moroy Exp $
27 ====================================================================*/

28 package org.objectweb.util.explorer;
29
30 import org.objectweb.util.explorer.core.code.CodeDescriptionTest;
31 import org.objectweb.util.explorer.core.code.CodeInterpreterTest;
32 import org.objectweb.util.explorer.core.common.DefaultKeyTest;
33 import org.objectweb.util.explorer.core.icon.IconDescriptionTest;
34 import org.objectweb.util.explorer.core.menu.AcceleratorDescriptionTest;
35 import org.objectweb.util.explorer.core.menu.ItemDescriptionTest;
36 import org.objectweb.util.explorer.core.menu.MenuDescriptionTest;
37 import org.objectweb.util.explorer.core.menu.MenuSeparatorTest;
38 import org.objectweb.util.explorer.core.menu.MnemonicDescriptionTest;
39 import org.objectweb.util.explorer.core.role.RolePropertyTest;
40 import org.objectweb.util.explorer.parser.lib.ParserUtilsTest;
41 import org.objectweb.util.trace.TraceSystem;
42
43 import junit.framework.Test;
44 import junit.framework.TestSuite;
45
46
47 /**
48  *
49  *
50  * @author <a HREF="mailto:Jerome.Moroy@lifl.fr">Jérôme Moroy</a>,
51  * <a HREF="mailto:Philippe.Merle@lifl.fr">Philippe Merle</a>.
52  *
53  * @version 0.1
54  */

55 public class AllTests {
56
57     //==================================================================
58
//
59
// No internal state.
60
//
61
// ==================================================================
62

63     // ==================================================================
64
//
65
// No constructor.
66
//
67
// ==================================================================
68
public AllTests(){
69         TraceSystem.setLevel("debug");
70     }
71     
72     // ==================================================================
73
//
74
// No internal method.
75
//
76
// ==================================================================
77

78     // ==================================================================
79
//
80
// Public methods.
81
//
82
// ==================================================================
83

84     public static Test suite() {
85         TestSuite suite = new TestSuite("Test for Explorer Framework");
86         //$JUnit-BEGIN$
87
suite.addTestSuite(ExplorerUtilsTest.class);
88         suite.addTestSuite(DefaultKeyTest.class);
89         suite.addTestSuite(ParserUtilsTest.class);
90         suite.addTestSuite(MenuSeparatorTest.class);
91         suite.addTestSuite(AcceleratorDescriptionTest.class);
92         suite.addTestSuite(MnemonicDescriptionTest.class);
93         suite.addTestSuite(CodeDescriptionTest.class);
94         suite.addTestSuite(IconDescriptionTest.class);
95         suite.addTestSuite(ItemDescriptionTest.class);
96         suite.addTestSuite(MenuDescriptionTest.class);
97         suite.addTestSuite(RolePropertyTest.class);
98         suite.addTestSuite(CodeInterpreterTest.class);
99         //suite.addTestSuite(ExplorerParserTest.class);
100
//$JUnit-END$
101
return suite;
102     }
103     
104     // ==================================================================
105
//
106
// Main method.
107
//
108
// ==================================================================
109

110     public static void main(String JavaDoc[] args) {
111         junit.textui.TestRunner.run(AllTests.suite());
112     }
113     
114 }
Popular Tags