TextResultReporter
public
class
TextResultReporter
extends InvocationToJUnitResultForwarder
implements
ITestInvocationListener,
ILogSaverListener
| java.lang.Object | ||
| ↳ | com.android.tradefed.result.InvocationToJUnitResultForwarder | |
| ↳ | com.android.tradefed.result.TextResultReporter | |
結果を JUnit テキスト結果プリンタに転送するテスト結果レポーター。
概要
パブリック コンストラクタ | |
|---|---|
TextResultReporter()
|
|
パブリック メソッド | |
|---|---|
void
|
testAssumptionFailure(TestDescription testId, String trace)
|
void
|
testEnded(TestDescription testId,
親をオーバーライドして、テスト指標を明示的に出力します。 |
void
|
testFailed(TestDescription testId, String trace)
親をオーバーライドして、失敗を明示的に出力します。 |
void
|
testLog(String dataName, LogDataType dataType, InputStreamSource dataStream)
|
void
|
testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
|
void
|
testRunEnded(long elapsedTime,
親をオーバーライドして、指標を明示的に出力します。 |
パブリック コンストラクタ
パブリック メソッド
testAssumptionFailure
public void testAssumptionFailure (TestDescription testId,
String trace)| パラメータ | |
|---|---|
testId |
TestDescription |
trace |
String |
testEnded
public void testEnded (TestDescription testId,
metrics) 親をオーバーライドして、テスト指標を明示的に出力します。
| パラメータ | |
|---|---|
testId |
TestDescription |
metrics |
|
testFailed
public void testFailed (TestDescription testId,
String trace)親をオーバーライドして、失敗を明示的に出力します。ResultPrinter は、テスト実行の終了時にランナーが「print」を呼び出すことを前提としています。
| パラメータ | |
|---|---|
testId |
TestDescription |
trace |
String |
testLog
public void testLog (String dataName,
LogDataType dataType,
InputStreamSource dataStream)
| パラメータ | |
|---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
testLogSaved
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
| パラメータ | |
|---|---|
dataName |
String |
dataType |
LogDataType |
dataStream |
InputStreamSource |
logFile |
LogFile |
testRunEnded
public void testRunEnded (long elapsedTime,
metrics) 親をオーバーライドして、指標を明示的に出力します。
| パラメータ | |
|---|---|
elapsedTime |
long |
metrics |
|