ติดตั้ง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 ()

วิธีการสาธารณะ

ตั้งค่าการล้างข้อมูล

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