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

يثبت

public void setUp (TestInformation testInfo)

حدود
testInfo TestInformation

تمزيق

public void tearDown (TestInformation testInfo, 
                Throwable e)

حدود
testInfo TestInformation

e Throwable

رميات
DeviceNotAvailableException