PocPusher
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 công cộng
PocPusher
public PocPusher ()
Phương thức công khai
nối thêmBitness
public PocPusher appendBitness (boolean append)
dọn dẹp
public PocPusher cleanup (boolean cleanup)
đẩyFile
public void pushFile (String testFile,
String remoteFile)
Thông số |
---|
testFile | String |
remoteFile | String |
ném |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
thiết lậpBuild
public PocPusher setBuild (IBuildInfo buildInfo)
Thông số |
---|
buildInfo | IBuildInfo |
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)