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) |
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. |
public void onStart(org.testng.ISuite suite)
onStart
in interface org.testng.ISuiteListener
public void onFinish(org.testng.ISuite suite)
onFinish
in interface org.testng.ISuiteListener
void processSuiteParameters(org.testng.ISuite suite)
iut
argument is retrieved and written to a File that is set as the value of the suite
attribute testSubjectFile
.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 deleteTempFiles(org.testng.ISuite suite)
suite
- The test suite.Copyright © 2024 Open Geospatial Consortium. All rights reserved.