Class SuiteFixtureListener
java.lang.Object
org.opengeospatial.cite.wmts10.ets.core.SuiteFixtureListener
- All Implemented Interfaces:
org.testng.ISuiteListener,org.testng.ITestNGListener
A listener that performs various tasks before and after a test suite is run, usually
concerned with maintaining a shared test suite fixture. Since this listener is loaded
using the ServiceLoader mechanism, its methods will be called before those of other
suite listeners listed in the test suite definition and before any annotated
configuration methods.
Attributes set on an ISuite instance are not inherited by constituent test group
contexts (ITestContext). However, suite attributes are still accessible from lower
contexts.
- See Also:
-
ISuite interface
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonFinish(org.testng.ISuite suite) voidonStart(org.testng.ISuite suite) (package private) voidprocessWmtsParameter(org.testng.ISuite suite) Processes the "wmts" test suite parameter that specifies a URI reference for the service description (capabilities document).
-
Constructor Details
-
SuiteFixtureListener
public SuiteFixtureListener()
-
-
Method Details
-
onStart
public void onStart(org.testng.ISuite suite) - Specified by:
onStartin interfaceorg.testng.ISuiteListener
-
onFinish
public void onFinish(org.testng.ISuite suite) - Specified by:
onFinishin interfaceorg.testng.ISuiteListener
-
processWmtsParameter
void processWmtsParameter(org.testng.ISuite suite) Processes the "wmts" test suite parameter that specifies a URI reference for the service description (capabilities document). The URI is dereferenced and the entity is parsed; the resulting Document object is set as the value of thetestSubjectsuite attribute.- Parameters:
suite- An ISuite object representing a TestNG test suite.
-