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