01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or (at your option) any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools;
17:
18: import java.util.logging.Logger;
19:
20: import junit.framework.Test;
21: import junit.framework.TestCase;
22: import junit.framework.TestSuite;
23:
24: import org.geotools.feature.FeatureFlatTest;
25: import org.geotools.filter.ExpressionTest;
26: import org.geotools.filter.FilterEqualsTest;
27: import org.geotools.filter.FilterTest;
28: import org.geotools.styling.StyleFactoryImplTest;
29: import org.geotools.styling.TextSymbolTest;
30:
31: /**
32: *
33: * @author jamesm
34: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/main/src/test/java/org/geotools/DefaultCoreSuite.java $
35: */
36: public class DefaultCoreSuite extends TestCase {
37: private static final Logger LOGGER = org.geotools.util.logging.Logging
38: .getLogger("org.geotools.core");
39:
40: public DefaultCoreSuite(java.lang.String testName) {
41: super (testName);
42: }
43:
44: public static void main(java.lang.String[] args) {
45: org.geotools.util.logging.Logging.GEOTOOLS
46: .forceMonolineConsoleOutput();
47: junit.textui.TestRunner.run(suite());
48: }
49:
50: public static Test suite() {
51: //_log = org.geotools.util.logging.Logging.getLogger(DefaultCoreSuite.class);
52:
53: TestSuite suite = new TestSuite("All core tests");
54: suite.addTestSuite(FeatureFlatTest.class);
55: suite.addTestSuite(ExpressionTest.class);
56: suite.addTestSuite(FilterEqualsTest.class);
57: suite.addTestSuite(FilterTest.class);
58: suite.addTestSuite(StyleFactoryImplTest.class);
59: suite.addTestSuite(TextSymbolTest.class);
60: return suite;
61: }
62: }
|