NativePocCrashAsserter
public class NativePocCrashAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocCrashAsserter |
Bản tóm tắt
Phương thức công khai
khẳng địnhKhông có sự cố
public static NativePocAsserter assertNoCrash ()
Trả về một NativePocAsserter để đảm bảo rằng Poc không gặp sự cố bảo mật.
khẳng địnhKhông có sự cố
public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)
Trả về một NativePocAsserter để đảm bảo rằng không có sự cố bảo mật nào được phát hiện theo TombstoneUtils.Config đã cho
Thông số |
---|
config | TombstoneUtils.Config |
khẳng địnhNoCrashIn
public static NativePocAsserter assertNoCrashIn (String... patterns)
Trả về một NativePocAsserter để kiểm tra các quy trình được liệt kê xem có bất kỳ sự cố bảo mật nào không.
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
Được gọi trước khi PoC chạy, trả về AutoCloseable đóng sau khi PoC kết thúc
Thông số |
---|
nativePoc | NativePoc |
device | ITestDevice |
ném |
---|
DeviceNotAvailableException | |