ArtTest
public
class
ArtTest
extends Object
implements
IRemoteTest,
IShardableTest
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.ArtTest |
概要
フィールド | |
|---|---|
protected
|
mExecutedTestNames
|
protected
File |
mRunnerDir
|
protected
int |
mShardCount
|
protected
int |
mShardIndex
|
protected
TestInformation |
mTestInfo
|
protected
|
mTests
|
パブリック コンストラクタ | |
|---|---|
ArtTest()
|
|
パブリック メソッド | |
|---|---|
void
|
run(TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。 |
|
split(int shardCount)
実行しようとした shardCount も提供する |
フィールド
mExecutedTestNames
protectedmExecutedTestNames
mRunnerDir
protected File mRunnerDir
mShardCount
protected int mShardCount
mShardIndex
protected int mShardIndex
mTests
protectedmTests
パブリック コンストラクタ
ArtTest
public ArtTest ()
パブリック メソッド
ホームラン
public void run (TestInformation testInfo, ITestInvocationListener listener)
テストを実行し、結果をリスナーに報告します。
| パラメータ | |
|---|---|
testInfo |
TestInformation: テストの実行に役立つ情報を含む TestInformation オブジェクト。 |
listener |
ITestInvocationListener: テスト結果の ITestInvocationListener |
| 例外 | |
|---|---|
DeviceNotAvailableException |
|
分割
publicsplit (int shardCount)
実行しようとした shardCount も提供する split() の代替バージョン。これは、任意に決定できないテストランナーに役立ちます。
| パラメータ | |
|---|---|
shardCount |
int: 試行されたシャード数。 |
| 戻り値 | |
|---|---|
|
個別に実行されるサブテストのコレクション。テストが現在シャード可能でない場合は null |