PocPizer
public class PocPusher
extends TestWatcher
java.lang.Object |
↳ | org.junit.rules.TestWatcher |
| ↳ | com.android.sts.common.PocPusher |
Các tiện ích giúp đẩy tệp thực thi PoC gốc vào thiết bị
Bản tóm tắt
Phương pháp được bảo vệ |
---|
void | finished (Description d) |
void | starting (Description d) |
Lĩnh vực
nối thêmBitness
public boolean appendBitness
bitness32
public boolean bitness32
bitness64
public boolean bitness64
dọn dẹp
public boolean cleanup
Nhà thầu xây dựng công cộng
PocPizer
public PocPusher ()
Phương pháp công khai
nối thêmBitness
public PocPusher appendBitness (boolean append)
cả haiBitness
public PocPusher bothBitness ()
dọn dẹp
public PocPusher cleanup (boolean cleanup)
đẩy tập tin
public void pushFile (String testFile,
String remoteFile)
Thông số |
---|
testFile | String |
remoteFile | String |
Ném |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Thông số |
---|
buildInfo | IBuildInfo |
bộThiết bị
public PocPusher setDevice (ITestDevice device)
Thông số |
---|
device | ITestDevice |
Phương pháp được bảo vệ
hoàn thành
protected void finished (Description d)
bắt đầu
protected void starting (Description d)