Package org.testng.remote.strprotocol
Class RemoteTestListener1
- java.lang.Object
-
- org.testng.remote.strprotocol.RemoteTestListener1
-
- All Implemented Interfaces:
org.testng.IConfigurationListener
,org.testng.internal.IResultListener
,org.testng.ITestListener
,org.testng.ITestNGListener
- Direct Known Subclasses:
RemoteTestListener
public class RemoteTestListener1 extends java.lang.Object implements org.testng.internal.IResultListener
A special listener that remote the event with string protocol.
-
-
Field Summary
Fields Modifier and Type Field Description private org.testng.ITestContext
m_currentTestContext
private MessageHub
m_sender
private org.testng.ISuite
m_suite
private org.testng.xml.XmlTest
m_xmlTest
-
Constructor Summary
Constructors Constructor Description RemoteTestListener1(org.testng.ISuite suite, org.testng.xml.XmlTest test, MessageHub msh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onConfigurationFailure(org.testng.ITestResult itr)
void
onConfigurationSkip(org.testng.ITestResult itr)
void
onConfigurationSuccess(org.testng.ITestResult itr)
void
onFinish(org.testng.ITestContext testCtx)
void
onStart(org.testng.ITestContext testCtx)
void
onTestFailedButWithinSuccessPercentage(org.testng.ITestResult testResult)
void
onTestFailure(org.testng.ITestResult testResult)
void
onTestSkipped(org.testng.ITestResult testResult)
void
onTestStart(org.testng.ITestResult testResult)
void
onTestSuccess(org.testng.ITestResult testResult)
-
-
-
Field Detail
-
m_sender
private final MessageHub m_sender
-
m_suite
private org.testng.ISuite m_suite
-
m_xmlTest
private org.testng.xml.XmlTest m_xmlTest
-
m_currentTestContext
private org.testng.ITestContext m_currentTestContext
-
-
Constructor Detail
-
RemoteTestListener1
public RemoteTestListener1(org.testng.ISuite suite, org.testng.xml.XmlTest test, MessageHub msh)
-
-
Method Detail
-
onStart
public void onStart(org.testng.ITestContext testCtx)
- Specified by:
onStart
in interfaceorg.testng.ITestListener
-
onFinish
public void onFinish(org.testng.ITestContext testCtx)
- Specified by:
onFinish
in interfaceorg.testng.ITestListener
-
onTestStart
public void onTestStart(org.testng.ITestResult testResult)
- Specified by:
onTestStart
in interfaceorg.testng.ITestListener
-
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult testResult)
- Specified by:
onTestFailedButWithinSuccessPercentage
in interfaceorg.testng.ITestListener
-
onTestFailure
public void onTestFailure(org.testng.ITestResult testResult)
- Specified by:
onTestFailure
in interfaceorg.testng.ITestListener
-
onTestSkipped
public void onTestSkipped(org.testng.ITestResult testResult)
- Specified by:
onTestSkipped
in interfaceorg.testng.ITestListener
-
onTestSuccess
public void onTestSuccess(org.testng.ITestResult testResult)
- Specified by:
onTestSuccess
in interfaceorg.testng.ITestListener
-
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult itr)
- Specified by:
onConfigurationFailure
in interfaceorg.testng.IConfigurationListener
- See Also:
IConfigurationListener.onConfigurationFailure(org.testng.ITestResult)
-
onConfigurationSkip
public void onConfigurationSkip(org.testng.ITestResult itr)
- Specified by:
onConfigurationSkip
in interfaceorg.testng.IConfigurationListener
- See Also:
IConfigurationListener.onConfigurationSkip(org.testng.ITestResult)
-
onConfigurationSuccess
public void onConfigurationSuccess(org.testng.ITestResult itr)
- Specified by:
onConfigurationSuccess
in interfaceorg.testng.IConfigurationListener
- See Also:
IConfigurationListener.onConfigurationSuccess(org.testng.ITestResult)
-
-