ResultsPlayer
public
final
class
ResultsPlayer
extends Object
implements
IConfigurationReceiver,
IRemoteTest
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.retry.ResultsPlayer |
Special runner that replays the results given to it.
Summary
Fields | |
---|---|
public
static
final
String |
REPLAY_DONE
|
Public constructors | |
---|---|
ResultsPlayer()
Ctor. |
|
ResultsPlayer(boolean completed)
|
Public methods | |
---|---|
boolean
|
completed()
Returns whether or not the ResultsReplayer is done replaying the results. |
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener. |
void
|
setConfiguration(IConfiguration configuration)
Injects the |
Fields
REPLAY_DONE
public static final String REPLAY_DONE
Public constructors
ResultsPlayer
public ResultsPlayer ()
Ctor.
ResultsPlayer
public ResultsPlayer (boolean completed)
Parameters | |
---|---|
completed |
boolean |
Public methods
completed
public boolean completed ()
Returns whether or not the ResultsReplayer is done replaying the results.
Returns | |
---|---|
boolean |
run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener.
Parameters | |
---|---|
testInfo |
TestInformation : The TestInformation object containing useful information to run
tests. |
listener |
ITestInvocationListener : the ITestInvocationListener of test results |
Throws | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
Injects the IConfiguration
in use.
Parameters | |
---|---|
configuration |
IConfiguration |