TestSystemAppInstallSetup
public class TestSystemAppInstallSetup
extends BaseTargetPreparer
java.lang.Object | ||
เ | com.android.tradefed.targetprep.BaseTargetPreparer | |
เ | com.android.tradefed.targetprep.TestSystemAppInstallSetup |
ITargetPreparer
ที่ติดตั้งแอพตั้งแต่หนึ่งตัวขึ้นไปจากโฟลเดอร์ IDeviceBuildInfo.getTestsDir()
ลงในพาร์ติชั่น /system บนอุปกรณ์
ต้องใช้ adb root
สรุป
ผู้สร้างสาธารณะ | |
---|---|
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 |