TearDownPassThroughPreparer

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)

แทรก IConfiguration ที่ใช้อยู่

void setUp(TestInformation testInfo)

void tearDown(TestInformation testInfo, Throwable e)

ตัวสร้างแบบสาธารณะ

TearDownPassThroughPreparer

public TearDownPassThroughPreparer ()

เมธอดสาธารณะ

setConfiguration

public void setConfiguration (IConfiguration configuration)

แทรก IConfiguration ที่ใช้อยู่

พารามิเตอร์
configuration IConfiguration

setUp

public void setUp (TestInformation testInfo)

พารามิเตอร์
testInfo TestInformation

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

พารามิเตอร์
testInfo TestInformation

e Throwable

การโยน
DeviceNotAvailableException