PocPusher
public class PocPusher
extends TestWatcher
java.lang.Objeto |
↳ | org.junit.rules.TestWatcher |
| ↳ | com.android.sts.common.PocPusher |
Utilidades para ayudar a enviar un ejecutable PoC nativo al dispositivo
Resumen
Campos
agregarBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
limpiar
public boolean cleanup
Constructores públicos
PocPusher
public PocPusher ()
Métodos públicos
agregarBitness
public PocPusher appendBitness (boolean append)
Parámetros |
---|
append | boolean |
ambos Bitness
public PocPusher bothBitness ()
limpiar
public PocPusher cleanup (boolean cleanup)
Parámetros |
---|
cleanup | boolean |
empujar archivo
public void pushFile (String testFile,
String remoteFile)
Parámetros |
---|
testFile | String |
remoteFile | String |
Lanza |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
conjuntoAbi
public PocPusher setAbi (IAbi abi)
establecerConstruir
public PocPusher setBuild (IBuildInfo buildInfo)
Parámetros |
---|
buildInfo | IBuildInfo |
establecer dispositivo
public PocPusher setDevice (ITestDevice device)
Parámetros |
---|
device | ITestDevice |
Métodos protegidos
finalizado
protected void finished (Description d)
a partir de
protected void starting (Description d)