PocPusher
public class PocPusher
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.PocPusher |
Utilitários para ajudar a enviar um executável PoC nativo para o dispositivo
Resumo
Campos | |
---|---|
public boolean | appendBitness |
public boolean | bitness32 |
public boolean | bitness64 |
public boolean | cleanup
|
Construtores públicos | |
---|---|
PocPusher () |
Métodos públicos | |
---|---|
PocPusher | appendBitness (boolean append) |
PocPusher | bothBitness () |
PocPusher | cleanup (boolean cleanup) |
PocPusher | only32 () |
PocPusher | only64 () |
void | pushFile (String testFile, String remoteFile) |
PocPusher | setAbi (IAbi abi) |
PocPusher | setBuild (IBuildInfo buildInfo) |
PocPusher | setDevice (ITestDevice device) |
Métodos protegidos | |
---|---|
void | finished (Description d) |
void | starting (Description d) |
Campos
anexarBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
limpar
public boolean cleanup
Construtores públicos
PocPusher
public PocPusher ()
Métodos públicos
anexarBitness
public PocPusher appendBitness (boolean append)
Parâmetros | |
---|---|
append | boolean |
Devoluções | |
---|---|
PocPusher |
arquivo push
public void pushFile (String testFile, String remoteFile)
Parâmetros | |
---|---|
testFile | String |
remoteFile | String |
Lança | |
---|---|
FileNotFoundException | |
DeviceNotAvailableException |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Parâmetros | |
---|---|
buildInfo | IBuildInfo |
Devoluções | |
---|---|
PocPusher |
setDispositivo
public PocPusher setDevice (ITestDevice device)
Parâmetros | |
---|---|
device | ITestDevice |
Devoluções | |
---|---|
PocPusher |
Métodos protegidos
finalizado
protected void finished (Description d)
Parâmetros | |
---|---|
d | Description |
iniciando
protected void starting (Description d)
Parâmetros | |
---|---|
d | Description |
PocPusher
public class PocPusher
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.PocPusher |
Utilitários para ajudar a enviar um executável PoC nativo para o dispositivo
Resumo
Campos | |
---|---|
public boolean | appendBitness |
public boolean | bitness32 |
public boolean | bitness64 |
public boolean | cleanup
|
Construtores públicos | |
---|---|
PocPusher () |
Métodos públicos | |
---|---|
PocPusher | appendBitness (boolean append) |
PocPusher | bothBitness () |
PocPusher | cleanup (boolean cleanup) |
PocPusher | only32 () |
PocPusher | only64 () |
void | pushFile (String testFile, String remoteFile) |
PocPusher | setAbi (IAbi abi) |
PocPusher | setBuild (IBuildInfo buildInfo) |
PocPusher | setDevice (ITestDevice device) |
Métodos protegidos | |
---|---|
void | finished (Description d) |
void | starting (Description d) |
Campos
anexarBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
limpar
public boolean cleanup
Construtores públicos
PocPusher
public PocPusher ()
Métodos públicos
anexarBitness
public PocPusher appendBitness (boolean append)
Parâmetros | |
---|---|
append | boolean |
Devoluções | |
---|---|
PocPusher |
arquivo push
public void pushFile (String testFile, String remoteFile)
Parâmetros | |
---|---|
testFile | String |
remoteFile | String |
Lança | |
---|---|
FileNotFoundException | |
DeviceNotAvailableException |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Parâmetros | |
---|---|
buildInfo | IBuildInfo |
Devoluções | |
---|---|
PocPusher |
setDispositivo
public PocPusher setDevice (ITestDevice device)
Parâmetros | |
---|---|
device | ITestDevice |
Devoluções | |
---|---|
PocPusher |
Métodos protegidos
finalizado
protected void finished (Description d)
Parâmetros | |
---|---|
d | Description |
iniciando
protected void starting (Description d)
Parâmetros | |
---|---|
d | Description |