Cài đặtAllTestZipAppsSetup

public class InstallAllTestZipAppsSetup
extends BaseTargetPreparer

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


ITargetPreparer cài đặt tất cả ứng dụng ở dạng zip thử nghiệm. Để cài đặt ứng dụng thử nghiệm riêng lẻ, vui lòng xem TestAppInstallSetup .

Bản tóm tắt

Nhà thầu xây dựng công cộng

InstallAllTestZipAppsSetup ()

Phương pháp công khai

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)

Nhà thầu xây dựng công cộng

Cài đặtAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Phương pháp công khai

setDọn dẹp

public void setCleanup (boolean cleanup)

Thông số
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Thông số
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

Thông số
testZipName String

cài đặt

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Thông số
device ITestDevice

buildInfo IBuildInfo

Ném
DeviceNotAvailableException
TargetSetupError

phá bỏ

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

Thông số
device ITestDevice

buildInfo IBuildInfo

e Throwable

Ném
DeviceNotAvailableException