001 /* 002 * Copyright 2001-2005 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.chrono; 017 018 import junit.framework.Test; 019 import junit.framework.TestCase; 020 import junit.framework.TestSuite; 021 import junit.textui.TestRunner; 022 023 /** 024 * Entry point for all tests in this package. 025 * 026 * @version $Revision$ $Date$ 027 * 028 * @author Stephen Colebourne 029 */ 030 public class TestAll extends TestCase { 031 032 public static boolean FAST = false; 033 034 public TestAll(String testName) { 035 super(testName); 036 } 037 038 public static Test suite() { 039 TestSuite suite = new TestSuite(); 040 041 suite.addTest(TestBuddhistChronology.suite()); 042 suite.addTest(TestCopticChronology.suite()); 043 suite.addTest(TestEthiopicChronology.suite()); 044 suite.addTest(TestGJChronology.suite()); 045 suite.addTest(TestGregorianChronology.suite()); 046 suite.addTest(TestIslamicChronology.suite()); 047 suite.addTest(TestJulianChronology.suite()); 048 suite.addTest(TestISOChronology.suite()); 049 suite.addTest(TestLenientChronology.suite()); 050 051 return suite; 052 } 053 054 public static void main(String args[]) { 055 FAST = false; 056 TestRunner.run(TestAll.suite()); 057 } 058 059 }