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 |
|