ContentBasedHelper

public class ContentBasedHelper
extends Object

java.lang.Object
   ↳ com.google.android.tradefed.build.content.ContentBasedHelper


כלי עזר לקבלת כל פרטי התוכן שקשורים ל-build ולבסיס שלו.

סיכום

‫constructors ציבוריים

ContentBasedHelper()

‫methods ציבוריים

static void analyzeExtraDownloads(SkipManager skipManager, ITestDevice device, MultiMap<String, File> extraTargetDownloads)

אנחנו מנתחים הורדות נוספות של יעד כדי לוודא שאנחנו מטפלים בכל התלויות של הבדיקה.

static ContentInformation getContentInformation(RemoteBuildInfo info, String branch, String buildFlavor, String buildId)

תביא את כל החלקים שנדרשים כדי לקבל מידע על תוכן שרלוונטי לגרסה בהשוואה לבסיס שלה.

static boolean hasCasDetails(RemoteBuildInfo info)

עזרה בבדיקה אם יש לנו את הפרטים לניתוח.

static boolean hasHostPackageArgs(TestDeviceOptions options)
static ContentAnalysisContext obtainCloudParameters(String branch, TestDeviceOptions options)

טיפול בניתוח התוכן של פרמטרים מוטמעים בענן.

‫constructors ציבוריים

ContentBasedHelper

public ContentBasedHelper ()

‫methods ציבוריים

analyzeExtraDownloads

public static void analyzeExtraDownloads (SkipManager skipManager, 
                ITestDevice device, 
                MultiMap<String, File> extraTargetDownloads)

אנחנו מנתחים הורדות נוספות של יעד כדי לוודא שאנחנו מטפלים בכל התלויות של הבדיקה.

פרמטרים
skipManager SkipManager: SkipManager

device ITestDevice

getContentInformation

public static ContentInformation getContentInformation (RemoteBuildInfo info, 
                String branch, 
                String buildFlavor, 
                String buildId)

תביא את כל החלקים שנדרשים כדי לקבל מידע על תוכן שרלוונטי לגרסה בהשוואה לבסיס שלה.

פרמטרים
info RemoteBuildInfo

branch String

buildFlavor String

buildId String

החזרות
ContentInformation

hasCasDetails

public static boolean hasCasDetails (RemoteBuildInfo info)

עזרה בבדיקה אם יש לנו את הפרטים לניתוח.

פרמטרים
info RemoteBuildInfo

החזרות
boolean

hasHostPackageArgs

public static boolean hasHostPackageArgs (TestDeviceOptions options)

פרמטרים
options TestDeviceOptions

החזרות
boolean

obtainCloudParameters

public static ContentAnalysisContext obtainCloudParameters (String branch, 
                TestDeviceOptions options)

טיפול בניתוח התוכן של פרמטרים מוטמעים בענן.

פרמטרים
branch String

options TestDeviceOptions

החזרות
ContentAnalysisContext

הקפצת הודעות שגיאה (throw)
BuildRetrievalError