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) |
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e)
|
سازندگان عمومی
TearDownPassThroughPreparer
public TearDownPassThroughPreparer ()
روش های عمومی
پیکربندی set
public void setConfiguration (IConfiguration configuration)
IConfiguration
در حال استفاده را تزریق می کند.
مولفه های | |
---|---|
configuration | IConfiguration |
پاره کردن
public void tearDown (TestInformation testInfo, Throwable e)
مولفه های | |
---|---|
testInfo | TestInformation |
e | Throwable |
پرتاب می کند | |
---|---|
DeviceNotAvailableException |