ClusterCommandLauncher
public
class
ClusterCommandLauncher
extends Object
implements
IConfigurationReceiver,
IInvocationContextReceiver,
IRemoteTest
| 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 |