Class QtafTestContextPayload
java.lang.Object
de.qytera.qtaf.core.events.payload.QtafTestContextPayload
- All Implemented Interfaces:
IQtafTestingContext
- Direct Known Subclasses:
TestNGTestContextPayload
Entity class for payloads of TestContext events.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateEnd date of the test suite.protected StringDirectory where log files are persisted.protected ObjectOriginal event fired by the test framework (TestNG, Cucumber).protected DateStart date of the test suite.protected StringName of the test suite.protected ThreadThis attribute hold information about the thread the event was fired in. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet endDate.Get originalEvent.Get logDirectory.Get startDate.Get suiteName.Get thread.setEndDate(Date endDate) Set endDate.setLogDirectory(String logDirectory) Set logDirectory.setOriginalEvent(Object originalEvent) Set originalEvent.setStartDate(Date startDate) Set startDate.setSuiteName(String suiteName) Set suiteName.Set thread.
-
Field Details
-
suiteName
Name of the test suite. -
startDate
Start date of the test suite. -
endDate
End date of the test suite. -
logDirectory
Directory where log files are persisted. -
originalEvent
Original event fired by the test framework (TestNG, Cucumber). -
thread
This attribute hold information about the thread the event was fired in.
-
-
Constructor Details
-
QtafTestContextPayload
public QtafTestContextPayload()
-
-
Method Details
-
getSuiteName
Get suiteName.- Specified by:
getSuiteNamein interfaceIQtafTestingContext- Returns:
- suiteName
-
setSuiteName
Set suiteName.- Parameters:
suiteName- SuiteName- Returns:
- this
-
getStartDate
Get startDate.- Specified by:
getStartDatein interfaceIQtafTestingContext- Returns:
- startDate
-
setStartDate
Set startDate.- Parameters:
startDate- StartDate- Returns:
- this
-
getEndDate
Get endDate.- Specified by:
getEndDatein interfaceIQtafTestingContext- Returns:
- endDate
-
setEndDate
Set endDate.- Parameters:
endDate- EndDate- Returns:
- this
-
getLogDirectory
Get logDirectory.- Specified by:
getLogDirectoryin interfaceIQtafTestingContext- Returns:
- logDirectory
-
setLogDirectory
Set logDirectory.- Parameters:
logDirectory- LogDirectory- Returns:
- this
-
getiTestContext
Get originalEvent.- Specified by:
getiTestContextin interfaceIQtafTestingContext- Returns:
- originalEvent
-
setOriginalEvent
Set originalEvent.- Parameters:
originalEvent- OriginalEvent- Returns:
- this
-
getThread
Get thread.- Returns:
- thread
-
setThread
Set thread.- Parameters:
thread- Thread- Returns:
- this
-