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

Résumé

Des champs

public boolean appendBitness

public boolean bitness32

public boolean bitness64

public boolean cleanup

Constructeurs publics

PocPusher ()

Méthodes publiques

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éthodes protégées

void finished (Description d)
void starting (Description d)

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

Retour
PocPusher

les deuxBitness

public PocPusher bothBitness ()

Retour
PocPusher

nettoyer

public PocPusher cleanup (boolean cleanup)

Paramètres
cleanup boolean

Retour
PocPusher

seulement32

public PocPusher only32 ()

Retour
PocPusher

seulement64

public PocPusher only64 ()

Retour
PocPusher

fichier push

public void pushFile (String testFile, 
                String remoteFile)

Paramètres
testFile String

remoteFile String

Jetés
FileNotFoundException
DeviceNotAvailableException

setAbi

public PocPusher setAbi (IAbi abi)

Paramètres
abi IAbi

Retour
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

Paramètres
buildInfo IBuildInfo

Retour
PocPusher

définirDevice

public PocPusher setDevice (ITestDevice device)

Paramètres
device ITestDevice

Retour
PocPusher

Méthodes protégées

fini

protected void finished (Description d)

Paramètres
d Description

départ

protected void starting (Description d)

Paramètres
d Description