public class PowerUnitProviderListener<T> extends Object implements TestResultListener<T>
ALL_GROUPS| Constructor and Description |
|---|
PowerUnitProviderListener(org.apache.maven.surefire.report.ConsoleLogger consoleLogger,
org.apache.maven.surefire.report.RunListener rl,
Class<?> underTest) |
| 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.
|
public PowerUnitProviderListener(org.apache.maven.surefire.report.ConsoleLogger consoleLogger, org.apache.maven.surefire.report.RunListener rl, Class<?> underTest)
public void notifyStart(TestContext<T> context)
TestResultListenernotifyStart in interface TestResultListener<T>context - the contextpublic void notifySuccess(TestContext<T> context)
TestResultListenernotifySuccess in interface TestResultListener<T>context - the contextpublic void notifyFailure(TestContext<T> context, Throwable cause)
TestResultListenernotifyFailure in interface TestResultListener<T>context - the contextcause - the cause of the failurepublic void notifySetStart(String setName, String groups)
TestResultListenernotifySetStart in interface TestResultListener<T>setName - the setNamegroups - the groups Categoriespublic void notifySetEnd(String setName, String groups)
TestResultListenernotifySetEnd in interface TestResultListener<T>setName - the setNamegroups - the groups Categoriespublic void notifySkipped(TestContext<T> context)
TestResultListenernotifySkipped in interface TestResultListener<T>context - the contextpublic void notifyError(TestContext<T> context, Throwable cause)
TestResultListenernotifyError in interface TestResultListener<T>context - the contextcause - the cause of the errorpublic void notifyParameterStart(String setName, String parameterName)
TestResultListenernotifyParameterStart in interface TestResultListener<T>setName - the Set name.parameterName - the Parameter name.public void notifyParameterEnd(String setName, String parameterName)
TestResultListenernotifyParameterEnd in interface TestResultListener<T>setName - the Set name.parameterName - the Parameter name.Copyright © 2014. All rights reserved.