Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.
Organiza tus páginas con colecciones Guarda y categoriza el contenido según tus preferencias.

ResultAggregator

public class ResultAggregator
extends CollectingTestListener

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


Reenviador especial que agrega los resultados cuando es necesario, según la estrategia de reintento que se tomó.

Resumen

Constructores públicos

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

Métodos públicos

void cleanEventsFiles ()
final void forwardAggregatedInvocationLogs ()

Reenvíe todos los registros de nivel de invocación a los informadores de resultados que no admiten los 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)

Establece el nuevo informe.

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

Constructores públicos

ResultAggregator

public ResultAggregator ( listeners, 
                RetryStrategy strategy)

Parámetros
listeners

strategy RetryStrategy

Métodos públicos

cleanEventsFiles

public void cleanEventsFiles ()

forwardAggregatedInvocationLogs

public final void forwardAggregatedInvocationLogs ()

Reenvíe todos los registros de nivel de invocación a los informadores de resultados que no admiten los 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)

Establece los nuevos informes.

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

testFailed

public void testFailed (TestDescription test, 
                FailureDescription failure)

Parámetros
test TestDescription

failure FailureDescription

testFailed

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

Devoluciones
File[]