NativePocCrashAsserter
public class NativePocCrashAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocCrashAsserter |
Özet
Genel yöntemler
iddiaNoCrash
public static NativePocAsserter assertNoCrash ()
Poc'un güvenlik çökmesi yaşamamasını sağlayan bir NativePocAsserter döndürür.
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 |
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 |
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 |
Atar |
---|
DeviceNotAvailableException | |