TearDownPassThroughPreparer
public class TearDownPassThroughPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TearDownPassThroughPreparer |
구성에 객체로 포함된 준비자에서 TearDown을 실행할 수 있습니다.
준비자가 ITargetPreparer
가 아닌 구성의 개체로 포함되면 해당 준비자가 호출되지 않습니다. 이 준비자에서 이를 참조하면 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 |