NativePocCrashAsserter

public class NativePocCrashAsserter
extends Object implements NativePocAsserter

java.lang.Object
com.android.sts.common.NativePocCrashAsserter


Özet

Genel yöntemler

static NativePocAsserter assertNoCrash ()

Poc'un güvenlik çökmesi yaşamamasını sağlayan bir NativePocAsserter döndürür.

static NativePocAsserter assertNoCrash ( TombstoneUtils.Config config)

Verilen TombstoneUtils.Config'e göre herhangi bir güvenlik çökmesinin algılanmadığından emin olan bir NativePocAsserter döndürür.

static NativePocAsserter assertNoCrashIn (String... patterns)

Herhangi bir güvenlik çökmesi için listelenen işlemleri kontrol eden bir NativePocAsserter döndürür.

AutoCloseable withAutoCloseable ( NativePoc nativePoc, ITestDevice device)

Bir PoC çalışmadan önce çağrılır, PoC bittikten sonra kapanan bir AutoCloseable döndürür

Genel yöntemler

iddiaNoCrash

public static NativePocAsserter assertNoCrash ()

Poc'un güvenlik çökmesi yaşamamasını sağlayan bir NativePocAsserter döndürür.

İadeler
NativePocAsserter

iddiaNoCrash

public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)

Verilen TombstoneUtils.Config'e göre herhangi bir güvenlik çökmesinin algılanmadığından emin olan bir NativePocAsserter döndürür.

parametreler
config TombstoneUtils.Config

İadeler
NativePocAsserter

iddiaNoCrashIn

public static NativePocAsserter assertNoCrashIn (String... patterns)

Herhangi bir güvenlik çökmesi için listelenen işlemleri kontrol eden bir NativePocAsserter döndürür.

parametreler
patterns String

İadeler
NativePocAsserter

ile Otomatik Kapatılabilir

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Bir PoC çalışmadan önce çağrılır, PoC bittikten sonra kapanan bir AutoCloseable döndürür

parametreler
nativePoc NativePoc

device ITestDevice

İadeler
AutoCloseable

Atar
DeviceNotAvailableException