Class MdcTestListener
java.lang.Object
com.xebialabs.platform.test.testng.MdcTestListener
- All Implemented Interfaces:
org.testng.IInvokedMethodListener,org.testng.ITestNGListener
-
Field Summary
Fields -
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) protected StringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.testng.IInvokedMethodListener
afterInvocation, beforeInvocationMethods inherited from interface org.testng.ITestNGListener
isEnabled
-
Field Details
-
MDC_KEY_TEST
- See Also:
-
MDC_KEY_LOG
- See Also:
-
MDC_KEYS
-
-
Constructor Details
-
MdcTestListener
public MdcTestListener()
-
-
Method Details
-
getName
-
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
-