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.coverage;
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: /**
26: * Performs all tests for the <code>org.geotools.coverage</code> packages and its dependencies.
27: *
28: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/coverage/src/test/java/org/geotools/coverage/AllTests.java $
29: * @version $Id: AllTests.java 27848 2007-11-12 13:10:32Z desruisseaux $
30: * @author Martin Desruisseaux
31: */
32: public class AllTests extends TestCase {
33: /** No need to construct this class. */
34: private AllTests() {
35: }
36:
37: /**
38: * Run the suite from the command line.
39: */
40: public static void main(final String[] args) {
41: org.geotools.util.logging.Logging.GEOTOOLS
42: .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.coverage");
51: // suite.addTest(org.geotools.referencing. AllTests .suite());
52: suite.addTest(org.geotools.coverage.CategoryTest.suite());
53: suite.addTest(org.geotools.coverage.CategoryListTest.suite());
54: suite
55: .addTest(org.geotools.coverage.SampleDimensionTest
56: .suite());
57: suite.addTest(org.geotools.coverage.ScaledColorSpaceTest
58: .suite());
59: suite.addTest(org.geotools.coverage.grid.GridGeometryTest
60: .suite());
61: suite.addTest(org.geotools.coverage.grid.SampleTranscoderTest
62: .suite());
63: suite.addTest(org.geotools.coverage.grid.FloatRasterTest
64: .suite());
65: suite.addTest(org.geotools.coverage.grid.GridCoverageTest
66: .suite());
67: suite.addTest(org.geotools.coverage.grid.InterpolatorTest
68: .suite());
69: suite.addTest(org.geotools.coverage.grid.ScaleTest.suite());
70: suite.addTest(org.geotools.coverage.grid.ResampleTest.suite());
71: suite.addTest(org.geotools.coverage.grid.FilteredSubsampleTest
72: .suite());
73: suite.addTest(org.geotools.coverage.grid.SubsampleAverageTest
74: .suite());
75: suite
76: .addTest(org.geotools.coverage.grid.OperationsTest
77: .suite());
78: suite.addTest(org.geotools.coverage.processing.ColorMapTest
79: .suite());
80: return suite;
81: }
82: }
|