AdbStopServerPreparer
public class AdbStopServerPreparer
extends BaseTargetPreparer
Preparatore di destinazione per arrestare il server adb sull'host prima e dopo l'esecuzione dei test adb.
Questo preparatore dovrebbe essere usato con attenzione poiché si ferma e riavvia adb sugli host. Di solito dovrebbe essere stretto con SemaphoreTokenTargetPreparer
per evitare che altri test vengano eseguiti contemporaneamente.
Riepilogo
Campi
ADB_BINARY_KEY
public static final String ADB_BINARY_KEY
Costruttori pubblici
AdbStopServerPreparer
public AdbStopServerPreparer ()
Metodi pubblici
public void setUp (TestInformation testInfo)
Parametri |
---|
testInfo | TestInformation |
public void tearDown (TestInformation testInfo,
Throwable e)
Parametri |
---|
testInfo | TestInformation |
e | Throwable |
Metodi protetti
findAdbLog
protected File findAdbLog ()