PocPusher
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
bitness32
public boolean bitness32
bitness64
public boolean bitness64
ניקוי
public boolean cleanup
קונסטרוקטורים גלויים לכולם
PocPusher
public PocPusher ()
שיטות ציבוריות
appendBitness
public PocPusher appendBitness (boolean append)
פרמטרים | |
---|---|
append |
boolean |
החזרות | |
---|---|
PocPusher |
pushFile
public void pushFile (String testFile, String remoteFile)
פרמטרים | |
---|---|
testFile |
String |
remoteFile |
String |
זריקות | |
---|---|
FileNotFoundException |
|
DeviceNotAvailableException |
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 |