PushFilePreparer
public class PushFilePreparer
extends BaseTargetPreparer
implements IAbiReceiver , IInvocationContextReceiver , IDiscoverDependencies
ITargetPreparer
שמנסה לדחוף כל מספר של קבצים מכל נתיב מארח לכל נתיב מכשיר.
יש לבצע *לאחר* בנייה חדשה מהבהבת, ו*אחרי* הפעלת DeviceSetup (אם מופעל)
סיכום
בנאים ציבוריים
PushFilePreparer
public PushFilePreparer ()
שיטות ציבוריות
getAbi
public IAbi getAbi ()
getPushSpecs
public final getPushSpecs (ITestDevice device)
צור את רשימת הקבצים שיש לדחוף.
פרמטרים |
---|
device | ITestDevice |
isCleanUpEnabled
public boolean isCleanUpEnabled ()
דווח על תלות
public reportDependencies ()
resolveRelativeFilePath
public File resolveRelativeFilePath (IBuildInfo buildInfo,
String fileName)
פתרו נתיב קובץ יחסי באמצעות IBuildInfo
וספריות מקרי בדיקה.
פרמטרים |
---|
buildInfo | IBuildInfo : מידע על חפצי הבנייה |
fileName | String : נתיב קובץ יחסי שיש לפתור |
החזרות |
---|
File | הקובץ מתוך ספריות ה-build info או מקרי בדיקה |
setAbi
public void setAbi (IAbi abi)
setInvocationContext
public void setInvocationContext (IInvocationContext invocationContext)
פרמטרים |
---|
invocationContext | IInvocationContext |
public void setUp (TestInformation testInfo)
פרמטרים |
---|
testInfo | TestInformation |
shouldAbortOnFailure
public boolean shouldAbortOnFailure ()
האם להפסיק או לא על כשל בדחיפה.
shouldRemountSystem
public boolean shouldRemountSystem ()
shouldRemountVendor
public boolean shouldRemountVendor ()
public void tearDown (TestInformation testInfo,
Throwable e)
פרמטרים |
---|
testInfo | TestInformation |
e | Throwable |