AdbStopServerPreparer

public class AdbStopServerPreparer
extends BaseTargetPreparer

java.lang.Oggetto
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.adb.AdbStopServerPreparer


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

public static final String ADB_BINARY_KEY

Costruttori pubblici

AdbStopServerPreparer ()

Metodi pubblici

void setUp ( TestInformation testInfo)

void tearDown ( TestInformation testInfo, Throwable e)

Metodi protetti

File findAdbLog ()

Campi

ADB_BINARY_KEY

public static final String ADB_BINARY_KEY

Costruttori pubblici

AdbStopServerPreparer

public AdbStopServerPreparer ()

Metodi pubblici

impostare

public void setUp (TestInformation testInfo)

Parametri
testInfo TestInformation

Getta
BuildError
DeviceNotAvailableException
TargetSetupError

demolire

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametri
testInfo TestInformation

e Throwable

Getta
DeviceNotAvailableException

Metodi protetti

findAdbLog

protected File findAdbLog ()

ritorna
File