ClusterCommandLauncher
public class ClusterCommandLauncher
extends Object
implements IRemoteTest , IInvocationContextReceiver , IConfigurationReceiver
java.lang.Object | |
↳ | com.android.tradefed.cluster.ClusterCommandLauncher |
מחלקה IRemoteTest
להפעלת פקודה מ-TFC באמצעות תת-תהליך TF. FIXME: יש להרחיב את זה כדי לתמוך בבדיקות ריבוי מכשירים.
סיכום
שדות | |
---|---|
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
|
בנאים ציבוריים | |
---|---|
ClusterCommandLauncher () |
שיטות ציבוריות | |
---|---|
void | run ( TestInformation testInfo, ITestInvocationListener listener) מפעיל את הבדיקות ומדווח על התוצאות למאזין. |
void | setConfiguration ( IConfiguration configuration) מזריק את |
void | setInvocationContext ( IInvocationContext invocationContext) |
שדות
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
בנאים ציבוריים
ClusterCommandLauncher
public ClusterCommandLauncher ()
שיטות ציבוריות
לָרוּץ
public void run (TestInformation testInfo, ITestInvocationListener listener)
מפעיל את הבדיקות ומדווח על התוצאות למאזין.
פרמטרים | |
---|---|
testInfo | TestInformation : אובייקט TestInformation המכיל מידע שימושי להפעלת בדיקות. |
listener | ITestInvocationListener : ה- ITestInvocationListener של תוצאות הבדיקה |
זורק | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
מזריק את IConfiguration
בשימוש.
פרמטרים | |
---|---|
configuration | IConfiguration |
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
פרמטרים | |
---|---|
invocationContext | IInvocationContext |