デバイスクリーナー

public class DeviceCleaner
extends BaseTargetPreparer

java.lang.Object
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