/* (c) 2015 - 2016 Open Source Geospatial Foundation - all rights reserved
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.test.web;
import java.util.Arrays;
import org.geoserver.data.test.SystemTestData;
import org.geoserver.test.FeatureChainingMockData;
import org.junit.Test;
public class Gml311LinksTest extends AbstractMapPreviewPageTest {
public Gml311LinksTest() {
super(Arrays.asList("http://localhost:80/context/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=gsml:MappedFeature&outputFormat=gml3&maxFeatures=50",
"http://localhost:80/context/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=gsml:GeologicUnit&outputFormat=gml3&maxFeatures=50",
"http://localhost:80/context/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=ex:FirstParentFeature&outputFormat=gml3&maxFeatures=50",
"http://localhost:80/context/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=ex:SecondParentFeature&outputFormat=gml3&maxFeatures=50",
"http://localhost:80/context/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=ex:ParentFeature&outputFormat=gml3&maxFeatures=50",
"http://localhost:80/context/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=om:Observation&outputFormat=gml3&maxFeatures=50"));
}
@Override
protected SystemTestData createTestData() throws Exception {
return new FeatureChainingMockData();
}
@Test
public void testGml311Links() {
super.testAppSchemaGmlLinks();
}
}