TestsPoolPoller
public
final
class
TestsPoolPoller
extends Object
implements
IRemoteTest,
IConfigurationReceiver,
ISystemStatusCheckerReceiver,
IMetricCollectorReceiver
java.lang.Object | |
↳ | com.android.tradefed.invoker.shard.TestsPoolPoller |
מעטפת בדיקות שמאפשרת להריץ את כל הבדיקות במאגר בדיקות. אפשר לשתף בדיקות עם TestsPoolPoller
אחר, ולכן נדרש סנכרון.
TODO: Add handling for token module/tests.
סיכום
קונסטרוקטורים גלויים לכולם | |
---|---|
TestsPoolPoller(
יצירת אובייקט (constructor) שבו מצוין המאגר של |
|
TestsPoolPoller(
|
שיטות ציבוריות | |
---|---|
void
|
run(TestInformation info, ITestInvocationListener listener)
|
void
|
setConfiguration(IConfiguration configuration)
הזרקת |
void
|
setLogRegistry(ILogRegistry registry)
|
void
|
setMetricCollectors(
הגדרת רשימת ה- |
void
|
setSystemStatusChecker(
מגדיר את הערכים של |
קונסטרוקטורים גלויים לכולם
TestsPoolPoller
public TestsPoolPoller (tests, CountDownLatch tracker)
יצירת אובייקט (constructor) שבו מצוין המאגר של IRemoteTest
.
פרמטרים | |
---|---|
tests |
: המאגר של IRemoteTest לכל הבדיקות. |
tracker |
CountDownLatch : ERROR(/CountDownLatch) משותף כדי לקבל את מספר ה-pollers שפועלים.
|
TestsPoolPoller
public TestsPoolPoller (tests, tokenTests, CountDownLatch tracker)
פרמטרים | |
---|---|
tests |
|
tokenTests |
|
tracker |
CountDownLatch |
שיטות ציבוריות
ראן
public void run (TestInformation info, ITestInvocationListener listener)
פרמטרים | |
---|---|
info |
TestInformation |
listener |
ITestInvocationListener |
זריקות | |
---|---|
DeviceNotAvailableException |
setConfiguration
public void setConfiguration (IConfiguration configuration)
הזרקת IConfiguration
בשימוש.
פרמטרים | |
---|---|
configuration |
IConfiguration |
setMetricCollectors
public void setMetricCollectors (collectors)
הגדרת רשימת ה-IMetricCollector
שמוגדרים להרצת הבדיקה.
פרמטרים | |
---|---|
collectors |
|
setSystemStatusChecker
public void setSystemStatusChecker (systemCheckers)
מגדיר את הערכים של ISystemStatusChecker
מההגדרה של הבדיקה.
פרמטרים | |
---|---|
systemCheckers |
|