PocPusher
public class PocPusher
extends TestWatcher
java.lang.Object |
↳ | org.junit.rules.TestWatcher |
| ↳ | com.android.sts.common.PocPusher |
Utilitaires pour aider à pousser un exécutable PoC natif sur l'appareil
Sommaire
Des champs
appendBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
nettoyer
public boolean cleanup
Constructeurs publics
PocPusher
public PocPusher ()
Méthodes publiques
appendBitness
public PocPusher appendBitness (boolean append)
Paramètres |
---|
append | boolean |
les deuxBitness
public PocPusher bothBitness ()
nettoyer
public PocPusher cleanup (boolean cleanup)
Paramètres |
---|
cleanup | boolean |
pushFile
public void pushFile (String testFile,
String remoteFile)
Paramètres |
---|
testFile | String |
remoteFile | String |
Lance |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Paramètres |
---|
buildInfo | IBuildInfo |
setDevice
public PocPusher setDevice (ITestDevice device)
Paramètres |
---|
device | ITestDevice |
Méthodes protégées
achevé
protected void finished (Description d)
départ
protected void starting (Description d)