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)