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

setUp

public void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

พารามิเตอร์
device ITestDevice

buildInfo IBuildInfo

การโยน
DeviceNotAvailableException
TargetSetupError

tearDown

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

พารามิเตอร์
device ITestDevice

buildInfo IBuildInfo

e Throwable

การโยน
DeviceNotAvailableException