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 |