เครื่องมือเตรียมความพร้อมการฉีกขาด
public
class
TearDownPassThroughPreparer
extends BaseTargetPreparer
implements
IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TearDownPassThroughPreparer |
อนุญาตให้เรียกใช้ tearDown ในเครื่องมือเตรียมการที่รวมอยู่ในการกำหนดค่าเป็นออบเจ็กต์
เมื่อรวมเครื่องมือเตรียมข้อมูลไว้ในออบเจ็กต์ในการกําหนดค่าแทนที่จะเป็น ITargetPreparer
ระบบจะไม่เรียกใช้ tearDown ของเครื่องมือเตรียมข้อมูล การอ้างอิงจากผู้จัดเตรียมนี้จะทำให้แน่ใจได้ว่าจะมีการเรียกชื่อ tearDown
สรุป
ตัวสร้างแบบสาธารณะ | |
---|---|
TearDownPassThroughPreparer()
|
เมธอดสาธารณะ | |
---|---|
void
|
setConfiguration(IConfiguration configuration)
แทรก |
void
|
setUp(TestInformation testInfo)
|
void
|
tearDown(TestInformation testInfo, Throwable e)
|
ตัวสร้างแบบสาธารณะ
เครื่องมือเตรียมความพร้อมการฉีกขาด
public TearDownPassThroughPreparer ()
เมธอดสาธารณะ
setConfiguration
public void setConfiguration (IConfiguration configuration)
แทรก IConfiguration
ที่ใช้งานอยู่
พารามิเตอร์ | |
---|---|
configuration |
IConfiguration |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
พารามิเตอร์ | |
---|---|
testInfo |
TestInformation |
e |
Throwable |
โยน | |
---|---|
DeviceNotAvailableException |