PocPusher
public class PocPusher
extends TestWatcher
java.lang.object |
↳ | org.junit.rules.TestWatcher |
| ↳ | com.android.sts.common.PocPusher |
ابزارهای کمکی برای کمک به ارسال یک PoC قابل اجرایی بومی به دستگاه
خلاصه
زمینه های
appendBitness
public boolean appendBitness
بیتنس32
public boolean bitness32
بیتنس64
public boolean bitness64
پاک کردن
public boolean cleanup
سازندگان عمومی
PocPusher
public PocPusher ()
روش های عمومی
appendBitness
public PocPusher appendBitness (boolean append)
پاک کردن
public PocPusher cleanup (boolean cleanup)
مولفه های |
---|
cleanup | boolean |
pushFile
public void pushFile (String testFile,
String remoteFile)
مولفه های |
---|
testFile | String |
remoteFile | String |
پرتاب می کند |
---|
FileNotFoundException | |
DeviceNotAvailableException | |
setBuild
public PocPusher setBuild (IBuildInfo buildInfo)
مولفه های |
---|
buildInfo | IBuildInfo |
setDevice
public PocPusher setDevice (ITestDevice device)
مولفه های |
---|
device | ITestDevice |
روش های محافظت شده
تمام شده
protected void finished (Description d)
راه افتادن
protected void starting (Description d)