コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。

ポクプッシャー

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

ビットネス32

public boolean bitness32

ビットネス64

public boolean bitness64

掃除

public boolean cleanup

パブリック コンストラクター

ポクプッシャー

public PocPusher ()

公開メソッド

appendBitness

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