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을 반환합니다.

공개 방법

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