Class TestNGTestContextPayload
java.lang.Object
de.qytera.qtaf.core.events.payload.QtafTestContextPayload
de.qytera.qtaf.testng.events.payload.TestNGTestContextPayload
- All Implemented Interfaces:
IQtafTestingContext
A class describing TestNG test context payloads.
-
Field Summary
Fields inherited from class de.qytera.qtaf.core.events.payload.QtafTestContextPayload
endDate, logDirectory, originalEvent, startDate, suiteName, thread -
Constructor Summary
ConstructorsConstructorDescriptionTestNGTestContextPayload(org.testng.ITestContext iTestContext) Creates a new payload instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.testng.ITestContextGet originalEvent.setOriginalEvent(org.testng.ITestContext originalEvent) Set the original context event.Methods inherited from class de.qytera.qtaf.core.events.payload.QtafTestContextPayload
getEndDate, getLogDirectory, getStartDate, getSuiteName, getThread, setEndDate, setLogDirectory, setOriginalEvent, setStartDate, setSuiteName, setThread
-
Constructor Details
-
TestNGTestContextPayload
public TestNGTestContextPayload(org.testng.ITestContext iTestContext) Creates a new payload instance.- Parameters:
iTestContext- the TestNG test context
-
-
Method Details
-
getiTestContext
public org.testng.ITestContext getiTestContext()Description copied from class:QtafTestContextPayloadGet originalEvent.- Specified by:
getiTestContextin interfaceIQtafTestingContext- Overrides:
getiTestContextin classQtafTestContextPayload- Returns:
- originalEvent
-
setOriginalEvent
Set the original context event.- Parameters:
originalEvent- the context event- Returns:
- this
-