|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.testng.remote.strprotocol.RemoteTestListener
public class RemoteTestListener
A special listener that remote the event with string protocol.
| Constructor Summary | |
|---|---|
RemoteTestListener(ISuite suite,
XmlTest test,
MessageHub msh)
|
|
| Method Summary | |
|---|---|
void |
beforeConfiguration(ITestResult tr)
Invoked before a configuration method is invoked. |
void |
onConfigurationFailure(ITestResult itr)
Invoked whenever a configuration method failed. |
void |
onConfigurationSkip(ITestResult itr)
Invoked whenever a configuration method was skipped. |
void |
onConfigurationSuccess(ITestResult itr)
Invoked whenever a configuration method succeeded. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteTestListener(ISuite suite,
XmlTest test,
MessageHub msh)
| Method Detail |
|---|
public void onStart(ITestContext testCtx)
ITestListener
onStart in interface ITestListenerpublic void onFinish(ITestContext testCtx)
ITestListener
onFinish 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 beforeConfiguration(ITestResult tr)
IConfigurationListener2
beforeConfiguration in interface IConfigurationListener2public void onTestFailedButWithinSuccessPercentage(ITestResult testResult)
ITestListener
onTestFailedButWithinSuccessPercentage in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.SUCCESS_PERCENTAGE_FAILUREpublic void onTestFailure(ITestResult testResult)
ITestListener
onTestFailure in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.FAILUREpublic void onTestSkipped(ITestResult testResult)
ITestListener
onTestSkipped in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.SKIPpublic void onTestSuccess(ITestResult testResult)
ITestListener
onTestSuccess in interface ITestListenertestResult - ITestResult containing information about the run testITestResult.SUCCESSpublic void onConfigurationFailure(ITestResult itr)
IConfigurationListener
onConfigurationFailure in interface IConfigurationListenerIConfigurationListener.onConfigurationFailure(org.testng.ITestResult)public void onConfigurationSkip(ITestResult itr)
IConfigurationListener
onConfigurationSkip in interface IConfigurationListenerIConfigurationListener.onConfigurationSkip(org.testng.ITestResult)public void onConfigurationSuccess(ITestResult itr)
IConfigurationListener
onConfigurationSuccess in interface IConfigurationListenerIConfigurationListener.onConfigurationSuccess(org.testng.ITestResult)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||