TestSystemAppInstallSetup
  public
  
  
  
  class
  TestSystemAppInstallSetup
  
  
  
  
    extends BaseTargetPreparer
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.TestSystemAppInstallSetup | |
Un ITargetPreparer que instala una o más apps de una carpeta IDeviceBuildInfo.getTestsDir() en la partición /system del dispositivo.
 
Requiere acceso de raíz de adb
Resumen
| Constructores públicos | |
|---|---|
| 
      TestSystemAppInstallSetup()
       | |
| Métodos públicos | |
|---|---|
| 
        
        
        
        
        
        void | 
      addTestFileName(String fileName)
      Agrega un archivo a la lista de APKs para instalar. | 
| 
        
        
        
        
        
        void | 
      setUp(TestInformation testInfo)
      
 | 
Constructores públicos
TestSystemAppInstallSetup
public TestSystemAppInstallSetup ()
Métodos públicos
addTestFileName
public void addTestFileName (String fileName)
Agrega un archivo a la lista de APKs para instalar.
setUp
public void setUp (TestInformation testInfo)
| Parámetros | |
|---|---|
| testInfo | TestInformation | 
| Arroja | |
|---|---|
| DeviceNotAvailableException | |
| TargetSetupError | |
