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 |