public class SuiteFixtureListener extends Object implements org.testng.ISuiteListener
ISuite interface| Constructor and Description |
|---|
SuiteFixtureListener() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
deleteTempFiles(org.testng.ISuite suite)
Deletes temporary files created during the test run if TestSuiteLogger is
enabled at the INFO level or higher (they are left intact at the CONFIG
level or lower).
|
void |
onFinish(org.testng.ISuite suite)
Performs various cleanup tasks when the test run is completed.
|
void |
onStart(org.testng.ISuite suite) |
(package private) void |
processSuiteParameters(org.testng.ISuite suite)
Processes test suite arguments and sets suite attributes accordingly.
|
(package private) void |
registerClientComponent(org.testng.ISuite suite)
A 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. |
(package private) void |
registerSchemas(org.testng.ISuite suite)
Builds immutable
Schema objects suitable for validating
the content of CSW 3.0 response entities. |
public void onStart(org.testng.ISuite suite)
onStart in interface org.testng.ISuiteListenerpublic void onFinish(org.testng.ISuite suite)
onFinish in interface org.testng.ISuiteListenersuite - The test suite.void processSuiteParameters(org.testng.ISuite suite)
iut argument--expected to
be an OGC service capabilities document--is parsed and the resulting
Document is set as the value of the
testSubject attribute.suite - An ISuite object representing a TestNG test suite.void registerClientComponent(org.testng.ISuite suite)
SuiteAttribute.CLIENT attribute; it may be subsequently accessed
via the ITestContext.getSuite() method.suite - The test suite instance.void registerSchemas(org.testng.ISuite suite)
Schema objects suitable for validating
the content of CSW 3.0 response entities. The schemas are added to the
suite fixture as the value of the attributes identified in the following
table.
| SuiteAttribute | Schema |
|---|---|
SuiteAttribute.CSW_SCHEMA |
OGC 12-176r6, 7.9(a): cswAll.xsd |
SuiteAttribute.ATOM_SCHEMA |
RFC 4287, Appendix B: RELAX NG Compact Schema |
suite - The test suite to be run.void deleteTempFiles(org.testng.ISuite suite)
suite - The test suite.Copyright © 2018 Open Geospatial Consortium. All rights reserved.