Class FailFastListener
java.lang.Object
org.apache.maven.surefire.testng.utils.FailFastListener
- All Implemented Interfaces:
org.testng.ITestListener
,org.testng.ITestNGListener
Sends an even in
FailFastEventsSingleton
that failure has appeared.- Since:
- 2.19
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onFinish
(org.testng.ITestContext context) void
onStart
(org.testng.ITestContext context) void
onTestFailedButWithinSuccessPercentage
(org.testng.ITestResult result) void
onTestFailure
(org.testng.ITestResult result) void
onTestSkipped
(org.testng.ITestResult result) void
onTestStart
(org.testng.ITestResult result) void
onTestSuccess
(org.testng.ITestResult result) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.ITestListener
onTestFailedWithTimeout
-
Field Details
-
stoppable
-
-
Constructor Details
-
FailFastListener
-
-
Method Details
-
onTestStart
public void onTestStart(org.testng.ITestResult result) - Specified by:
onTestStart
in interfaceorg.testng.ITestListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result) - Specified by:
onTestSuccess
in interfaceorg.testng.ITestListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult result) - Specified by:
onTestFailure
in interfaceorg.testng.ITestListener
-
onTestSkipped
public void onTestSkipped(org.testng.ITestResult result) - Specified by:
onTestSkipped
in interfaceorg.testng.ITestListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) - Specified by:
onTestFailedButWithinSuccessPercentage
in interfaceorg.testng.ITestListener
-
onStart
public void onStart(org.testng.ITestContext context) - Specified by:
onStart
in interfaceorg.testng.ITestListener
-
onFinish
public void onFinish(org.testng.ITestContext context) - Specified by:
onFinish
in interfaceorg.testng.ITestListener
-