NativePocCrashAsserter

public class NativePocCrashAsserter
extends Object implements NativePocAsserter

java.lang.Object
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 を返します

公開メソッド

assertNoCrash

public static NativePocAsserter assertNoCrash ()

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

戻り値
NativePocAsserter

assertNoCrash

public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)

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

パラメーター
config TombstoneUtils.Config

戻り値
NativePocAsserter

assertNoCrashIn

public static NativePocAsserter assertNoCrashIn (String... patterns)

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

パラメーター
patterns String

戻り値
NativePocAsserter

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

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

パラメーター
nativePoc NativePoc

device ITestDevice

戻り値
AutoCloseable

スロー
DeviceNotAvailableException