public class AbstractTestListener extends TestArgsListener
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.ThreadLocal<com.qaprosoft.carina.core.foundation.report.TestResultItem> |
configFailures |
| Constructor and Description |
|---|
AbstractTestListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeConfiguration(org.testng.ITestResult result) |
protected com.qaprosoft.carina.core.foundation.report.TestResultItem |
createTestResult(org.testng.ITestResult result,
com.qaprosoft.carina.core.foundation.report.TestResultType resultType,
java.lang.String failReason,
java.lang.String description) |
protected java.lang.String |
getFailureReason(org.testng.ITestResult result) |
void |
onConfigurationFailure(org.testng.ITestResult result) |
void |
onConfigurationSkip(org.testng.ITestResult result) |
void |
onConfigurationSuccess(org.testng.ITestResult result) |
void |
onFinish(org.testng.ITestContext context) |
void |
onStart(org.testng.ITestContext context) |
void |
onTestFailure(org.testng.ITestResult result) |
void |
onTestSkipped(org.testng.ITestResult result) |
void |
onTestStart(org.testng.ITestResult result) |
void |
onTestSuccess(org.testng.ITestResult result) |
protected void |
setConfigFailure(com.qaprosoft.carina.core.foundation.report.TestResultItem resultItem) |
getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onTestFailedButWithinSuccessPercentage, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toStringprotected static java.lang.ThreadLocal<com.qaprosoft.carina.core.foundation.report.TestResultItem> configFailures
public void beforeConfiguration(org.testng.ITestResult result)
beforeConfiguration in interface org.testng.IConfigurationListener2beforeConfiguration in class org.testng.TestListenerAdapterpublic void onConfigurationSuccess(org.testng.ITestResult result)
onConfigurationSuccess in interface org.testng.IConfigurationListeneronConfigurationSuccess in class org.testng.TestListenerAdapterpublic void onConfigurationSkip(org.testng.ITestResult result)
onConfigurationSkip in interface org.testng.IConfigurationListeneronConfigurationSkip in class org.testng.TestListenerAdapterpublic void onConfigurationFailure(org.testng.ITestResult result)
onConfigurationFailure in interface org.testng.IConfigurationListeneronConfigurationFailure in class org.testng.TestListenerAdapterpublic void onStart(org.testng.ITestContext context)
onStart in interface org.testng.ITestListeneronStart in class org.testng.TestListenerAdapterpublic void onTestStart(org.testng.ITestResult result)
onTestStart in interface org.testng.ITestListeneronTestStart in class TestArgsListenerpublic void onTestSuccess(org.testng.ITestResult result)
onTestSuccess in interface org.testng.ITestListeneronTestSuccess in class org.testng.TestListenerAdapterpublic void onTestFailure(org.testng.ITestResult result)
onTestFailure in interface org.testng.ITestListeneronTestFailure in class org.testng.TestListenerAdapterpublic void onTestSkipped(org.testng.ITestResult result)
onTestSkipped in interface org.testng.ITestListeneronTestSkipped in class org.testng.TestListenerAdapterpublic void onFinish(org.testng.ITestContext context)
onFinish in interface org.testng.ITestListeneronFinish in class org.testng.TestListenerAdapterprotected com.qaprosoft.carina.core.foundation.report.TestResultItem createTestResult(org.testng.ITestResult result,
com.qaprosoft.carina.core.foundation.report.TestResultType resultType,
java.lang.String failReason,
java.lang.String description)
protected java.lang.String getFailureReason(org.testng.ITestResult result)
protected void setConfigFailure(com.qaprosoft.carina.core.foundation.report.TestResultItem resultItem)
Copyright © 2018. All Rights Reserved.