NativePocCrashAsserter
public class NativePocCrashAsserter
extends Object
implements NativePocAsserter
java.lang.オブジェクト |
↳ | com.android.sts.common.NativePocCrashAsserter |
まとめ
パブリックメソッド
アサートノークラッシュ
public static NativePocAsserter assertNoCrash ()
Poc にセキュリティ クラッシュがないことを確認する NativePocAsserter を返します。
アサートノークラッシュ
public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)
指定された TombstoneUtils.Config に従ってセキュリティ クラッシュが検出されていないことを確認する NativePocAsserter を返します。
パラメーター |
---|
config | TombstoneUtils.Config |
アサートノークラッシュイン
public static NativePocAsserter assertNoCrashIn (String... patterns)
リストされたプロセスのセキュリティ クラッシュをチェックする NativePocAsserter を返します。
自動クローズ可能付き
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
PoC の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します。
パラメーター |
---|
nativePoc | NativePoc |
device | ITestDevice |
投げる |
---|
DeviceNotAvailableException | |