ClusterCommandLauncher
public
class
ClusterCommandLauncher
extends Object
implements
IConfigurationReceiver,
IInvocationContextReceiver,
IRemoteTest
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
A IRemoteTest
class to launch a command from TFC via a subprocess TF. FIXME: this needs
to be extended to support multi-device tests.
Summary
Fields | |
---|---|
public
static
final
String |
ANDROID_SERIALS
|
public
static
final
String |
TEST_WORK_DIR
|
public
static
final
String |
TF_DEVICE_COUNT
|
public
static
final
String |
TF_JAR_DIR
|
public
static
final
String |
TF_PATH
|
Public constructors | |
---|---|
ClusterCommandLauncher()
|
Public methods | |
---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Runs the tests, and reports result to the listener. |
void
|
setConfiguration(IConfiguration configuration)
Injects the |
void
|
setInvocationContext(IInvocationContext invocationContext)
|
Fields
ANDROID_SERIALS
public static final String ANDROID_SERIALS
TEST_WORK_DIR
public static final String TEST_WORK_DIR
TF_DEVICE_COUNT
public static final String TF_DEVICE_COUNT
TF_JAR_DIR
public static final String TF_JAR_DIR
TF_PATH
public static final String TF_PATH
Public constructors
ClusterCommandLauncher
public ClusterCommandLauncher ()
Public methods
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 |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
Parameters | |
---|---|
invocationContext |
IInvocationContext |