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