public class CommonFixture extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT_PKG_PATH
Root test suite package (absolute path).
|
protected Document |
testRequestSet
DOM Document with secure client request data, see
RequestRepresenter for more details. |
protected String |
testServiceType
Service type string from test run properties
|
| Constructor and Description |
|---|
CommonFixture() |
| Modifier and Type | Method and Description |
|---|---|
void |
initCommonFixture(ITestContext testContext)
Initializes the common test fixture with a client component for
interacting with HTTP endpoints.
|
void |
obtainIUT(ITestContext testContext)
Obtain the Implementation Under Test (IUT) from the ISuite context.
|
void |
obtainTestServiceType(ITestContext testContext)
Obtains the test service type from the ISuite context.
|
public static final String ROOT_PKG_PATH
protected Document testRequestSet
RequestRepresenter for more details.protected String testServiceType
public void initCommonFixture(ITestContext testContext)
testContext - The test context that contains all the information for
a test run, including suite attributes.public void obtainIUT(ITestContext testContext) throws ParserConfigurationException
RequestRepresenter for XML structure details.testContext - The test (group) context.ParserConfigurationException - Could not create new document builderpublic void obtainTestServiceType(ITestContext testContext)
SuiteAttribute.TEST_SERVICE_TYPE should
evaluate to a string representing an OGC Web Service type.
This method can be used to check if this set of tests should apply to the service type
as the service type implies a specific conformance class.testContext - The test (group) context.Copyright © 2021 Open Geospatial Consortium. All rights reserved.