RetryResultForwarder
public class RetryResultForwarder
extends ResultForwarder
java.lang.Object | ||
↳ | com.android.tradefed.result.ResultForwarder | |
↳ | com.android.tradefed.result.RetryResultForwarder |
常に特定の試行回数にプッシュするResultForwarder
の拡張。
まとめ
パブリック コンストラクター | |
---|---|
RetryResultForwarder (int attemptNumber, ITestInvocationListener... listeners) |
公開メソッド | |
---|---|
void | testRunStarted (String runName, int testCount) テスト実行の開始を報告します。 |
void | testRunStarted (String runName, int testCount, int attemptNumber) テスト実行の開始を報告します。 |
パブリック コンストラクター
RetryResultForwarder
public RetryResultForwarder (int attemptNumber, ITestInvocationListener... listeners)
パラメーター | |
---|---|
attemptNumber | int |
listeners | ITestInvocationListener |
公開メソッド
testRunStarted
public void testRunStarted (String runName, int testCount)
テスト実行の開始を報告します。
パラメーター | |
---|---|
runName | String : テスト実行名 |
testCount | int : テスト実行中のテストの総数 |
testRunStarted
public void testRunStarted (String runName, int testCount, int attemptNumber)
テスト実行の開始を報告します。
パラメーター | |
---|---|
runName | String : テスト実行名 |
testCount | int : テスト実行中のテストの総数 |
attemptNumber | int : 複数回実行される同じ runName の異なる試行を識別する順序番号。 AttemptNumber のインデックスは 0 であり、新しい実行が発生するたびに増加する必要があります。たとえば、テストは詳細に 3 回再試行されます。同じ runName で合計 4 回実行する必要があり、attemptNumber は 0 から 3 です。 |