NatywnyPocAsserter
public interface NativePocAsserter
com.android.sts.common.NativePocAsserter |
Interfejs asertora do użycia z NativePoc.asserter()
.
Streszczenie
Metody publiczne | |
---|---|
default void | checkCmdResult (CommandResult result) Wywoływane po zakończeniu PoC |
default AutoCloseable | withAutoCloseable ( NativePoc nativePoc, ITestDevice device) Wywoływane przed uruchomieniem PoC, zwraca AutoCloseable, które zamyka się po zakończeniu PoC |
Metody publiczne
sprawdźCmdResult
public void checkCmdResult (CommandResult result)
Wywoływane po zakończeniu PoC
Parametry | |
---|---|
result | CommandResult |
z funkcją automatycznego zamykania
public AutoCloseable withAutoCloseable (NativePoc nativePoc, ITestDevice device)
Wywoływane przed uruchomieniem PoC, zwraca AutoCloseable, które zamyka się po zakończeniu PoC
Parametry | |
---|---|
nativePoc | NativePoc |
device | ITestDevice |
Zwroty | |
---|---|
AutoCloseable |
Rzuca | |
---|---|
Exception |