PocPusher
public class PocPusher
extends TestWatcher
Obiekt Java.lang.Object |
↳ | org.junit.rules.TestWatcher |
| ↳ | com.android.sts.common.PocPusher |
Narzędzia pomagające przesyłać natywny plik wykonywalny PoC na urządzenie
Streszczenie
Pola
dołączBitness
public boolean appendBitness
bitowość32
public boolean bitness32
bitowość64
public boolean bitness64
posprzątać
public boolean cleanup
Konstruktorzy publiczni
PocPusher
public PocPusher ()
Metody publiczne
dołączBitness
public PocPusher appendBitness (boolean append)
posprzątać
public PocPusher cleanup (boolean cleanup)
Parametry |
---|
cleanup | boolean |
plik push
public void pushFile (String testFile,
String remoteFile)
Parametry |
---|
testFile | String |
remoteFile | String |
Rzuca |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Parametry |
---|
buildInfo | IBuildInfo |
ustaw urządzenie
public PocPusher setDevice (ITestDevice device)
Parametry |
---|
device | ITestDevice |
Metody chronione
skończone
protected void finished (Description d)
startowy
protected void starting (Description d)