PocPusher
public class PocPusher
extends TestWatcher
java.lang.Object |
↳ | org.junit.rules.TestWatcher |
| ↳ | com.android.sts.common.PocPusher |
帮助将本机 PoC 可执行文件推送到设备的实用程序
概括
领域
追加位数
public boolean appendBitness
位数32
public boolean bitness32
bitness64
public boolean bitness64
清理
public boolean cleanup
公共构造函数
PocPusher
public PocPusher ()
公共方法
追加位数
public PocPusher appendBitness (boolean append)
清理
public PocPusher cleanup (boolean cleanup)
推送文件
public void pushFile (String testFile,
String remoteFile)
参数 |
---|
testFile | String |
remoteFile | String |
投掷 |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
设置构建
public PocPusher setBuild (IBuildInfo buildInfo)
设置设备
public PocPusher setDevice (ITestDevice device)
受保护的方法
完成的
protected void finished (Description d)
开始
protected void starting (Description d)