NativePocAsserter
public interface NativePocAsserter
com.android.sts.common.NativePocAsserter |
Schnittstelle für einen Asserter zur Verwendung mit NativePoc.asserter()
.
Zusammenfassung
Öffentliche Methoden | |
---|---|
default void | checkCmdResult (CommandResult result) Wird aufgerufen, nachdem der PoC beendet ist |
default AutoCloseable | withAutoCloseable ( NativePoc nativePoc, ITestDevice device) Wird aufgerufen, bevor ein PoC ausgeführt wird, und gibt ein AutoCloseable zurück, das nach Abschluss des PoC geschlossen wird |
Öffentliche Methoden
checkCmdResult
public void checkCmdResult (CommandResult result)
Wird aufgerufen, nachdem der PoC beendet ist
Parameter | |
---|---|
result | CommandResult |
mit AutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc, ITestDevice device)
Wird aufgerufen, bevor ein PoC ausgeführt wird, und gibt ein AutoCloseable zurück, das nach Abschluss des PoC geschlossen wird
Parameter | |
---|---|
nativePoc | NativePoc |
device | ITestDevice |
Kehrt zurück | |
---|---|
AutoCloseable |
Wirft | |
---|---|
Exception |