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 の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します

公開メソッド

checkCmdResult

public void checkCmdResult (CommandResult result)

PoC の終了後に呼び出されます

パラメーター
result CommandResult

withAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

PoC の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します

パラメーター
nativePoc NativePoc

device ITestDevice

戻り値
AutoCloseable

スロー
Exception