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(Properties properties)
Initializes the worker adapter.
|
void |
returnResult(ISuite result)
Return a suite result.
|
void init(Properties properties) 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.XmlSuite getSuite(long timeout) throws InterruptedException, IOException
timeout - the maximum time to wait for the next suite.null if the timeout has reached.IOException - might be thrown on IO error.InterruptedException - if interrupted while waiting.void returnResult(ISuite result) throws IOException
result - the result to returnIOException - might be thrown on IO error.Copyright © 2015. All Rights Reserved.