public interface IWorkerAdapter
IMasterAdapter| Modifier and Type | Method and Description |
|---|---|
XmlSuite |
getSuite(long timeout)
A blocking call to get the next Suite to test.
|
void |
init(java.util.Properties properties)
Initializes the worker adapter.
|
void |
returnResult(ISuite result)
Return a suite result.
|
void init(java.util.Properties properties) throws java.lang.Exception
properties - holds the properties loaded from the remote.properties file.java.lang.Exception - adapter might throw any exception on initialization, which will abort this adapter.XmlSuite getSuite(long timeout) throws java.lang.InterruptedException, java.io.IOException
timeout - the maximum time to wait for the next suite.null if the timeout has reached.java.io.IOException - might be thrown on IO error.java.lang.InterruptedException - if interrupted while waiting.void returnResult(ISuite result) throws java.io.IOException
result - the result to returnjava.io.IOException - might be thrown on IO error.