org.testng.remote.strprotocol
Class AbstractRemoteTestRunnerClient
java.lang.Object
org.testng.remote.strprotocol.AbstractRemoteTestRunnerClient
public abstract class AbstractRemoteTestRunnerClient
- extends java.lang.Object
The client side of the RemoteTestRunner. Handles the
marshaling of the different messages.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_suiteListeners
protected IRemoteSuiteListener[] m_suiteListeners
- An array of listeners that are informed about test events.
m_testListeners
protected IRemoteTestListener[] m_testListeners
AbstractRemoteTestRunnerClient
public AbstractRemoteTestRunnerClient()
startListening
public void startListening(IRemoteSuiteListener[] suiteListeners,
IRemoteTestListener[] testListeners,
AbstractRemoteTestRunnerClient.ServerConnection serverConnection)
- Start listening to a test run. Start a server connection that
the RemoteTestRunner can connect to.
getSuiteListeners
public IRemoteSuiteListener[] getSuiteListeners()
getTestListeners
public IRemoteTestListener[] getTestListeners()
isRunning
public boolean isRunning()
stopTest
public void stopTest()
- Requests to stop the remote test run.
notifyStart
protected abstract void notifyStart(GenericMessage genericMessage)
notifySuiteEvents
protected abstract void notifySuiteEvents(SuiteMessage suiteMessage)
notifyTestEvents
protected abstract void notifyTestEvents(TestMessage testMessage)
notifyResultEvents
protected abstract void notifyResultEvents(TestResultMessage testResultMessage)
Copyright © 2011. All Rights Reserved.