public interface IMasterAdapter
IWorkerAdapter| Modifier and Type | Method and Description |
|---|---|
void |
awaitTermination(long timeout)
A blocking wait for the remote results to return.
|
void |
init(Properties prop)
Initializes the Master adapter.
|
void |
runSuitesRemotely(XmlSuite suite,
RemoteResultListener listener)
Run a suite remotely.
|
void init(Properties prop) throws Exception
properties - holds the properties loaded from the remote.properties file.Exception - adapter might throw any exception on initialization, which will abort this adapter.void runSuitesRemotely(XmlSuite suite, RemoteResultListener listener) throws IOException
suite - the suite to send.listener - the corresponded listener, should be called when result is ready.IOException - might be thrown on IO error.void awaitTermination(long timeout)
throws InterruptedException
timeout - the maximum time to wait for all the suites to return a result.InterruptedExceptionCopyright © 2016. All Rights Reserved.