public class AllOperationServerValidation extends DataFixture
| Modifier and Type | Field and Description |
|---|---|
(package private) String |
processId |
dataFile, executeHttpGetUri, executeRequestFileRawDataOutputSubject, executeRequestFileResponseDocumentOutputSubject, executeRequestFileUpdatingResponseDocumentOutputSubject, model, originalSubject, Resource_GML_Path, Resource_SWE_Path, testSubject, testSubjectUri| Constructor and Description |
|---|
AllOperationServerValidation() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeClass() |
String |
CheckXPath2(String xpath,
Document testSubject)
Check XPath2.0
|
void |
DescribeProcessHttpProtocolUsageValidation()
A.4.1.1 DescribeProcess HTTP protocol usage
|
void |
DescribeProcessHttpResponseStatusCodeValidation()
A.4.1.2 DescribeProcess HTTP response status code
1.
|
net.sf.saxon.s9api.XdmValue |
evaluateXPath2(Source xmlSource,
String expr,
Map<String,String> nsBindings)
Evaluates an XPath 2.0 expression using the Saxon s9api interfaces.
|
void |
ExecuteHttpResponseStatusCodeValidation()
A.4.1.2 Execute HTTP Response Status Code
1.
|
void |
GetCapabilitiesHttpProtocolUsageValidation()
A.4.1.1 GetCapabilities HTTP protocol usage
|
void |
GetCapabilitiesHttpResponseStatusCodeValidation()
A.4.1.2 GetCapabilities HTTP response status code
|
HttpURLConnection |
GetConnection(String serviceURL,
String param) |
Map<String,String> |
getStandardBindings() |
String |
postMessage(String xmlString,
String serviceURL) |
String |
sendGetRequest(String serviceURL,
String param) |
CheckObservationTypeCategory, CheckObservationTypeCount, CheckObservationTypeMeasurement, CheckObservationTypeTruth, CheckXPath2, CheckXPath2Modified, CreateValidator, CreateValidatorFromXSD, evaluateXPath2Modified, generateXPathExpression, GetFileViaResourcePath, GetResultTypeHref, obtainTestSubject, SchemaElement, setDataFile, setSchemaModelString processId
public void beforeClass()
throws IOException,
ParserConfigurationException,
SAXException,
net.sf.saxon.s9api.SaxonApiException
IOExceptionParserConfigurationExceptionSAXExceptionnet.sf.saxon.s9api.SaxonApiExceptionpublic void GetCapabilitiesHttpProtocolUsageValidation()
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic void GetCapabilitiesHttpResponseStatusCodeValidation()
throws IOException,
URISyntaxException,
ParserConfigurationException,
SAXException
public void DescribeProcessHttpProtocolUsageValidation()
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic void DescribeProcessHttpResponseStatusCodeValidation()
throws IOException,
URISyntaxException,
ParserConfigurationException,
SAXException
public void ExecuteHttpResponseStatusCodeValidation()
throws IOException,
URISyntaxException,
ParserConfigurationException,
SAXException
public HttpURLConnection GetConnection(String serviceURL, String param) throws IOException
IOExceptionpublic String postMessage(String xmlString, String serviceURL) throws IOException
IOExceptionpublic String sendGetRequest(String serviceURL, String param) throws IOException
IOExceptionpublic String CheckXPath2(String xpath, Document testSubject)
xpath - String denoting an xpath syntaxpublic net.sf.saxon.s9api.XdmValue evaluateXPath2(Source xmlSource, String expr, Map<String,String> nsBindings) throws net.sf.saxon.s9api.SaxonApiException
xmlSource - The XML Source.expr - The XPath expression to be evaluated.nsBindings - A collection of namespace bindings required to evaluate the
XPath expression, where each entry maps a namespace URI (key)
to a prefix (value); this may be null if not needed.net.sf.saxon.s9api.SaxonApiException - If an error occurs while evaluating the expression; this
always wraps some other underlying exception.Copyright © 2021 Open Geospatial Consortium. All rights reserved.