1 package com.puppycrawl.tools.checkstyle.checks.blocks; 2 3 import junit.framework.Test; 4 import junit.framework.TestSuite; 5 6 public class AllTests { 7 8 public static void main(String [] 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.blocks"); 15 16 suite.addTest(new TestSuite(AvoidNestedBlocksCheckTest.class)); 17 suite.addTest(new TestSuite(EmptyBlockCheckTest.class)); 18 suite.addTest(new TestSuite(LeftCurlyCheckTest.class)); 19 suite.addTest(new TestSuite(NeedBracesCheckTest.class)); 20 suite.addTest(new TestSuite(RightCurlyCheckTest.class)); 21 22 return suite; 23 } 24 } 25 | Popular Tags |