public class TestNGTextListener extends TestListener implements org.testng.ITestListener
Constructor and Description |
---|
TestNGTextListener() |
Modifier and Type | Method and Description |
---|---|
void |
onFinish(org.testng.ITestContext context)
Called when all tests have finished.
|
void |
onStart(org.testng.ITestContext context)
Called before any tests have been run.
|
void |
onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result) |
void |
onTestFailure(org.testng.ITestResult result)
Called when an atomic test fails.
|
void |
onTestSkipped(org.testng.ITestResult result)
Called when a test is ignored.
|
void |
onTestStart(org.testng.ITestResult result)
Called when an atomic test is about to be started.
|
void |
onTestSuccess(org.testng.ITestResult result)
Called when an atomic test has finished successfully.
|
traceToString
public void onStart(org.testng.ITestContext context)
onStart
in interface org.testng.ITestListener
public void onFinish(org.testng.ITestContext context)
onFinish
in interface org.testng.ITestListener
public void onTestStart(org.testng.ITestResult result)
onTestStart
in interface org.testng.ITestListener
public void onTestSuccess(org.testng.ITestResult result)
onTestSuccess
in interface org.testng.ITestListener
public void onTestFailure(org.testng.ITestResult result)
onTestFailure
in interface org.testng.ITestListener
public void onTestSkipped(org.testng.ITestResult result)
onTestSkipped
in interface org.testng.ITestListener
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
onTestFailedButWithinSuccessPercentage
in interface org.testng.ITestListener
Copyright © 2010–2019 GZoltar. All rights reserved.