RootTargetPreparer

public final class RootTargetPreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.RootTargetPreparer


Narzędzie do przygotowywania docelowego, które wykonuje polecenie „adb root” lub „adb unroot” na podstawie opcji „force-root”.

Po usunięciu przywróci stan pierwotny.

Podsumowanie

Konstruktory publiczne

RootTargetPreparer()

Metody publiczne

void setUp(TestInformation testInfo)
void tearDown(TestInformation testInfo, Throwable e)

Konstruktory publiczne

Przygotowanie elementów głównych

public RootTargetPreparer ()

Metody publiczne

Konfiguracja

public void setUp (TestInformation testInfo)

Parametry
testInfo TestInformation

Rzuty
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parametry
testInfo TestInformation

e Throwable

Rzuty
DeviceNotAvailableException