TearDownPassThrough준비자
public class TearDownPassThroughPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.객체 | ||
↳ | 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)
|
공개 생성자
TearDownPassThrough준비자
public TearDownPassThroughPreparer ()
공개 방법
setConfiguration
public void setConfiguration (IConfiguration configuration)
사용 중인 IConfiguration
주입합니다.
매개변수 | |
---|---|
configuration | IConfiguration |
tearDown
public void tearDown (TestInformation testInfo, Throwable e)
매개변수 | |
---|---|
testInfo | TestInformation |
e | Throwable |
던지기 | |
---|---|
DeviceNotAvailableException |