TestsPoolPoller
public
final
class
TestsPoolPoller
extends Object
implements
IRemoteTest,
IConfigurationReceiver,
ISystemStatusCheckerReceiver,
IMetricCollectorReceiver
| java.lang.Object | |
| ↳ | com.android.tradefed.invoker.shard.TestsPoolPoller |
テストプールのすべてのテストを実行できるテスト ラッパー。テストは別の TestsPoolPoller と共有できるため、同期が必要です。
TODO: トークン モジュール/テストの処理を追加。
概要
パブリック コンストラクタ | |
|---|---|
TestsPoolPoller(
|
|
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)
IRemoteTest のプールが指定される Ctor。
| パラメータ | |
|---|---|
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 |
setMetricCollectors
public void setMetricCollectors (collectors)
テスト実行用に定義された IMetricCollector のリストを設定します。
| パラメータ | |
|---|---|
collectors |
|
setSystemStatusChecker
public void setSystemStatusChecker (systemCheckers)
テストの構成から ISystemStatusChecker を設定します。
| パラメータ | |
|---|---|
systemCheckers |
|