@ParametersAreNonnullByDefault
public class GlobalTextReport
extends java.lang.Object
implements org.testng.IInvokedMethodListener
@Listeners({GlobalTextReport.class})
Use either TextReport
or GlobalTextReport
, never both
Modifier and Type | Field and Description |
---|---|
protected SimpleReport |
report |
Constructor and Description |
---|
GlobalTextReport() |
Modifier and Type | Method and Description |
---|---|
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult) |
protected SimpleReport report
public void beforeInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
beforeInvocation
in interface org.testng.IInvokedMethodListener
public void afterInvocation(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)
afterInvocation
in interface org.testng.IInvokedMethodListener