public abstract class EventAdapter extends java.lang.Object implements Event
| Constructor and Description |
|---|
EventAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
abortTest(TestContext context,
EventProperties properties)
Called for test abort.
|
void |
afterTest(TestContext context,
EventProperties properties)
Called after the test run is done.
|
void |
beforeTest(TestContext context,
EventProperties properties)
Called before the test run starts.
|
void |
checkTest(TestContext context,
EventProperties properties)
Called to check test results.
|
void |
customEvent(TestContext context,
EventProperties properties,
ScheduleEvent scheduleEvent)
Called for each custom event, according to the custom even schedule.
|
void |
keepAlive(TestContext context,
EventProperties properties)
Called for each keep alive event for this test run.
|
public void beforeTest(TestContext context, EventProperties properties)
EventbeforeTest in interface Eventcontext - the test run contextproperties - e.g. REST_URL="https://my-rest-url"public void afterTest(TestContext context, EventProperties properties)
Eventpublic void keepAlive(TestContext context, EventProperties properties)
Eventpublic void abortTest(TestContext context, EventProperties properties)
Eventpublic void checkTest(TestContext context, EventProperties properties)
Eventpublic void customEvent(TestContext context, EventProperties properties, ScheduleEvent scheduleEvent)
EventcustomEvent in interface Eventcontext - the test run contextproperties - e.g. REST_URL="https://my-rest-url"scheduleEvent - the custom event, use to execute specific behaviour in the event handler