ResultAggregator
public
class
ResultAggregator
extends CollectingTestListener
java.lang.Object | ||
↳ | com.android.tradefed.result.CollectingTestListener | |
↳ | com.android.tradefed.retry.ResultAggregator |
취해진 재시도 전략에 따라 필요한 경우 결과를 집계하는 특수 전달자입니다.
요약
공개 생성자 | |
---|---|
ResultAggregator(
|
공개 메서드 | |
---|---|
void
|
cleanEventsFiles()
|
final
void
|
forwardAggregatedInvocationLogs()
모든 호출 수준 로그를 세부 결과를 지원하지 않는 결과 보고자에게 전달합니다. |
void
|
invocationEnded(long elapsedTime)
|
void
|
invocationFailed(FailureDescription failure)
|
void
|
invocationFailed(Throwable cause)
|
void
|
invocationStarted(IInvocationContext context)
|
void
|
logAssociation(String dataName, LogFile logFile)
|
void
|
setLogSaver(ILogSaver logSaver)
|
void
|
setUpdatedReporting(boolean updatedReporting)
새 보고를 설정합니다. |
void
|
testAssumptionFailure(TestDescription test, String trace)
|
void
|
testAssumptionFailure(TestDescription test, FailureDescription failure)
|
void
|
testEnded(TestDescription test, long endTime,
|
void
|
testFailed(TestDescription test, FailureDescription failure)
|
void
|
testFailed(TestDescription test, String trace)
|
void
|
testIgnored(TestDescription test)
|
void
|
testLog(String dataName, LogDataType dataType, InputStreamSource dataStream)
|
void
|
testLogSaved(String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
|
void
|
testModuleEnded()
|
void
|
testModuleStarted(IInvocationContext moduleContext)
|
void
|
testRunEnded(long elapsedTime,
|
void
|
testRunFailed(FailureDescription failure)
|
void
|
testRunFailed(String errorMessage)
|
void
|
testRunStarted(String name, int testCount, int attemptNumber, long startTime)
|
void
|
testStarted(TestDescription test, long startTime)
|
보호된 메서드 | |
---|---|
File[]
|
getEventsLogs()
|
공개 생성자
ResultAggregator
public ResultAggregator (listeners, RetryStrategy strategy)
매개변수 | |
---|---|
listeners |
|
strategy |
RetryStrategy |
공개 메서드
cleanEventsFiles
public void cleanEventsFiles ()
forwardAggregatedInvocationLogs
public final void forwardAggregatedInvocationLogs ()
모든 호출 수준 로그를 세부 결과를 지원하지 않는 결과 보고자에게 전달합니다.
invocationEnded
public void invocationEnded (long elapsedTime)
매개변수 | |
---|---|
elapsedTime |
long |
invocationFailed
public void invocationFailed (FailureDescription failure)
매개변수 | |
---|---|
failure |
FailureDescription |
invocationFailed
public void invocationFailed (Throwable cause)
매개변수 | |
---|---|
cause |
Throwable |
invocationStarted
public void invocationStarted (IInvocationContext context)
매개변수 | |
---|---|
context |
IInvocationContext |
logAssociation
public void logAssociation (String dataName, LogFile logFile)
매개변수 | |
---|---|
dataName |
String |
logFile |
LogFile |
setLogSaver
public void setLogSaver (ILogSaver logSaver)
매개변수 | |
---|---|
logSaver |
ILogSaver |
setUpdatedReporting
public void setUpdatedReporting (boolean updatedReporting)
새 보고를 설정합니다.
매개변수 | |
---|---|
updatedReporting |
boolean |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, String trace)
매개변수 | |
---|---|
test |
TestDescription |
trace |
String |
testAssumptionFailure
public void testAssumptionFailure (TestDescription test, FailureDescription failure)
매개변수 | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testEnded
public void testEnded (TestDescription test, long endTime,testMetrics)
매개변수 | |
---|---|
test |
TestDescription |
endTime |
long |
testMetrics |
|
testFailed
public void testFailed (TestDescription test, FailureDescription failure)
매개변수 | |
---|---|
test |
TestDescription |
failure |
FailureDescription |
testFailed
public void testFailed (TestDescription test, String trace)
매개변수 | |
---|---|
test |
TestDescription |
trace |
String |
testIgnored
public void testIgnored (TestDescription test)
매개변수 | |
---|---|
test |
TestDescription |
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 |
testModuleEnded
public void testModuleEnded ()
testModuleStarted
public void testModuleStarted (IInvocationContext moduleContext)
매개변수 | |
---|---|
moduleContext |
IInvocationContext |
testRunEnded
public void testRunEnded (long elapsedTime,runMetrics)
매개변수 | |
---|---|
elapsedTime |
long |
runMetrics |
|
testRunFailed
public void testRunFailed (FailureDescription failure)
매개변수 | |
---|---|
failure |
FailureDescription |
testRunFailed
public void testRunFailed (String errorMessage)
매개변수 | |
---|---|
errorMessage |
String |
testRunStarted
public void testRunStarted (String name, int testCount, int attemptNumber, long startTime)
매개변수 | |
---|---|
name |
String |
testCount |
int |
attemptNumber |
int |
startTime |
long |
testStarted
public void testStarted (TestDescription test, long startTime)
매개변수 | |
---|---|
test |
TestDescription |
startTime |
long |
보호된 메서드
getEventsLogs
protected File[] getEventsLogs ()
반환 값 | |
---|---|
File[] |