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