ตัวเตรียมระบบไดนามิก
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) ดำเนินการล้างข้อมูล/แยกส่วนเป้าหมายหลังจากการทดสอบ |
ผู้สร้างสาธารณะ
ตัวเตรียมระบบไดนามิก
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 |