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 String
-
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
-