NativePocCrashAsserter

public class NativePocCrashAsserter
extends Object implements NativePocAsserter

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


สรุป

เมธอดสาธารณะ

static NativePocAsserter assertNoCrash()

แสดงผล NativePocAsserter ที่ตรวจสอบว่า Poc ไม่มีปัญหาข้อขัดข้องด้านความปลอดภัย

static NativePocAsserter assertNoCrash(TombstoneUtils.Config config)

แสดงผล NativePocAsserter ที่ตรวจสอบว่าไม่พบข้อขัดข้องด้านความปลอดภัยตาม TombstoneUtils.Config ที่ระบุ

static NativePocAsserter assertNoCrashIn(String... patterns)

แสดงผล NativePocAsserter ที่ตรวจสอบกระบวนการที่แสดงอยู่เพื่อหาข้อขัดข้องด้านความปลอดภัย

AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device)

เรียกใช้ก่อน PoC ทำงาน แสดงผล AutoCloseable ที่ปิดหลังจาก PoC เสร็จสิ้น

เมธอดสาธารณะ

assertNoCrash

public static NativePocAsserter assertNoCrash ()

แสดงผล NativePocAsserter ที่ตรวจสอบว่า Poc ไม่มีปัญหาข้อขัดข้องด้านความปลอดภัย

คิกรีเทิร์น
NativePocAsserter

assertNoCrash

public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)

แสดงผล NativePocAsserter ที่ตรวจสอบว่าไม่พบข้อขัดข้องด้านความปลอดภัยตาม TombstoneUtils.Config ที่ระบุ

พารามิเตอร์
config TombstoneUtils.Config

คิกรีเทิร์น
NativePocAsserter

assertNoCrashIn

public static NativePocAsserter assertNoCrashIn (String... patterns)

แสดงผล NativePocAsserter ที่ตรวจสอบกระบวนการที่แสดงเพื่อหาข้อขัดข้องด้านความปลอดภัย

พารามิเตอร์
patterns String

คิกรีเทิร์น
NativePocAsserter

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

เรียกใช้ก่อน PoC ทำงาน แสดงผล AutoCloseable ที่ปิดหลังจาก PoC เสร็จสิ้น

พารามิเตอร์
nativePoc NativePoc

device ITestDevice

คิกรีเทิร์น
AutoCloseable

การโยน
DeviceNotAvailableException