public class RemoteTestListener extends Object implements org.testng.internal.IResultListener
| Constructor and Description |
|---|
RemoteTestListener(ISuite suite,
XmlTest test,
MessageHub msh) |
| Modifier and Type | Method and Description |
|---|---|
void |
onConfigurationFailure(ITestResult itr) |
void |
onConfigurationSkip(ITestResult itr) |
void |
onConfigurationSuccess(ITestResult itr) |
void |
onFinish(ITestContext testCtx)
Invoked after all the tests have run and all their
Configuration methods have been called.
|
void |
onStart(ITestContext testCtx)
Invoked after the test class is instantiated and before
any configuration method is called.
|
void |
onTestFailedButWithinSuccessPercentage(ITestResult testResult)
Invoked each time a method fails but has been annotated with
successPercentage and this failure still keeps it within the
success percentage requested.
|
void |
onTestFailure(ITestResult testResult)
Invoked each time a test fails.
|
void |
onTestSkipped(ITestResult testResult)
Invoked each time a test is skipped.
|
void |
onTestStart(ITestResult testResult)
Invoked each time before a test will be invoked.
|
void |
onTestSuccess(ITestResult testResult)
Invoked each time a test succeeds.
|
public RemoteTestListener(ISuite suite, XmlTest test, MessageHub msh)
public void onStart(ITestContext testCtx)
ITestListeneronStart in interface ITestListenerpublic void onFinish(ITestContext testCtx)
ITestListeneronFinish in interface ITestListenerpublic void onTestStart(ITestResult testResult)
ITestListenerITestResult is only partially filled with the references to
class, method, start millis and status.onTestStart in interface ITestListenertestResult - the partially filled ITestResultITestResult.STARTEDpublic void onTestFailedButWithinSuccessPercentage(ITestResult testResult)
ITestListeneronTestFailedButWithinSuccessPercentage in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.SUCCESS_PERCENTAGE_FAILUREpublic void onTestFailure(ITestResult testResult)
ITestListeneronTestFailure in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.FAILUREpublic void onTestSkipped(ITestResult testResult)
ITestListeneronTestSkipped in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.SKIPpublic void onTestSuccess(ITestResult testResult)
ITestListeneronTestSuccess in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.SUCCESSpublic void onConfigurationFailure(ITestResult itr)
onConfigurationFailure in interface org.testng.internal.IConfigurationListenerIConfigurationListener.onConfigurationFailure(org.testng.ITestResult)public void onConfigurationSkip(ITestResult itr)
onConfigurationSkip in interface org.testng.internal.IConfigurationListenerIConfigurationListener.onConfigurationSkip(org.testng.ITestResult)public void onConfigurationSuccess(ITestResult itr)
onConfigurationSuccess in interface org.testng.internal.IConfigurationListenerIConfigurationListener.onConfigurationSuccess(org.testng.ITestResult)Copyright © 2012. All Rights Reserved.