KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > net > sourceforge > pmd > ast > ASTTests


1 /**
2  * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3  */

4 package test.net.sourceforge.pmd.ast;
5
6 import junit.framework.Test;
7 import junit.framework.TestSuite;
8
9 public class ASTTests {
10     /**
11      * test suite
12      *
13      * @return test suite
14      */

15     public static Test suite() {
16         TestSuite suite = new TestSuite("Test for test.net.sourceforge.pmd.ast");
17
18         //$JUnit-BEGIN$
19
suite.addTestSuite(ASTImportDeclarationTest.class);
20         suite.addTestSuite(ASTVariableDeclaratorIdTest.class);
21         suite.addTestSuite(AccessNodeTest.class);
22         suite.addTestSuite(ClassDeclTest.class);
23         suite.addTestSuite(FieldDeclTest.class);
24         suite.addTestSuite(MethodDeclTest.class);
25         suite.addTestSuite(SimpleNodeTest.class);
26
27         //$JUnit-END$
28
return suite;
29     }
30 }
31
32
33 /*
34  * $Log: ASTTests.java,v $
35  * Revision 1.5 2006/02/10 14:26:25 tomcopeland
36  * Huge reformatting checkin
37  *
38  * Revision 1.4 2006/02/10 14:15:19 tomcopeland
39  * Latest source from Pieter, everything compiles and all the tests pass with the exception of a few missing rules in basic-jsp.xml
40  *
41  * Revision 1.3 2004/04/08 18:51:07 tomcopeland
42  * Implemented RFE 925839 - Added some more detail to the UseSingletonRule.
43  *
44  * Revision 1.2 2003/11/20 16:01:02 tomcopeland
45  * Changing over license headers in the source code
46  *
47  * Revision 1.1 2003/09/29 14:32:31 tomcopeland
48  * Committed regression test suites, thanks to Boris Gruschko
49  *
50  */

51
Popular Tags