NativePocCrashAsserter
public class NativePocCrashAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocCrashAsserter |
สรุป
วิธีการสาธารณะ
ยืนยันNoCrash
public static NativePocAsserter assertNoCrash ()
ส่งกลับ NativePocAsserter ที่ทำให้แน่ใจว่า Poc ไม่มีข้อขัดข้องด้านความปลอดภัย
ยืนยันNoCrash
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 | |