public class SuiteFixtureListener extends Object implements ISuiteListener
ISuite interface| Constructor and Description |
|---|
SuiteFixtureListener() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
buildKMLSchemas(ISuite suite)
Builds immutable
Schema objects suitable for validating
the content of a KML 2.x document. |
void |
onFinish(ISuite suite) |
void |
onStart(ISuite suite) |
(package private) void |
processSuiteParameters(ISuite suite)
Processes test suite arguments and sets suite attributes accordingly.
|
(package private) void |
registerHttpClient(ISuite suite)
An JAX-RS Client component is added to the suite fixture as the value of
the
SuiteAttribute.CLIENT attribute; it may be subsequently
accessed via the ITestContext.getSuite() method. |
public void onStart(ISuite suite)
onStart in interface ISuiteListenervoid buildKMLSchemas(ISuite suite)
Schema objects suitable for validating
the content of a KML 2.x document. The schemas are added to the suite
fixture as the value of the attributes identified in the following table.
| SuiteAttribute | Schema |
|---|---|
SuiteAttribute.KML23_SCHEMA |
ogckml23_xsd11.xsd (OGC KML 2.3, OGC 12-007) |
SuiteAttribute.KML22_SCHEMA |
ogckml22.xsd (OGC KML 2.2, OGC 07-147) |
suite - The test suite to be run.public void onFinish(ISuite suite)
onFinish in interface ISuiteListenervoid processSuiteParameters(ISuite suite)
kml argument is parsed
(or unpacked first if it's a KMZ resource) and the resulting Document is
set as the value of the "testSubject" attribute. The level of conformance
assessment is determined by the value of the lvl
argument (default value: 1).suite - An ISuite object representing a TestNG test suite.void registerHttpClient(ISuite suite)
SuiteAttribute.CLIENT attribute; it may be subsequently
accessed via the ITestContext.getSuite() method.suite - The test suite instance.Copyright © 2016 Open Geospatial Consortium. All rights reserved.