จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ

InstallAllTestZipAppsSetup

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)

ผู้สร้างสาธารณะ

InstallAllTestZipAppsSetup

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