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;
09: * version 2.1 of the License.
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.index.rtree;
17:
18: import junit.framework.Test;
19: import junit.framework.TestCase;
20: import junit.framework.TestSuite;
21: import org.geotools.index.rtree.memory.MemoryPageStoreTest;
22:
23: /**
24: * DOCUMENT ME!
25: *
26: * @author Tommaso Nolli
27: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/shapefile/src/test/java/org/geotools/index/rtree/IndexSuite.java $
28: */
29: public class IndexSuite extends TestCase {
30: public IndexSuite(String testName) {
31: super (testName);
32: }
33:
34: public static void main(java.lang.String[] args) {
35: junit.textui.TestRunner.run(suite());
36: }
37:
38: public static Test suite() {
39: TestSuite suite = new TestSuite("All Index Tests");
40:
41: suite
42: .addTestSuite(org.geotools.index.rtree.fs.FileSystemPageStoreTest.class);
43: suite
44: .addTestSuite(org.geotools.index.rtree.cachefs.FileSystemPageStoreTest.class);
45: suite.addTestSuite(MemoryPageStoreTest.class);
46:
47: suite.addTestSuite(RTreeTest.class);
48:
49: return suite;
50: }
51: }
|