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, מחזיר סגירה אוטומטית שנסגרת לאחר שה-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

עם סגירה אוטומטית

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

נקרא לפני הפעלת PoC, מחזיר סגירה אוטומטית שנסגרת לאחר שה-PoC מסתיים

פרמטרים
nativePoc NativePoc

device ITestDevice

החזרות
AutoCloseable

זורק
DeviceNotAvailableException