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