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 javax.naming.OperationNotSupportedException;
24:
25: import junit.framework.TestCase;
26:
27: import org.geotools.feature.IllegalAttributeException;
28: import org.xml.sax.SAXException;
29:
30: /**
31: * summary sentence.
32: * <p>
33: * Paragraph ...
34: * </p><p>
35: * Responsibilities:
36: * <ul>
37: * <li>
38: * <li>
39: * </ul>
40: * </p><p>
41: * Example:<pre><code>
42: * GeoServer x = new GeoServer( ... );
43: * TODO code example
44: * </code></pre>
45: * </p>
46: * @author dzwiers
47: * @since 0.6.0
48: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/wfs/src/test/java/org/geotools/data/wfs/GaldosTest.java $
49: */
50: public class GaldosTest extends TestCase {
51:
52: private URL url = null;
53:
54: public GaldosTest() throws MalformedURLException {
55: url = new URL(
56: "http://wfs.galdosinc.com:8680/wfs/http?Request=GetCapabilities&service=WFS");
57: }
58:
59: // Galdos is inconsistent wth there namespaces.
60: public void testFeatureType() throws NoSuchElementException,
61: IOException, SAXException {
62: // WFSDataStoreReadTest.doFeatureType(url,false,true,1);
63: }
64:
65: public void testFeatureReader() throws NoSuchElementException,
66: IOException, IllegalAttributeException, SAXException {
67: // WFSDataStoreReadTest.doFeatureReader(url,false,true,1);
68: }
69:
70: public void testFeatureReaderWithFilter()
71: throws NoSuchElementException,
72: OperationNotSupportedException, IllegalAttributeException,
73: IOException, SAXException {
74: // WFSDataStoreReadTest.doFeatureReaderWithFilter(url,false,true,1);
75: }
76: }
|