TearDownPassThroughPreparer
public class TearDownPassThroughPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
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)
|
المنشئون العامة
TearDownPassThroughPreparer
public TearDownPassThroughPreparer ()
الطرق العامة
setConfiguration
public void setConfiguration (IConfiguration configuration)
IConfiguration
رمز الرمز قيد الاستخدام.
المعلمات | |
---|---|
configuration | IConfiguration |
تمزيق
public void tearDown (TestInformation testInfo, Throwable e)
المعلمات | |
---|---|
testInfo | TestInformation |
e | Throwable |
رميات | |
---|---|
DeviceNotAvailableException |