001    /*
002     *  Copyright 2001-2012 Stephen Colebourne
003     *
004     *  Licensed under the Apache License, Version 2.0 (the "License");
005     *  you may not use this file except in compliance with the License.
006     *  You may obtain a copy of the License at
007     *
008     *      http://www.apache.org/licenses/LICENSE-2.0
009     *
010     *  Unless required by applicable law or agreed to in writing, software
011     *  distributed under the License is distributed on an "AS IS" BASIS,
012     *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     *  See the License for the specific language governing permissions and
014     *  limitations under the License.
015     */
016    package org.joda.time.tz;
017    
018    import junit.framework.Test;
019    import junit.framework.TestCase;
020    import junit.framework.TestSuite;
021    
022    /**
023     * Entry point for all tests in this package.
024     * 
025     * @version $Revision$ $Date$
026     * 
027     * @author Stephen Colebourne
028     */
029    public class TestAll extends TestCase {
030    
031        public TestAll(String testName) {
032            super(testName);
033        }
034    
035        public static Test suite() {
036            TestSuite suite = new TestSuite();
037            suite.addTest(TestUTCProvider.suite());
038            suite.addTest(TestBuilder.suite());
039            suite.addTest(TestCompiler.suite());
040            suite.addTest(TestCachedDateTimeZone.suite());
041            suite.addTest(TestFixedDateTimeZone.suite());
042            return suite;
043        }
044    
045        public static void main(String args[]) {
046            String[] testCaseName = {
047                TestAll.class.getName()
048            };
049            junit.textui.TestRunner.main(testCaseName);
050        }
051    
052    }