NativePocCrashAsserter

public class NativePocCrashAsserter
extends Object implements NativePocAsserter

java.lang.オブジェクト
com.android.sts.common.NativePocCrashAsserter


まとめ

パブリックメソッド

static NativePocAsserter assertNoCrash ()

Poc にセキュリティ クラッシュがないことを確認する NativePocAsserter を返します。

static NativePocAsserter assertNoCrash ( TombstoneUtils.Config config)

指定された TombstoneUtils.Config に従ってセキュリティ クラッシュが検出されていないことを確認する NativePocAsserter を返します。

static NativePocAsserter assertNoCrashIn (String... patterns)

リストされたプロセスのセキュリティ クラッシュをチェックする NativePocAsserter を返します。

AutoCloseable withAutoCloseable ( NativePoc nativePoc, ITestDevice device)

PoC の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します。

パブリックメソッド

アサートノークラッシュ

public static NativePocAsserter assertNoCrash ()

Poc にセキュリティ クラッシュがないことを確認する NativePocAsserter を返します。

戻り値
NativePocAsserter

アサートノークラッシュ

public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)

指定された TombstoneUtils.Config に従ってセキュリティ クラッシュが検出されていないことを確認する NativePocAsserter を返します。

パラメーター
config TombstoneUtils.Config

戻り値
NativePocAsserter

アサートノークラッシュイン

public static NativePocAsserter assertNoCrashIn (String... patterns)

リストされたプロセスのセキュリティ クラッシュをチェックする NativePocAsserter を返します。

パラメーター
patterns String

戻り値
NativePocAsserter

自動クローズ可能付き

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

PoC の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します。

パラメーター
nativePoc NativePoc

device ITestDevice

戻り値
AutoCloseable

投げる
DeviceNotAvailableException