KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JFlex > tests > AllTests


1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * jflex *
3  * Copyright (C) 1998-2004 Gerwin Klein <lsf@jflex.de> *
4  * All rights reserved. *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License. See the file *
8  * COPYRIGHT for more information. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public License along *
16  * with this program; if not, write to the Free Software Foundation, Inc., *
17  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
18  * *
19  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

20
21 package JFlex.tests;
22
23 import junit.framework.Test;
24 import junit.framework.TestSuite;
25
26 /**
27  * AllTests
28  *
29  * @author Gerwin Klein
30  * @version $Revision: 1.4 $, $Date: 2004/04/12 10:07:48 $
31  */

32 public class AllTests {
33
34   public static void main(String JavaDoc[] args) {
35     junit.textui.TestRunner.run(AllTests.class);
36   }
37
38   public static Test suite() {
39     TestSuite suite = new TestSuite("JFlex tests");
40     //$JUnit-BEGIN$
41
suite.addTest(new TestSuite(AntTaskTests.class));
42     suite.addTest(new TestSuite(CharClassesTest.class));
43     suite.addTest(new TestSuite(EmitterTest.class));
44     suite.addTest(new TestSuite(RegExpTests.class));
45     suite.addTest(new TestSuite(SkeletonTest.class));
46     suite.addTest(new TestSuite(PackEmitterTest.class));
47     //$JUnit-END$
48
return suite;
49   }
50 }
51
Popular Tags