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

공개 메소드

충돌 없음 주장

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