KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > types > PackageTests


1 /*
2  * Copyright 2002-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16
17 package test.types;
18
19 import junit.framework.Test;
20 import junit.framework.TestCase;
21 import junit.framework.TestSuite;
22
23 /**
24  * test the axis specific type classes
25  */

26 public class PackageTests extends TestCase
27 {
28     public PackageTests(String JavaDoc name)
29     {
30         super(name);
31     }
32
33     public static Test suite() throws Exception JavaDoc
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