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)
TestResultListener
notifyStart
in interface TestResultListener<T>
context
- the contextpublic void notifySuccess(TestContext<T> context)
TestResultListener
notifySuccess
in interface TestResultListener<T>
context
- the contextpublic void notifyFailure(TestContext<T> context, Throwable cause)
TestResultListener
notifyFailure
in interface TestResultListener<T>
context
- the contextcause
- the cause of the failurepublic void notifySetStart(String setName, String groups)
TestResultListener
notifySetStart
in interface TestResultListener<T>
setName
- the setNamegroups
- the groups Categories
public void notifySetEnd(String setName, String groups)
TestResultListener
notifySetEnd
in interface TestResultListener<T>
setName
- the setNamegroups
- the groups Categories
public void notifySkipped(TestContext<T> context)
TestResultListener
notifySkipped
in interface TestResultListener<T>
context
- the contextpublic void notifyError(TestContext<T> context, Throwable cause)
TestResultListener
notifyError
in interface TestResultListener<T>
context
- the contextcause
- the cause of the errorpublic void notifyParameterStart(String setName, String parameterName)
TestResultListener
notifyParameterStart
in interface TestResultListener<T>
setName
- the Set name.parameterName
- the Parameter name.public void notifyParameterEnd(String setName, String parameterName)
TestResultListener
notifyParameterEnd
in interface TestResultListener<T>
setName
- the Set name.parameterName
- the Parameter name.Copyright © 2015 Powerunit. All rights reserved.