KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.puppycrawl.tools.checkstyle.checks.coding;
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("Tests for com.puppycrawl.tools.checkstyle.checks.coding");
15
16         suite.addTest(new TestSuite(ArrayTrailingCommaCheckTest.class));
17         suite.addTest(new TestSuite(AvoidInlineConditionalsCheckTest.class));
18         suite.addTest(new TestSuite(CovariantEqualsCheckTest.class));
19         suite.addTest(new TestSuite(DeclarationOrderCheckTest.class));
20         suite.addTest(new TestSuite(DefaultComesLastCheckTest.class));
21         suite.addTest(new TestSuite(DoubleCheckedLockingCheckTest.class));
22         suite.addTest(new TestSuite(EmptyStatementCheckTest.class));
23         suite.addTest(new TestSuite(EqualsHashCodeCheckTest.class));
24         suite.addTest(new TestSuite(ExplicitInitializationCheckTest.class));
25         suite.addTest(new TestSuite(FallThroughCheckTest.class));
26         suite.addTest(new TestSuite(FinalLocalVariableCheckTest.class));
27         suite.addTest(new TestSuite(HiddenFieldCheckTest.class));
28         suite.addTest(new TestSuite(IllegalCatchCheckTest.class));
29         suite.addTest(new TestSuite(IllegalInstantiationCheckTest.class));
30         suite.addTest(new TestSuite(IllegalTokenCheckTest.class));
31         suite.addTest(new TestSuite(IllegalTokenTextCheckTest.class));
32         suite.addTest(new TestSuite(IllegalTypeCheckTest.class));
33         suite.addTest(new TestSuite(InnerAssignmentCheckTest.class));
34         suite.addTest(new TestSuite(JUnitTestCaseCheckTest.class));
35         suite.addTest(new TestSuite(MagicNumberCheckTest.class));
36         suite.addTest(new TestSuite(MissingCtorCheckTest.class));
37         suite.addTest(new TestSuite(MissingSwitchDefaultCheckTest.class));
38         suite.addTest(new TestSuite(ModifiedControlVariableCheckTest.class));
39         suite.addTest(new TestSuite(MultipleStringLiteralsCheckTest.class));
40         suite.addTest(new TestSuite(MultipleVariableDeclarationsCheckTest.class));
41         suite.addTest(new TestSuite(NestedIfDepthCheckTest.class));
42         suite.addTest(new TestSuite(NestedTryDepthCheckTest.class));
43         suite.addTest(new TestSuite(PackageDeclarationCheckTest.class));
44         suite.addTest(new TestSuite(ParameterAssignmentCheckTest.class));
45         suite.addTest(new TestSuite(RedundantThrowsCheckTest.class));
46         suite.addTest(new TestSuite(ReturnCountCheckTest.class));
47         suite.addTest(new TestSuite(RequireThisCheckTest.class));
48         suite.addTest(new TestSuite(SimplifyBooleanExpressionCheckTest.class));
49         suite.addTest(new TestSuite(SimplifyBooleanReturnCheckTest.class));
50         suite.addTest(new TestSuite(StringLiteralEqualityCheckTest.class));
51         suite.addTest(new TestSuite(SuperCloneCheckTest.class));
52         suite.addTest(new TestSuite(SuperFinalizeCheckTest.class));
53         suite.addTest(new TestSuite(UnnecessaryParenthesesCheckTest.class));
54
55         return suite;
56     }
57 }
58
Popular Tags