KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.puppycrawl.tools.checkstyle.checks.whitespace;
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.whitespace");
15
16         suite.addTest(new TestSuite(EmptyForInitializerPadCheckTest.class));
17         suite.addTest(new TestSuite(EmptyForIteratorPadCheckTest.class));
18         suite.addTest(new TestSuite(MethodParamPadCheckTest.class));
19         suite.addTest(new TestSuite(NoWhitespaceAfterCheckTest.class));
20         suite.addTest(new TestSuite(NoWhitespaceBeforeCheckTest.class));
21         suite.addTest(new TestSuite(OperatorWrapCheckTest.class));
22         suite.addTest(new TestSuite(ParenPadCheckTest.class));
23         suite.addTest(new TestSuite(TabCharacterCheckTest.class));
24         suite.addTest(new TestSuite(TypecastParenPadCheckTest.class));
25         suite.addTest(new TestSuite(WhitespaceAfterCheckTest.class));
26         suite.addTest(new TestSuite(WhitespaceAroundTest.class));
27
28         return suite;
29     }
30 }
31
Popular Tags