NativePocCrashAsserter
public class NativePocCrashAsserter
extends Object
implements NativePocAsserter
java.lang.Object |
↳ | com.android.sts.common.NativePocCrashAsserter |
סיכום
שיטות ציבוריות
assertNoCrash
public static NativePocAsserter assertNoCrash ()
מחזירה NativePocAsserter שמוודא של-Poc אין קריסת אבטחה.
assertNoCrash
public static NativePocAsserter assertNoCrash (TombstoneUtils.Config config)
מחזירה NativePocAsserter שמוודא שלא זוהתה קריסת אבטחה בהתאם ל-TombstoneUtils.Config הנתון
פרמטרים |
---|
config | TombstoneUtils.Config |
assertNoCrashIn
public static NativePocAsserter assertNoCrashIn (String... patterns)
מחזירה NativePocAsserter שבודק את התהליכים הרשומים עבור קריסות אבטחה.
עם סגירה אוטומטית
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
נקרא לפני הפעלת PoC, מחזיר סגירה אוטומטית שנסגרת לאחר שה-PoC מסתיים
פרמטרים |
---|
nativePoc | NativePoc |
device | ITestDevice |
זורק |
---|
DeviceNotAvailableException | |