NativePocCrashAsserter
public class NativePocCrashAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocCrashAsserter |
สรุป
วิธีการสาธารณะ
ยืนยันไม่มีความผิดพลาด
public static NativePocAsserter assertNoCrash ()
ส่งคืน NativePocAsserter ที่ทำให้แน่ใจว่า Poc ไม่มีข้อขัดข้องด้านความปลอดภัย
ยืนยันไม่มีความผิดพลาด
public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)
ส่งคืน NativePocAsserter ที่ทำให้แน่ใจว่าไม่มีการตรวจพบความผิดพลาดด้านความปลอดภัยตาม TombstoneUtils.Config ที่กำหนด
พารามิเตอร์ |
---|
config | TombstoneUtils.Config |
ยืนยัน NoCrashIn
public static NativePocAsserter assertNoCrashIn (String... patterns)
ส่งคืน NativePocAsserter ซึ่งจะตรวจสอบกระบวนการที่ระบุไว้ว่าระบบรักษาความปลอดภัยล่มหรือไม่
พารามิเตอร์ |
---|
patterns | String |
ด้วยการปิดอัตโนมัติ
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
ถูกเรียกก่อนที่ PoC จะทำงาน จะส่งคืน AutoCloseable ที่ปิดหลังจาก PoC เสร็จสิ้น
พารามิเตอร์ |
---|
nativePoc | NativePoc |
device | ITestDevice |
ขว้าง |
---|
DeviceNotAvailableException | |