DynamicSystemPreparer
public class DynamicSystemPreparer
extends BaseTargetPreparer
implements ILabPreparer
java.lang.オブジェクト | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DynamicSystemPreparer |
動的システム アップデートを使用してデバイス ビルドの上にシステム イメージをセットアップするITargetPreparer
。
まとめ
パブリックコンストラクター | |
---|---|
DynamicSystemPreparer () |
パブリックメソッド | |
---|---|
void | setUp ( TestInformation testInfo) テスト用のターゲット設定を実行します。 |
void | tearDown ( TestInformation testInfo, Throwable e) テスト後にターゲットのクリーンアップ/ティアダウンを実行します。 |
パブリックコンストラクター
DynamicSystemPreparer
public DynamicSystemPreparer ()
パブリックメソッド
設定
public void setUp (TestInformation testInfo)
テスト用のターゲット設定を実行します。
パラメーター | |
---|---|
testInfo | TestInformation : 呼び出しのTestInformation 。 |
投げる | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
取り壊す
public void tearDown (TestInformation testInfo, Throwable e)
テスト後にターゲットのクリーンアップ/ティアダウンを実行します。
パラメーター | |
---|---|
testInfo | TestInformation : 呼び出しのTestInformation 。 |
e | Throwable : 呼び出しが例外で終了した場合、これは呼び出しレベルでキャッチされた例外になります。それ以外の場合はnull になります。 |
投げる | |
---|---|
DeviceNotAvailableException |