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(java.util.Properties prop)
Initializes the Master adapter.
|
void |
runSuitesRemotely(XmlSuite suite,
RemoteResultListener listener)
Run a suite remotely.
|
void init(java.util.Properties prop) throws java.lang.Exception
prop - holds the properties loaded from the remote.properties file.java.lang.Exception - adapter might throw any exception on initialization, which will abort this adapter.void runSuitesRemotely(XmlSuite suite, RemoteResultListener listener) throws java.io.IOException
suite - the suite to send.listener - the corresponded listener, should be called when result is ready.java.io.IOException - might be thrown on IO error.void awaitTermination(long timeout)
throws java.lang.InterruptedException
timeout - the maximum time to wait for all the suites to return a result.java.lang.InterruptedException