public abstract class AbstractBaseGetTileFixture extends AbstractBaseGetFixture
docBuilder, layerInfo, NS_BINDINGS, reqEntity, rspEntity, wmtsCapabilities, wmtsClient
Constructor and Description |
---|
AbstractBaseGetTileFixture() |
Modifier and Type | Method and Description |
---|---|
void |
buildGetTileRequest()
Builds a {WmtsKvpRequest} representing a GetTile request.
|
void |
setResultDirectory(org.testng.ITestContext testContext) |
protected void |
storeResponseImage(com.sun.jersey.api.client.ClientResponse rsp,
String testGroup,
String testName,
String requestFormat)
Stores the image in a the output directory of the testsuite:
testSUiteOutputDirectory/testGroup/testName.extension
|
protected void |
storeSoapResponseImage(SOAPMessage soapResponse,
String testGroup,
String testName,
String requestFormat) |
void |
verifyGetTileSupported() |
addAttributesOnTestFailure, addAttributesOnTestSuccess, buildGetCapabilitiesResponse, initBaseFixture, initParser, setWmtsClient
public void buildGetTileRequest() throws XPathExpressionException
XPathExpressionException
- in case bad XPathpublic void setResultDirectory(org.testng.ITestContext testContext)
public void verifyGetTileSupported()
protected void storeResponseImage(com.sun.jersey.api.client.ClientResponse rsp, String testGroup, String testName, String requestFormat)
rsp
- containing the image, rsp.getEntityInputStream() is used to retrieve the content as stream, never
null
testGroup
- name of the test group (will be the name of the directory to create), never null
testName
- name of the test (will be the name of the file to create), never null
requestFormat
- the mime type of the image, never null
protected void storeSoapResponseImage(SOAPMessage soapResponse, String testGroup, String testName, String requestFormat)
Copyright © 2022 Open Geospatial Consortium. All rights reserved.