01: /*
02: * Copyright 2001-2005 Stephen Colebourne
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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: package org.joda.time.tz;
17:
18: import junit.framework.Test;
19: import junit.framework.TestCase;
20: import junit.framework.TestSuite;
21:
22: /**
23: * Entry point for all tests in this package.
24: *
25: * @version $Revision: 1000 $ $Date: 2005-12-23 00:17:52 +0000 (Fri, 23 Dec 2005) $
26: *
27: * @author Stephen Colebourne
28: */
29: public class TestAll extends TestCase {
30:
31: public TestAll(String testName) {
32: super (testName);
33: }
34:
35: public static Test suite() {
36: TestSuite suite = new TestSuite();
37: suite.addTest(TestUTCProvider.suite());
38: suite.addTest(TestBuilder.suite());
39: suite.addTest(TestCompiler.suite());
40: suite.addTest(TestFixedDateTimeZone.suite());
41: return suite;
42: }
43:
44: public static void main(String args[]) {
45: String[] testCaseName = { TestAll.class.getName() };
46: junit.textui.TestRunner.main(testCaseName);
47: }
48:
49: }
|