T - Test typepublic interface TestResultListener<T>
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_GROUPS
String used a groups parameter when the test doesn't belong to any
groups.
|
| Modifier and Type | Method and Description |
|---|---|
void |
notifyError(TestContext<T> context,
Throwable cause)
Notification of the end (error) of one single test.
|
void |
notifyFailure(TestContext<T> context,
Throwable cause)
Notification of the end (failure) of one single test.
|
void |
notifyParameterEnd(String setName,
String parameterName)
Notification of the end of the tests for one parameter.
|
void |
notifyParameterStart(String setName,
String parameterName)
Notification of the start of the tests for one parameter.
|
void |
notifySetEnd(String setName,
String groups)
Notification of the end of a set of test.
|
void |
notifySetStart(String setName,
String groups)
Notification of the start of a set of test.
|
void |
notifySkipped(TestContext<T> context)
Notification of the end (skipped) of one single test.
|
void |
notifyStart(TestContext<T> context)
Notification of the start of one single test.
|
void |
notifySuccess(TestContext<T> context)
Notification of the end (success) of one single test.
|
static final String ALL_GROUPS
void notifySetStart(String setName, String groups)
setName - the setNamegroups - the groups Categoriesvoid notifySetEnd(String setName, String groups)
setName - the setNamegroups - the groups Categoriesvoid notifyStart(TestContext<T> context)
context - the contextvoid notifySuccess(TestContext<T> context)
context - the contextvoid notifyFailure(TestContext<T> context, Throwable cause)
context - the contextcause - the cause of the failurevoid notifyError(TestContext<T> context, Throwable cause)
context - the contextcause - the cause of the errorvoid notifySkipped(TestContext<T> context)
context - the contextvoid notifyParameterStart(String setName, String parameterName)
setName - the Set name.parameterName - the Parameter name.void notifyParameterEnd(String setName, String parameterName)
setName - the Set name.parameterName - the Parameter name.Copyright © 2014. All rights reserved.