NativePocAsserter

public interface NativePocAsserter

com.android.sts.common.NativePocAsserter


Interfaccia per un asserter da usare con NativePoc.asserter() .

Riepilogo

Metodi pubblici

default void checkCmdResult (CommandResult result)

Chiamato al termine del PoC

default AutoCloseable withAutoCloseable ( NativePoc nativePoc, ITestDevice device)

Chiamato prima dell'esecuzione di un PoC, restituisce un AutoCloseable che si chiude al termine del PoC

Metodi pubblici

checkCmdResult

public void checkCmdResult (CommandResult result)

Chiamato al termine del PoC

Parametri
result CommandResult

con chiusura automatica

public AutoCloseable withAutoCloseable (NativePoc nativePoc, 
                ITestDevice device)

Chiamato prima dell'esecuzione di un PoC, restituisce un AutoCloseable che si chiude al termine del PoC

Parametri
nativePoc NativePoc

device ITestDevice

ritorna
AutoCloseable

Getta
Exception