デバイスクリーナー
public class DeviceCleaner
extends BaseTargetPreparer
java.lang.オブジェクト | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.DeviceCleaner |
テスト後にクリーンアップアクションとして再起動またはフォーマットを実行し、オプションで画面をオフにします
まとめ
パブリックコンストラクター | |
---|---|
DeviceCleaner () |
パブリックメソッド | |
---|---|
void | setUp ( TestInformation testInfo) |
void | tearDown ( TestInformation testInfo, Throwable e) |
保護されたメソッド | |
---|---|
void | clean ( ITestDevice device) クリーンアップ アクションの後にクリーンアップ後のアクションを実行する |
パブリックコンストラクター
デバイスクリーナー
public DeviceCleaner ()
パブリックメソッド
設定
public void setUp (TestInformation testInfo)
パラメーター | |
---|---|
testInfo | TestInformation |
投げる | |
---|---|
BuildError | |
DeviceNotAvailableException | |
TargetSetupError |
取り壊す
public void tearDown (TestInformation testInfo, Throwable e)
パラメーター | |
---|---|
testInfo | TestInformation |
e | Throwable |
投げる | |
---|---|
DeviceNotAvailableException |
保護されたメソッド
クリーン
protected void clean (ITestDevice device)
クリーンアップ アクションの後にクリーンアップ後のアクションを実行する
パラメーター | |
---|---|
device | ITestDevice |
投げる | |
---|---|
DeviceNotAvailableException |