ClusterCommandLauncher

public class ClusterCommandLauncher
extends Object implements IConfigurationReceiver, IInvocationContextReceiver, IRemoteTest

java.lang.Object
   ↳ com.android.tradefed.cluster.ClusterCommandLauncher


Klasa IRemoteTest służąca do uruchamiania poleceń z TFC za pomocą podprocesu TF. FIXME: należy rozszerzyć tę funkcję, aby obsługiwała testy na wielu urządzeniach.

Podsumowanie

Fieldsem

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

Konstruktory publiczne

ClusterCommandLauncher()

Metody publiczne

void run(TestInformation testInfo, ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki do odbiorcy.

void setConfiguration(IConfiguration configuration)

Wstrzykuje IConfiguration w użyciu.

void setInvocationContext(IInvocationContext invocationContext)

Fieldsem

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

Konstruktory publiczne

ClusterCommandLauncher

public ClusterCommandLauncher ()

Metody publiczne

home run

public void run (TestInformation testInfo, 
                ITestInvocationListener listener)

Przeprowadza testy i przekazuje wyniki do odbiorcy.

Parametry
testInfo TestInformation: obiekt TestInformation zawierający przydatne informacje do przeprowadzania testów.

listener ITestInvocationListener: ITestInvocationListener wyników testu

Rzuty
DeviceNotAvailableException

setConfiguration

public void setConfiguration (IConfiguration configuration)

Wstrzykuje IConfiguration w użyciu.

Parametry
configuration IConfiguration

setInvocationContext

public void setInvocationContext (IInvocationContext invocationContext)

Parametry
invocationContext IInvocationContext