1 package com.puppycrawl.tools.checkstyle; 2 3 import junit.framework.Test; 4 import junit.framework.TestSuite; 5 6 11 public class AllTests { 12 13 public static void main(String [] args) { 14 junit.textui.TestRunner.run(AllTests.suite()); 15 } 16 17 public static Test suite() { 18 TestSuite suite = 19 new TestSuite("Test for com.puppycrawl.tools.checkstyle"); 20 21 suite.addTest(new TestSuite(CheckerTest.class)); 23 suite.addTest(new TestSuite(ConfigurationLoaderTest.class)); 24 suite.addTest(new TestSuite(OptionTest.class)); 25 suite.addTest(new TestSuite(PackageNamesLoaderTest.class)); 26 suite.addTest(new TestSuite(PackageObjectFactoryTest.class)); 27 suite.addTest(new TestSuite(StringArrayReaderTest.class)); 28 suite.addTest(new TestSuite(UtilsTest.class)); 29 suite.addTest(new TestSuite(XMLLoggerTest.class)); 30 31 suite.addTest(com.puppycrawl.tools.checkstyle.api.AllTests.suite()); 33 suite.addTest(com.puppycrawl.tools.checkstyle.checks.AllTests.suite()); 34 suite.addTest(com.puppycrawl.tools.checkstyle.filters.AllTests.suite()); 35 suite.addTest( 36 com.puppycrawl.tools.checkstyle.grammars.AllTests.suite()); 37 return suite; 39 } 40 } 41 | Popular Tags |