1 16 17 package test.types; 18 19 import junit.framework.Test; 20 import junit.framework.TestCase; 21 import junit.framework.TestSuite; 22 23 26 public class PackageTests extends TestCase 27 { 28 public PackageTests(String name) 29 { 30 super(name); 31 } 32 33 public static Test suite() throws Exception 34 { 35 TestSuite suite = new TestSuite(); 36 37 suite.addTestSuite(TestNonNegativeInteger.class); 38 suite.addTestSuite(TestPositiveInteger.class); 39 suite.addTestSuite(TestNonPositiveInteger.class); 40 suite.addTestSuite(TestNegativeInteger.class); 41 suite.addTestSuite(TestNormalizedString.class); 42 suite.addTestSuite(TestToken.class); 43 suite.addTestSuite(TestUnsignedLong.class); 44 suite.addTestSuite(TestUnsignedInt.class); 45 suite.addTestSuite(TestUnsignedShort.class); 46 suite.addTestSuite(TestUnsignedByte.class); 47 suite.addTestSuite(TestYearMonth.class); 48 suite.addTestSuite(TestYear.class); 49 suite.addTestSuite(TestMonth.class); 50 suite.addTestSuite(TestMonthDay.class); 51 suite.addTestSuite(TestDay.class); 52 suite.addTestSuite(TestName.class); 53 suite.addTestSuite(TestId.class); 54 suite.addTestSuite(TestNCName.class); 55 suite.addTestSuite(TestNMToken.class); 56 suite.addTestSuite(TestDuration.class); 57 suite.addTestSuite(TestURI.class); 58 return suite; 59 } 60 } 61 | Popular Tags |