NativePocAsserter
public
interface
NativePocAsserter
| com.android.sts.common.NativePocAsserter |
Interfejs do zgłaszania błędów do NativePoc.asserter().
Podsumowanie
Metody publiczne | |
|---|---|
default
void
|
checkCmdResult(CommandResult result)
Wywoływany po zakończeniu PoC |
default
AutoCloseable
|
withAutoCloseable(NativePoc nativePoc, ITestDevice device)
Jest wywoływany przed uruchomieniem PoC i zwraca obiekt AutoCloseable, który zamyka się po zakończeniu PoC. |
Metody publiczne
checkCmdResult
public void checkCmdResult (CommandResult result)
Wywoływany po zakończeniu PoC
| Parametry | |
|---|---|
result |
CommandResult |
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc, ITestDevice device)
Jest wywoływany przed uruchomieniem PoC i zwraca obiekt AutoCloseable, który zamyka się po zakończeniu PoC.
| Parametry | |
|---|---|
nativePoc |
NativePoc |
device |
ITestDevice |
| Zwroty | |
|---|---|
AutoCloseable |
|
| Rzuty | |
|---|---|
Exception |
|