PythonBinaryHostTest.PythonForwarder
public
static
class
PythonBinaryHostTest.PythonForwarder
extends ResultForwarder
java.lang.Object | ||
↳ | com.android.tradefed.result.ResultForwarder | |
↳ | com.android.tradefed.testtype.python.PythonBinaryHostTest.PythonForwarder |
実行名をバイナリ名に置き換える結果転送元。
概要
パブリック コンストラクタ | |
---|---|
PythonForwarder(ITestInvocationListener listener, String name)
バイナリ名を使用して実行名を指定する Ctor。 |
パブリック メソッド | |
---|---|
void
|
testRunStarted(String runName, int testCount)
テスト実行の開始を報告します。 |
void
|
testRunStarted(String runName, int testCount, int attempt, long startTime)
テスト実行の開始を報告します。 |
void
|
testRunStarted(String runName, int testCount, int attempt)
テスト実行の開始を報告します。 |
パブリック コンストラクタ
PythonForwarder
public PythonForwarder (ITestInvocationListener listener, String name)
Ctor は、バイナリ名を使用して実行名に置き換えます。
パラメータ | |
---|---|
listener |
ITestInvocationListener |
name |
String |
パブリック メソッド
testRunStarted
public void testRunStarted (String runName, int testCount)
テスト実行の開始を報告します。
パラメータ | |
---|---|
runName |
String : テスト実行名 |
testCount |
int : テスト実行のテストの合計数 |
testRunStarted
public void testRunStarted (String runName, int testCount, int attempt, long startTime)
テスト実行の開始を報告します。
パラメータ | |
---|---|
runName |
String : テスト実行名 |
testCount |
int : テスト実行のテストの合計数 |
attempt |
int : オーダー番号。同じ runName を複数回実行する際の試行を識別します。attemptNumber は 0 から始まり、新しい実行が行われるたびにインクリメントされます。たとえば、テストが 3 回きめ細かく再試行された場合、同じ runName で合計 4 回の実行が行われ、attemptNumber は 0 ~ 3 になります。 |
startTime |
long : 実行の開始時刻(System.currentTimeMillis() で測定) |
testRunStarted
public void testRunStarted (String runName, int testCount, int attempt)
テスト実行の開始を報告します。
パラメータ | |
---|---|
runName |
String : テスト実行名 |
testCount |
int : テスト実行のテストの合計数 |
attempt |
int : 複数回実行される同じ runName の異なる試行を識別する注文番号。attemptNumber は 0 から始まり、新しい実行が行われるたびにインクリメントされます。たとえば、テストが 3 回きめ細かく再試行された場合、同じ runName で合計 4 回の実行が行われ、attemptNumber は 0 ~ 3 になります。 |