/*
* Copyright (c) 2001 - 20089 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.test;
import org.geoserver.data.test.MockData;
/**
* Mock data for testing SRS encoding in app-schema {@link SRSWfsTest}
*
* Inspired by {@link MockData}.
*
* @author Rini Angreani, Curtin University of Technology
*/
public class SRSMockData extends AbstractAppSchemaMockData {
/**
* Prefix for ex namespace.
*/
protected static final String EX_PREFIX = "ex";
/**
* URI for ex namespace.
*/
protected static final String EX_URI = "http://example.com";
/**
* @see org.geoserver.test.AbstractAppSchemaMockData#addContent()
*/
@Override
public void addContent() {
putNamespace(EX_PREFIX, EX_URI);
addFeatureType(EX_PREFIX, "geomContainer", "SRSTest.xml",
"SRSTestPropertyfile.properties", "NestedGeometry.xsd");
}
}