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