TearDownPassThroughPreparer
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)
|
パブリックコンストラクター
TearDownPassThroughPreparer
public TearDownPassThroughPreparer ()
パブリックメソッド
set構成
public void setConfiguration (IConfiguration configuration)
使用中のIConfiguration
を挿入します。
パラメーター | |
---|---|
configuration | IConfiguration |
取り壊す
public void tearDown (TestInformation testInfo, Throwable e)
パラメーター | |
---|---|
testInfo | TestInformation |
e | Throwable |
投げる | |
---|---|
DeviceNotAvailableException |