InstallAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

java.lang.Obiekt
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.InstallAllTestZipAppsSetup


ITargetPreparer , który instaluje wszystkie aplikacje w testowym pliku zip. Aby zainstalować indywidualną aplikację testową, zobacz TestAppInstallSetup .

Streszczenie

Konstruktory publiczne

InstallAllTestZipAppsSetup ()

Metody publiczne

void setCleanup (boolean cleanup)
void setStopInstallOnFailure (boolean stopInstallOnFailure)
void setTestZipName (String testZipName)
void setUp ( ITestDevice device, IBuildInfo buildInfo)

void tearDown ( ITestDevice device, IBuildInfo buildInfo, Throwable e)

Konstruktory publiczne

InstallAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Metody publiczne

zestawCzyszczenie

public void setCleanup (boolean cleanup)

Parametry
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Parametry
stopInstallOnFailure boolean

ustawTestZipNazwa

public void setTestZipName (String testZipName)

Parametry
testZipName String

organizować coś

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parametry
device ITestDevice

buildInfo IBuildInfo

Rzuty
DeviceNotAvailableException
TargetSetupError

zburzyć

public void tearDown (ITestDevice device, 
                IBuildInfo buildInfo, 
                Throwable e)

Parametry
device ITestDevice

buildInfo IBuildInfo

e Throwable

Rzuty
DeviceNotAvailableException