Package org.geotools.data.wfs.internal.v1_1

Examples of org.geotools.data.wfs.internal.v1_1.MapServerTest


    public void testGetFeatureWithNorthEastAxisOrderOutputEPSG4326() throws Exception {
     
      final InputStream dataStream = TestData.openStream(this, "axisorder/GetFeatureById4326.xml");
        TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
                "UTF-8", dataStream);
        TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);       
        createTestProtocol("axisorder/GetCapabilities.xml", mockHttp);
       
        // axis order used will be NORTH / EAST
        wfs.setAxisOrderOverride(WFSDataStoreFactory.AXIS_ORDER_COMPLIANT, WFSDataStoreFactory.AXIS_ORDER_COMPLIANT);
       
View Full Code Here


    public void testGetFeatureWithNorthEastAxisOrderFilter() throws Exception {
       
        final InputStream dataStream = TestData.openStream(this, "axisorder/GetFeaturesByBBox.xml");
        TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
                "UTF-8", dataStream);
        TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);
        createTestProtocol("axisorder/GetCapabilities.xml", mockHttp);

        // override the describe feature type url so it loads from the test resource
        URL describeUrl = TestData.getResource(this, "axisorder/DescribeFeatureType.xsd");
        wfs.setDescribeFeatureTypeURLOverride(describeUrl);
View Full Code Here

    public void testGetFeatureWithEastNorthAxisOrderFilter() throws Exception {
       
        final InputStream dataStream = TestData.openStream(this, "axisorder/GetFeaturesByBBox.xml");
        TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
                "UTF-8", dataStream);
        TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);
        createTestProtocol("axisorder/GetCapabilities.xml", mockHttp);

        // override the describe feature type url so it loads from the test resource
        URL describeUrl = TestData.getResource(this, "axisorder/DescribeFeatureType.xsd");
        wfs.setDescribeFeatureTypeURLOverride(describeUrl);
View Full Code Here

    public void testGetFeatureWithCompliantAxisOrderFilter() throws Exception {
       
        final InputStream dataStream = TestData.openStream(this, "axisorder/GetFeaturesByBBox.xml");
        TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
                "UTF-8", dataStream);
        TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);
        createTestProtocol("axisorder/GetCapabilities.xml", mockHttp);

        // override the describe feature type url so it loads from the test resource
        URL describeUrl = TestData.getResource(this, "axisorder/DescribeFeatureType.xsd");
        wfs.setDescribeFeatureTypeURLOverride(describeUrl);
View Full Code Here

    @Test
    public void testGetFeatureWithEastNorthAxisOrderOutputEPSG4326() throws Exception {       
      final InputStream dataStream = TestData.openStream(this, "axisorder/GetFeatureById4326.xml");
        TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
                "UTF-8", dataStream);
        TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);
        createTestProtocol("axisorder/GetCapabilities.xml", mockHttp);

        // override the describe feature type url so it loads from the test resource
        URL describeUrl = TestData.getResource(this, "axisorder/DescribeFeatureType.xsd");
        wfs.setDescribeFeatureTypeURLOverride(describeUrl);
View Full Code Here

    @Test
    public void testGetFeatureWithEastNorthAxisOrderOutputEPSG3857() throws Exception {       
      final InputStream dataStream = TestData.openStream(this, "axisorder/GetFeatureById.xml");
        TestHttpResponse httpResponse = new TestHttpResponse("text/xml; subtype=gml/3.1.1",
                "UTF-8", dataStream);
        TestHttpProtocol mockHttp = new TestHttpProtocol(httpResponse);
        createTestProtocol("axisorder/GetCapabilities.xml", mockHttp);

        // override the describe feature type url so it loads from the test resource
        URL describeUrl = TestData.getResource(this, "axisorder/DescribeFeatureType.xsd");
        wfs.setDescribeFeatureTypeURLOverride(describeUrl);
View Full Code Here

TOP

Related Classes of org.geotools.data.wfs.internal.v1_1.MapServerTest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.