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) テスト実行の開始を報告します。 |
パブリック コンストラクター
Pythonフォワーダー
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 : 実行が開始された時間、 ERROR(/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 です。 |