ClusterCommandLauncher
public
class
ClusterCommandLauncher
extends Object
implements
IConfigurationReceiver,
IInvocationContextReceiver,
IRemoteTest
| java.lang.Object | |
| ↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
IRemoteTest klasa do uruchamiania polecenia z TFC za pomocą podprocesu TF; FIXME: należy rozszerzyć tę funkcję, aby obsługiwała testy na wielu urządzeniach.
Podsumowanie
Stałe | |
|---|---|
String |
ANDROID_SERIALS
|
String |
TEST_WORK_DIR
|
String |
TF_DEVICE_COUNT
|
String |
TF_JAR_DIR
|
String |
TF_PATH
|
Publiczne konstruktory | |
|---|---|
ClusterCommandLauncher()
|
|
Metody publiczne | |
|---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
Przeprowadza testy i przekazuje wyniki odbiorcy. |
void
|
setConfiguration(IConfiguration configuration)
Wstawia używany element |
void
|
setInvocationContext(IInvocationContext invocationContext)
|
Stałe
ANDROID_SERIALS
public static final String ANDROID_SERIALS
Stała wartość: "ANDROID_SERIALS"
TEST_WORK_DIR
public static final String TEST_WORK_DIR
Stała wartość: "TEST_WORK_DIR"
TF_DEVICE_COUNT
public static final String TF_DEVICE_COUNT
Stała wartość: „TF_DEVICE_COUNT”
TF_JAR_DIR
public static final String TF_JAR_DIR
Stała wartość: "TF_JAR_DIR"
TF_PATH
public static final String TF_PATH
Wartość stała: "TF_PATH"
Publiczne konstruktory
ClusterCommandLauncher
public ClusterCommandLauncher ()
Metody publiczne
home run
public void run (TestInformation testInfo, ITestInvocationListener listener)
Przeprowadza testy i przekazuje wyniki odbiorcy.
| Parametry | |
|---|---|
testInfo |
TestInformation: Obiekt TestInformation zawierający przydatne informacje do przeprowadzania testów. |
listener |
ITestInvocationListener: ITestInvocationListener wyników testu |
| Zgłasza | |
|---|---|
DeviceNotAvailableException |
|
setConfiguration
public void setConfiguration (IConfiguration configuration)
Wstawia używany element IConfiguration.
| Parametry | |
|---|---|
configuration |
IConfiguration |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
| Parametry | |
|---|---|
invocationContext |
IInvocationContext |