01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2005-2006, GeoTools Project Managment Committee (PMC)
05: * (C) 2005, Institut de Recherche pour le Développement
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation;
10: * version 2.1 of the License.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.referencing.factory.epsg;
18:
19: // JUnit dependencies
20: import junit.framework.Test;
21: import junit.framework.TestCase;
22: import junit.framework.TestSuite;
23: import junit.textui.TestRunner;
24:
25: // Geotools dependencies
26: import org.geotools.referencing.factory.URN_EPSG_Test;
27: import org.geotools.referencing.factory.OrderedAxisAuthorityFactoryTest;
28:
29: /**
30: * Performs all tests for the <code>org.geotools.referencing.factory.epsg</code> packages.
31: *
32: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/epsg-hsql/src/test/java/org/geotools/referencing/factory/epsg/AllTests.java $
33: * @version $Id: AllTests.java 27848 2007-11-12 13:10:32Z desruisseaux $
34: * @author Martin Desruisseaux
35: */
36: public class AllTests extends TestCase {
37: /** No need to construct this class. */
38: private AllTests() {
39: }
40:
41: /**
42: * Run the suite from the command line.
43: */
44: public static void main(final String[] args) {
45: org.geotools.util.logging.Logging.GEOTOOLS
46: .forceMonolineConsoleOutput();
47: TestRunner.run(suite());
48: }
49:
50: /**
51: * Returns all suites.
52: */
53: public static Test suite() {
54: final TestSuite suite = new TestSuite(
55: "org.geotools.referencing.factory.epsg");
56: suite.addTest(DefaultFactoryTest.suite());
57: suite.addTest(OperationFactoryTest.suite());
58: suite.addTest(OrderedAxisAuthorityFactoryTest.suite());
59: suite.addTest(URN_EPSG_Test.suite());
60: return suite;
61: }
62: }
|