01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-2006, Geotools Project Managment Committee (PMC)
05: * (C) 2002, 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; either
10: * version 2.1 of the License, or (at your option) any later version.
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.metadata;
18:
19: // JUnit dependencies
20: import junit.framework.Test;
21: import junit.framework.TestSuite;
22: import junit.textui.TestRunner;
23:
24: /**
25: * Performs all tests for the <code>org.geotools.metadata</code> package and dependencies.
26: *
27: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/metadata/src/test/java/org/geotools/metadata/AllTests.java $
28: * @version $Id: AllTests.java 26581 2007-08-17 18:04:30Z desruisseaux $
29: * @author Martin Desruisseaux
30: */
31: public final class AllTests {
32: /**
33: * No need to construct this class.
34: */
35: private AllTests() {
36: }
37:
38: /**
39: * Run the suite from the command line.
40: */
41: public static void main(final String[] args) {
42: org.geotools.util.Logging.GEOTOOLS.forceMonolineConsoleOutput();
43: TestRunner.run(suite());
44: }
45:
46: /**
47: * Returns all suites.
48: */
49: public static Test suite() {
50: final TestSuite suite = new TestSuite("org.geotools.metadata");
51: suite.addTest(org.geotools.resources.XMathTest.suite());
52: suite.addTest(org.geotools.resources.UtilitiesTest.suite());
53: suite
54: .addTest(org.geotools.resources.ResourceBundleTest
55: .suite());
56: suite.addTest(org.geotools.util.MonolineFormatterTest.suite());
57: suite
58: .addTest(org.geotools.util.InternationalStringTest
59: .suite());
60: suite.addTest(org.geotools.util.VersionTest.suite());
61: suite.addTest(org.geotools.util.MeasurementRangeTest.suite());
62: suite.addTest(org.geotools.util.RangeSetTest.suite());
63: suite.addTest(org.geotools.util.DisjointSetTest.suite());
64: suite.addTest(org.geotools.util.KeySortedListTest.suite());
65: suite.addTest(org.geotools.util.CanonicalSetTest.suite());
66: suite.addTest(org.geotools.util.WeakValueHashMapTest.suite());
67: suite.addTest(org.geotools.util.SoftValueHashMapTest.suite());
68: suite.addTest(org.geotools.math.GeometryTest.suite());
69: suite.addTest(org.geotools.factory.AbstractFactoryTest.suite());
70: suite.addTest(org.geotools.factory.FactoryRegistryTest.suite());
71: suite.addTest(org.geotools.factory.FactoryIteratorProviderTest
72: .suite());
73: suite.addTest(org.geotools.factory.GeoToolsTest.suite());
74: suite.addTest(org.geotools.metadata.PropertyAccessorTest
75: .suite());
76: suite.addTest(org.geotools.metadata.MetadataStandardTest
77: .suite());
78: suite.addTest(org.geotools.metadata.CitationsTest.suite());
79: suite.addTest(org.geotools.metadata.ISOTest.suite());
80: return suite;
81: }
82: }
|