波克普斯特

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)

欄位

附錄

public boolean appendBitness

Bitness32

public boolean bitness32

Bitness64

public boolean bitness64

資料整理

public boolean cleanup

公用建構函式

波克普斯特

public PocPusher ()

公用方法

附錄

public PocPusher appendBitness (boolean append)

參數
append boolean

傳回
PocPusher

兩棲類

public PocPusher bothBitness ()

傳回
PocPusher

資料整理

public PocPusher cleanup (boolean cleanup)

參數
cleanup boolean

傳回
PocPusher

只有 32

public PocPusher only32 ()

傳回
PocPusher

僅限 64

public PocPusher only64 ()

傳回
PocPusher

推送檔案

public void pushFile (String testFile, 
                String remoteFile)

參數
testFile String

remoteFile String

擲回
FileNotFoundException
DeviceNotAvailableException

SetAbi

public PocPusher setAbi (IAbi abi)

參數
abi IAbi

傳回
PocPusher

setBuild

public PocPusher setBuild (IBuildInfo buildInfo)

參數
buildInfo IBuildInfo

傳回
PocPusher

setDevice

public PocPusher setDevice (ITestDevice device)

參數
device ITestDevice

傳回
PocPusher

保護方法

完成

protected void finished (Description d)

參數
d Description

啟動中

protected void starting (Description d)

參數
d Description