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)
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

testResult

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