TestSystemAppInstallSetup
  public
  
  
  
  class
  TestSystemAppInstallSetup
  
  
  
  
    extends BaseTargetPreparer
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup | |
ITargetPreparer ที่ติดตั้งแอปอย่างน้อย 1 แอปจากโฟลเดอร์ IDeviceBuildInfo.getTestsDir() ลงในพาร์ติชัน /system บนอุปกรณ์
 
ต้องใช้การรูท adb
สรุป
| ตัวสร้างแบบสาธารณะ | |
|---|---|
| 
      TestSystemAppInstallSetup()
       | |
| เมธอดสาธารณะ | |
|---|---|
| 
        
        
        
        
        
        void | 
      addTestFileName(String fileName)
      เพิ่มไฟล์ลงในรายการ APK ที่จะติดตั้ง | 
| 
        
        
        
        
        
        void | 
      setUp(TestInformation testInfo)
      
 | 
ตัวสร้างแบบสาธารณะ
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
เมธอดสาธารณะ
addTestFileName
public void addTestFileName (String fileName)
เพิ่มไฟล์ลงในรายการ APK ที่จะติดตั้ง
setUp
public void setUp (TestInformation testInfo)
| พารามิเตอร์ | |
|---|---|
| testInfo | TestInformation | 
| การโยน | |
|---|---|
| DeviceNotAvailableException | |
| TargetSetupError | |
