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