/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2004-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.data.wfs.v1_0_0; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.util.NoSuchElementException; import javax.naming.OperationNotSupportedException; import junit.framework.TestCase; import org.geotools.feature.IllegalAttributeException; import org.xml.sax.SAXException; /** * summary sentence. * <p> * Paragraph ... * </p><p> * Responsibilities: * <ul> * <li> * <li> * </ul> * </p><p> * Example:<pre><code> * GeoServer x = new GeoServer( ... ); * TODO code example * </code></pre> * </p> * @author dzwiers * @since 0.6.0 * * * @source $URL$ */ public class OrdinanceTest extends TestCase { private URL url = null; public OrdinanceTest() throws MalformedURLException{ // 500 error // url = new URL("http://cavalier.ordnancesurvey.co.uk/magnesium/wfs/OSNL?"); } public void testFeatureType() throws NoSuchElementException, IOException, SAXException{ // WFSDataStoreReadTest.doFeatureType(url,true,true,0); } // TIMES OUT public void testFeatureReader() throws NoSuchElementException, IOException, IllegalAttributeException, SAXException{ // WFSDataStoreReadTest.doFeatureReader(url,true,true,0); } public void testFeatureReaderWithFilter() throws NoSuchElementException, OperationNotSupportedException, IllegalAttributeException, IOException, SAXException{ // WFSDataStoreReadTest.doFeatureReaderWithFilter(url,true,true,0); } }