התקן אתAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


ITargetPreparer שמתקין את כל האפליקציות ב-zip לניסיון. להתקנת אפליקציה לבדיקה בודדת, עיין ב- TestAppInstallSetup .

סיכום

בנאים ציבוריים

InstallAllTestZipAppsSetup ()

שיטות ציבוריות

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)

בנאים ציבוריים

התקן אתAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

שיטות ציבוריות

setCleanup

public void setCleanup (boolean cleanup)

פרמטרים
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

פרמטרים
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

פרמטרים
testZipName String

להכין

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

פרמטרים
device ITestDevice

buildInfo IBuildInfo

זורק
DeviceNotAvailableException
TargetSetupError

לקרוע

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

פרמטרים
device ITestDevice

buildInfo IBuildInfo

e Throwable

זורק
DeviceNotAvailableException