NativePocAsserter

public interface NativePocAsserter

com.android.sts.common.NativePocAsserter


ממשק לשימוש של גורם אימות עם NativePoc.asserter().

סיכום

שיטות ציבוריות

default void checkCmdResult(CommandResult result)

הקריאה מתבצעת אחרי שה-PoC מסתיים

default AutoCloseable withAutoCloseable(NativePoc nativePoc, ITestDevice device)

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

שיטות ציבוריות

checkCmdResult

public void checkCmdResult (CommandResult result)

הקריאה מתבצעת אחרי שה-PoC מסתיים

פרמטרים
result CommandResult

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

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

פרמטרים
nativePoc NativePoc

device ITestDevice

החזרות
AutoCloseable

זריקות
Exception