01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2004-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.data.wfs;
17:
18: import java.io.IOException;
19: import java.net.MalformedURLException;
20: import java.net.URL;
21: import java.util.NoSuchElementException;
22:
23: import junit.framework.TestCase;
24:
25: import org.geotools.feature.IllegalAttributeException;
26: import org.xml.sax.SAXException;
27:
28: /**
29: * summary sentence.
30: * <p>
31: * Paragraph ...
32: * </p><p>
33: * Responsibilities:
34: * <ul>
35: * <li>
36: * <li>
37: * </ul>
38: * </p><p>
39: * Example:<pre><code>
40: * GeoServer x = new GeoServer( ... );
41: * TODO code example
42: * </code></pre>
43: * </p>
44: * @author dzwiers
45: * @since 0.6.0
46: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/wfs/src/test/java/org/geotools/data/wfs/CarisTest.java $
47: */
48: public class CarisTest extends TestCase {
49:
50: private URL url = null;
51:
52: public CarisTest() throws MalformedURLException {
53: url = new URL(
54: "http://gp.holonics.ca/wfs/chartswfs?REQUEST=GetCapabilities&VERSION=1.0.0&SERVICE=WFS");
55: }
56:
57: public void testFeatureType() throws NoSuchElementException,
58: IOException, SAXException {
59: // WFSDataStoreReadTest.doFeatureType(url,false,true,0);
60: }
61:
62: public void testFeatureReader() throws NoSuchElementException,
63: IOException, IllegalAttributeException, SAXException {
64: // epsg code unknown
65: // WFSDataStoreReadTest.doFeatureReader(url,false,false,0);
66: }
67:
68: public void testFeatureReaderWithFilter()
69: throws NoSuchElementException, IllegalAttributeException,
70: IOException, SAXException {
71: // WFSDataStoreReadTest.doFeatureReaderWithFilter(url,false,true,0);
72: }
73: }
|