DeviceCleaner
public class DeviceCleaner
extends BaseTargetPreparer
テスト後にクリーンアップアクションとして再起動またはフォーマットを実行し、オプションで画面をオフにします
概要
ネストされたクラス |
---|
enum | DeviceCleaner.CleanupAction |
enum | DeviceCleaner.PostCleanupAction |
パブリックメソッド |
---|
void | setUp (TestInformation testInfo) |
void | tearDown (TestInformation testInfo, Throwable e) |
保護されたメソッド |
---|
void | clean (ITestDevice device) クリーンアップアクションを実行してから、クリーンアップ後のアクションを実行します |
パブリックコンストラクター
DeviceCleaner
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)
クリーンアップアクションを実行してから、クリーンアップ後のアクションを実行します
投げる |
---|
DeviceNotAvailableException | |
このページのコンテンツやコードサンプルは、コンテンツ ライセンスに記載のライセンスに従います。Java および OpenJDK は Oracle および関連会社の商標または登録商標です。
最終更新日 2020-09-08 UTC。
[]
[]