DynamicSystemPreparer
public class DynamicSystemPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DynamicSystemPreparer |
أداة ITargetPreparer
التي تقوم بإعداد صورة النظام أعلى بنية الجهاز باستخدام Dynamic System Update.
ملخص
المقاولين العامة | |
---|---|
DynamicSystemPreparer () |
الأساليب العامة | |
---|---|
void | setUp ( TestInformation testInfo) تنفيذ الإعداد المستهدف للاختبار. |
void | tearDown ( TestInformation testInfo, Throwable e) قم بإجراء التنظيف/التفكيك المستهدف بعد الاختبار. |
المقاولين العامة
DynamicSystemPreparer
public DynamicSystemPreparer ()
الأساليب العامة
يثبت
public void setUp (TestInformation testInfo)
تنفيذ الإعداد المستهدف للاختبار.
حدود | |
---|---|
testInfo | TestInformation : TestInformation الخاصة بالاستدعاء. |
رميات | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
تمزيق
public void tearDown (TestInformation testInfo, Throwable e)
قم بإجراء التنظيف/التفكيك المستهدف بعد الاختبار.
حدود | |
---|---|
testInfo | TestInformation : TestInformation الخاصة بالاستدعاء. |
e | Throwable : إذا انتهى الاستدعاء باستثناء، فسيكون هذا هو الاستثناء الذي تم اكتشافه على مستوى الاستدعاء. خلاف ذلك، سوف تكون null . |
رميات | |
---|---|
DeviceNotAvailableException |