KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > puppycrawl > tools > checkstyle > checks > usage > AllTests


1 package com.puppycrawl.tools.checkstyle.checks.usage;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5
6 public class AllTests {
7
8     public static void main(String JavaDoc[] args) {
9         junit.textui.TestRunner.run(AllTests.suite());
10     }
11
12     public static Test suite() {
13         TestSuite suite =
14             new TestSuite("Test for com.puppycrawl.tools.checkstyle.checks.usage");
15         suite.addTest(new TestSuite(OneMethodPrivateFieldCheckTest.class));
16         suite.addTest(new TestSuite(UnusedLocalVariableCheckTest.class));
17         suite.addTest(new TestSuite(UnusedParameterCheckTest.class));
18         suite.addTest(new TestSuite(UnusedPrivateFieldCheckTest.class));
19         suite.addTest(new TestSuite(UnusedPrivateMethodCheckTest.class));
20
21         return suite;
22     }
23 }
24
Popular Tags