TearDownPassThroughPreparer
public class TearDownPassThroughPreparer
extends BaseTargetPreparer
implements IConfigurationReceiver
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TearDownPassThroughPreparer |
構成にオブジェクトとして含まれるプリペアラーで、tearDown を実行できるようにします。
ITargetPreparer
ではなく config にプリペアラーがオブジェクトとして含まれている場合、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 |