/*
 *  Copyright 2001-2005 Stephen Colebourne
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package org.joda.time.chrono;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Entry point for all tests in this package.
 * 
 * @version $Revision$ $Date$
 * 
 * @author Stephen Colebourne
 */
public class TestAll extends TestCase {

    public static boolean FAST = false;

    public TestAll(String testName) {
        super(testName);
    }

    public static Test suite() {
        TestSuite suite = new TestSuite();
        FAST = true;
        
        suite.addTest(TestBuddhistChronology.suite());
        suite.addTest(TestCopticChronology.suite());
        suite.addTest(TestGJChronology.suite());
        suite.addTest(TestGregorianChronology.suite());
        suite.addTest(TestJulianChronology.suite());
        suite.addTest(TestISOChronology.suite());
        
        return suite;
    }

    public static void main(String args[]) {
        String[] testCaseName = {
            TestAll.class.getName()
        };
        junit.textui.TestRunner.main(testCaseName);
    }

}

@@ -736,16 +736,48 @@
 stSuite;
+%0Aimport junit.textui.TestRunner;
 %0A%0A/**%0A *
@@ -970,12 +970,11 @@
 T = 
-fals
+tru
 e;%0A%0A
@@ -1123,29 +1123,8 @@
 ();%0A
-        FAST = true;%0A
     
@@ -1539,102 +1539,30 @@
     
-String%5B%5D testCaseName = %7B%0A            TestAll.class.getName()%0A        %7D;%0A        junit.textui.
+FAST = false;%0A        
 Test
@@ -1572,25 +1572,27 @@
 ner.
-main(testCaseName
+run(TestAll.suite()
 );%0A 

Allow slow tests to run directly from main method