Class DefaultListener
java.lang.Object
org.junit.support.testng.engine.DefaultListener
- All Implemented Interfaces:
org.testng.IAlterSuiteListener, org.testng.IClassListener, org.testng.IConfigurationListener, org.testng.IInvokedMethodListener, org.testng.ITestListener, org.testng.ITestNGListener
- Direct Known Subclasses:
ConfiguringListener, DiscoveryListener, ExecutionListener, LoggingListener
abstract class DefaultListener
extends Object
implements org.testng.IClassListener, org.testng.ITestListener, org.testng.IConfigurationListener, org.testng.IAlterSuiteListener, org.testng.IInvokedMethodListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) voidafterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult, org.testng.ITestContext context) voidvoidbeforeConfiguration(org.testng.ITestResult tr) voidbeforeConfiguration(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) voidbeforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) voidbeforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult, org.testng.ITestContext context) voidonAfterClass(org.testng.ITestClass testClass) voidonBeforeClass(org.testng.ITestClass testClass) voidonConfigurationFailure(org.testng.ITestResult tr) voidonConfigurationFailure(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) voidonConfigurationSkip(org.testng.ITestResult tr) voidonConfigurationSkip(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) voidonConfigurationSuccess(org.testng.ITestResult tr) voidonConfigurationSuccess(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) voidonFinish(org.testng.ITestContext context) voidonStart(org.testng.ITestContext context) voidonTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) voidonTestFailedWithTimeout(org.testng.ITestResult result) voidonTestFailure(org.testng.ITestResult result) voidonTestSkipped(org.testng.ITestResult result) voidonTestStart(org.testng.ITestResult result) voidonTestSuccess(org.testng.ITestResult result) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testng.ITestNGListener
isEnabled
-
Constructor Details
-
DefaultListener
DefaultListener()
-
-
Method Details
-
alter
- Specified by:
alterin interfaceorg.testng.IAlterSuiteListener
-
onBeforeClass
public void onBeforeClass(org.testng.ITestClass testClass) - Specified by:
onBeforeClassin interfaceorg.testng.IClassListener
-
onAfterClass
public void onAfterClass(org.testng.ITestClass testClass) - Specified by:
onAfterClassin interfaceorg.testng.IClassListener
-
onTestStart
public void onTestStart(org.testng.ITestResult result) - Specified by:
onTestStartin interfaceorg.testng.ITestListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result) - Specified by:
onTestSuccessin interfaceorg.testng.ITestListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult result) - Specified by:
onTestFailurein interfaceorg.testng.ITestListener
-
onTestSkipped
public void onTestSkipped(org.testng.ITestResult result) - Specified by:
onTestSkippedin interfaceorg.testng.ITestListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) - Specified by:
onTestFailedButWithinSuccessPercentagein interfaceorg.testng.ITestListener
-
onTestFailedWithTimeout
public void onTestFailedWithTimeout(org.testng.ITestResult result) - Specified by:
onTestFailedWithTimeoutin interfaceorg.testng.ITestListener
-
onStart
public void onStart(org.testng.ITestContext context) - Specified by:
onStartin interfaceorg.testng.ITestListener
-
onFinish
public void onFinish(org.testng.ITestContext context) - Specified by:
onFinishin interfaceorg.testng.ITestListener
-
onConfigurationSuccess
public void onConfigurationSuccess(org.testng.ITestResult tr) - Specified by:
onConfigurationSuccessin interfaceorg.testng.IConfigurationListener
-
onConfigurationSuccess
public void onConfigurationSuccess(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
onConfigurationSuccessin interfaceorg.testng.IConfigurationListener
-
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult tr) - Specified by:
onConfigurationFailurein interfaceorg.testng.IConfigurationListener
-
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
onConfigurationFailurein interfaceorg.testng.IConfigurationListener
-
onConfigurationSkip
public void onConfigurationSkip(org.testng.ITestResult tr) - Specified by:
onConfigurationSkipin interfaceorg.testng.IConfigurationListener
-
onConfigurationSkip
public void onConfigurationSkip(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
onConfigurationSkipin interfaceorg.testng.IConfigurationListener
-
beforeConfiguration
public void beforeConfiguration(org.testng.ITestResult tr) - Specified by:
beforeConfigurationin interfaceorg.testng.IConfigurationListener
-
beforeConfiguration
public void beforeConfiguration(org.testng.ITestResult tr, org.testng.ITestNGMethod tm) - Specified by:
beforeConfigurationin interfaceorg.testng.IConfigurationListener
-
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) - Specified by:
beforeInvocationin interfaceorg.testng.IInvokedMethodListener
-
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) - Specified by:
afterInvocationin interfaceorg.testng.IInvokedMethodListener
-
beforeInvocation
public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult, org.testng.ITestContext context) - Specified by:
beforeInvocationin interfaceorg.testng.IInvokedMethodListener
-
afterInvocation
public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult, org.testng.ITestContext context) - Specified by:
afterInvocationin interfaceorg.testng.IInvokedMethodListener
-