PythonBinaryHostTest.PythonForwarder

public static class PythonBinaryHostTest.PythonForwarder
extends ResultForwarder

java.lang.オブジェクト
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

パブリックメソッド

テスト実行開始しました

public void testRunStarted (String runName, 
                int testCount)

テスト実行の開始を報告します。

パラメーター
runName String : テスト実行名

testCount int : テスト実行のテストの総数

テスト実行開始しました

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()によって測定された実行の開始時刻

テスト実行開始しました

public void testRunStarted (String runName, 
                int testCount, 
                int attempt)

テスト実行の開始を報告します。

パラメーター
runName String : テスト実行名

testCount int : テスト実行のテストの総数

attempt int : 順序番号。複数回実行される同じ runName の異なる試行を識別します。 attemptNumber は 0 から始まるインデックスであり、新しい実行が発生するたびに増加する必要があります。たとえば、テストは 3 回詳細に再試行され、同じ runName で合計 4 回の実行が必要で、attemptNumber は 0 ~ 3 です。