PocPusher
public
class
PocPusher
extends TestWatcher
java.lang.Object | ||
↳ | org.junit.rules.TestWatcher | |
↳ | com.android.sts.common.PocPusher |
可協助將原生 PoC 可執行檔推送至裝置的工具
摘要
欄位 | |
---|---|
public
boolean |
appendBitness
|
public
boolean |
bitness32
|
public
boolean |
bitness64
|
public
boolean |
cleanup
|
公用建構函式 | |
---|---|
PocPusher()
|
公用方法 | |
---|---|
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)
|
受保護的方法 | |
---|---|
void
|
finished(Description d)
|
void
|
starting(Description d)
|
欄位
appendBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
清理
public boolean cleanup
公用建構函式
PocPusher
public PocPusher ()
公用方法
pushFile
public void pushFile (String testFile, String remoteFile)
參數 | |
---|---|
testFile |
String |
remoteFile |
String |
擲回 | |
---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
受保護的方法
完成
protected void finished (Description d)
參數 | |
---|---|
d |
Description |
啟動中
protected void starting (Description d)
參數 | |
---|---|
d |
Description |