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.gj;
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(new MainTest(1000, 0, 1345435247779935L));
038 suite.addTest(new MainTest(1000, 1, 1345435247779935L));
039 return suite;
040 }
041
042 public static void main(String args[]) {
043 String[] testCaseName = {
044 TestAll.class.getName()
045 };
046 junit.textui.TestRunner.main(testCaseName);
047 }
048
049 }