InstallAllTestZipAppsSetup

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 trong tệp zip kiểm thử. Để cài đặt ứng dụng kiểm thử riêng lẻ, vui lòng xem TestAppInstallSetup.

Tóm tắt

Hàm khởi tạo công khai

InstallAllTestZipAppsSetup()

Phương thức 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)

Hàm khởi tạo công khai

InstallAllTestZipAppsSetup

public InstallAllTestZipAppsSetup ()

Phương thức công khai

setCleanup

public void setCleanup (boolean cleanup)

Tham số
cleanup boolean

setStopInstallOnFailure

public void setStopInstallOnFailure (boolean stopInstallOnFailure)

Tham số
stopInstallOnFailure boolean

setTestZipName

public void setTestZipName (String testZipName)

Tham số
testZipName String

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Tham số
device ITestDevice

buildInfo IBuildInfo

Gửi
DeviceNotAvailableException
TargetSetupError

tearDown

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

Tham số
device ITestDevice

buildInfo IBuildInfo

e Throwable

Gửi
DeviceNotAvailableException