TestsPoolPoller

public final class TestsPoolPoller
extends Object implements IRemoteTest, IConfigurationReceiver , ISystemStatusCheckerReceiver , IMetricCollectorReceiver

java.lang.Object
com.android.tradefed.invoker.shard.TestsPoolPoller


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

TODO: הוסף טיפול עבור מודול/בדיקות אסימון.

סיכום

בנאים ציבוריים

TestsPoolPoller ( tests, CountDownLatch tracker) TestsPoolPoller ( tests, CountDownLatch tracker)

סקטור שבו מסופק המאגר של IRemoteTest .

TestsPoolPoller ( tests, tokenTests, CountDownLatch tracker) TestsPoolPoller ( tests, tokenTests, CountDownLatch tracker) TestsPoolPoller ( tests, tokenTests, CountDownLatch tracker)

שיטות ציבוריות

void run (TestInformation info, ITestInvocationListener listener)

void setConfiguration ( IConfiguration configuration)

מזריק את IConfiguration בשימוש.

void setLogRegistry ( ILogRegistry registry)
void setMetricCollectors ( collectors) setMetricCollectors ( collectors)

מגדיר את רשימת ה- IMetricCollector שהוגדרו להפעלת המבחן.

void setSystemStatusChecker ( systemCheckers) setSystemStatusChecker ( systemCheckers)

מגדיר את ISystemStatusChecker s מהתצורה של הבדיקה.

בנאים ציבוריים

TestsPoolPoller

public TestsPoolPoller ( tests, 
                CountDownLatch tracker)

סקטור שבו מסופק המאגר של IRemoteTest .

פרמטרים
tests : מאגר כל הבדיקות של IRemoteTest .

tracker CountDownLatch : ERROR(/CountDownLatch) ששותפה כדי לקבל את מספר המסקר הפועל.

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

setLogRegistry

public void setLogRegistry (ILogRegistry registry)

פרמטרים
registry ILogRegistry

setMetricCollectors

public void setMetricCollectors ( collectors)

מגדיר את רשימת ה- IMetricCollector שהוגדרו להפעלת המבחן.

פרמטרים
collectors

setSystemStatusChecker

public void setSystemStatusChecker ( systemCheckers)

מגדיר את ISystemStatusChecker s מהתצורה של הבדיקה.

פרמטרים
systemCheckers