TestSystemAppInstallSetup

public class TestSystemAppInstallSetup
extends BaseTargetPreparer

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


ITargetPreparer ที่ติดตั้งแอปตั้งแต่หนึ่งแอปขึ้นไปจากโฟลเดอร์ IDeviceBuildInfo.getTestsDir() ลงในพาร์ติชัน /ระบบบนอุปกรณ์

ต้องการราก adb

สรุป

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

TestSystemAppInstallSetup ()

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

void addTestFileName (String fileName)

เพิ่มไฟล์ในรายการ apk ที่จะติดตั้ง

void setUp ( TestInformation testInfo)

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

TestSystemAppInstallSetup

public TestSystemAppInstallSetup ()

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

addTestFileName

public void addTestFileName (String fileName)

เพิ่มไฟล์ในรายการ apk ที่จะติดตั้ง

ติดตั้ง

public void setUp (TestInformation testInfo)

พารามิเตอร์
testInfo TestInformation

พ่น
DeviceNotAvailableException
TargetSetupError