ConsoleResultReporter

public class ConsoleResultReporter
extends TestResultListener implements ILogSaverListener, ITestInvocationListener

java.lang.Object
com.android.tradefed.result.TestResultListener
com.android.tradefed.result.ConsoleResultReporter


テスト結果をコンソールに出力する結果レポーター。

各テスト実行、各テストケース、テストメトリック、テストログ、およびテストファイルの場所を出力します。

概要

パブリックコンストラクター

ConsoleResultReporter ()

パブリックメソッド

void invocationEnded (long elapsedTime)

void invocationStarted (IInvocationContext context)
void logAssociation (String dataName, LogFile logFile)

void testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)

void testResult (TestDescription test, TestResult result)
void testRunEnded (long elapsedTimeMillis, metrics) testRunEnded (long elapsedTimeMillis, metrics)
void testRunFailed (FailureDescription failure)
void testRunFailed (String errorMessage)
void testRunStarted (String runName, int testCount)

パブリックコンストラクター

ConsoleResultReporter

public ConsoleResultReporter ()

パブリックメソッド

invocationEnded

public void invocationEnded (long elapsedTime)

パラメーター
elapsedTime long

invocationStarted

public void invocationStarted (IInvocationContext context)

パラメーター
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

パラメーター
dataName String

logFile LogFile

testLogSaved

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

パラメーター
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

テスト結果

public void testResult (TestDescription test, 
                TestResult result)

パラメーター
test TestDescription

result TestResult

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 metrics)

パラメーター
elapsedTimeMillis long

metrics

testRunFailed

public void testRunFailed (FailureDescription failure)

パラメーター
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

パラメーター
errorMessage String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

パラメーター
runName String

testCount int