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 nach Abschluss des PoC aufgerufen

default AutoCloseable withAutoCloseable ( NativePoc nativePoc, ITestDevice device)

Wird vor der Ausführung eines PoC aufgerufen und gibt ein AutoCloseable zurück, das nach Abschluss des PoC geschlossen wird

Öffentliche Methoden

checkCmdResult

public void checkCmdResult (CommandResult result)

Wird nach Abschluss des PoC aufgerufen

Parameter
result CommandResult

mitAutoCloseable

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Wird vor der Ausführung eines PoC aufgerufen und gibt ein AutoCloseable zurück, das nach Abschluss des PoC geschlossen wird

Parameter
nativePoc NativePoc

device ITestDevice

Kehrt zurück
AutoCloseable

Würfe
Exception