Package io.trino.testng.services
Class LogTestDurationListener
java.lang.Object
io.trino.testng.services.LogTestDurationListener
- All Implemented Interfaces:
org.testng.IClassListener,org.testng.IExecutionListener,org.testng.IInvokedMethodListener,org.testng.ITestNGListener
public class LogTestDurationListener
extends Object
implements org.testng.IExecutionListener, org.testng.IClassListener, org.testng.IInvokedMethodListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) voidbeforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult) voidonAfterClass(org.testng.ITestClass testClass) voidonBeforeClass(org.testng.ITestClass testClass) voidvoid
-
Constructor Details
-
LogTestDurationListener
public LogTestDurationListener()
-
-
Method Details
-
onExecutionStart
public void onExecutionStart()- Specified by:
onExecutionStartin interfaceorg.testng.IExecutionListener
-
onExecutionFinish
public void onExecutionFinish()- Specified by:
onExecutionFinishin interfaceorg.testng.IExecutionListener
-
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
-
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
-