O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

ResultAggregator

public class ResultAggregator
extends CollectingTestListener

java.lang.Object
com.android.tradefed.result.CollectingTestListener
com.android.tradefed.retry.ResultAggregator


Encaminhador especial que agrega os resultados quando necessário, com base na estratégia de nova tentativa que foi tomada.

Resumo

Construtoras públicas

ResultAggregator ( listeners, RetryStrategy strategy) ResultAggregator ( listeners, RetryStrategy strategy)

Métodos públicos

void cleanEventsFiles ()
final void forwardAggregatedInvocationLogs ()

Encaminhe todos os logs de nível de invocação para os relatores de resultado que não oferecem suporte aos resultados granulares.

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)

Define o novo relatório.

void testAssumptionFailure (TestDescription test, String trace)
void testAssumptionFailure (TestDescription test, FailureDescription failure)
void testEnded (TestDescription test, long endTime, testMetrics) testEnded (TestDescription test, long endTime, testMetrics)

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, runMetrics) testRunEnded (long elapsedTime, runMetrics)

void testRunFailed (FailureDescription failure)

void testRunFailed (String errorMessage)

void testRunStarted (String name, int testCount, int attemptNumber, long startTime)

void testStarted (TestDescription test, long startTime)

Métodos protegidos

File[] getEventsLogs ()

Construtoras públicas

ResultAggregator

public ResultAggregator ( listeners, 
                RetryStrategy strategy)

Parâmetros
listeners

strategy RetryStrategy

Métodos públicos

cleanEventsFiles

public void cleanEventsFiles ()

forwardAggregatedInvocationLogs

public final void forwardAggregatedInvocationLogs ()

Encaminhe todos os logs de nível de invocação para os relatores de resultados que não suportam os resultados granulares.

invocationEnded

public void invocationEnded (long elapsedTime)

Parâmetros
elapsedTime long

invocationFailed

public void invocationFailed (FailureDescription failure)

Parâmetros
failure FailureDescription

invocationFailed

public void invocationFailed (Throwable cause)

Parâmetros
cause Throwable

invocationStarted

public void invocationStarted (IInvocationContext context)

Parâmetros
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parâmetros
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

Parâmetros
logSaver ILogSaver

setUpdatedReporting

public void setUpdatedReporting (boolean updatedReporting)

Define o novo relatório.

Parâmetros
updatedReporting boolean

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                String trace)

Parâmetros
test TestDescription

trace String

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

Parâmetros
test TestDescription

failure FailureDescription

testEnded

public void testEnded (TestDescription test, 
                long endTime, 
                 testMetrics)

Parâmetros
test TestDescription

endTime long

testMetrics

teste falhou

public void testFailed (TestDescription test, 
                FailureDescription failure)

Parâmetros
test TestDescription

failure FailureDescription

teste falhou

public void testFailed (TestDescription test, 
                String trace)

Parâmetros
test TestDescription

trace String

testIgnored

public void testIgnored (TestDescription test)

Parâmetros
test TestDescription

testLog

public void testLog (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream)

Parâmetros
dataName String

dataType LogDataType

dataStream InputStreamSource

testLogSaved

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

Parâmetros
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parâmetros
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTime, 
                 runMetrics)

Parâmetros
elapsedTime long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

Parâmetros
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

Parâmetros
errorMessage String

testRunStarted

public void testRunStarted (String name, 
                int testCount, 
                int attemptNumber, 
                long startTime)

Parâmetros
name String

testCount int

attemptNumber int

startTime long

testStarted

public void testStarted (TestDescription test, 
                long startTime)

Parâmetros
test TestDescription

startTime long

Métodos protegidos

getEventsLogs

protected File[] getEventsLogs ()

Devoluções
File[]