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