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 |
自動クローズ可能付き
public AutoCloseable withAutoCloseable (NativePoc nativePoc, ITestDevice device)
PoC の実行前に呼び出され、PoC の終了後に閉じる AutoCloseable を返します。
パラメーター | |
---|---|
nativePoc | NativePoc |
device | ITestDevice |
戻り値 | |
---|---|
AutoCloseable |
投げる | |
---|---|
Exception |