InstallAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


Ein ITargetPreparer , der alle Apps in einer Test-ZIP-Datei installiert. Für die individuelle Test-App-Installation schauen Sie sich bitte TestAppInstallSetup an.

Zusammenfassung

Öffentliche Bauträger

InstallAllTestZipAppsSetup ()

Öffentliche Methoden

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)

Öffentliche Bauträger

InstallAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Öffentliche Methoden

setCleanup

public void setCleanup (boolean cleanup)

Parameter
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Parameter
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

Parameter
testZipName String

aufstellen

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameter
device ITestDevice

buildInfo IBuildInfo

Würfe
DeviceNotAvailableException
TargetSetupError

abreißen

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

Parameter
device ITestDevice

buildInfo IBuildInfo

e Throwable

Würfe
DeviceNotAvailableException