Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.
Se usó la API de Cloud Translation para traducir esta página.
Switch to English

SubprocessResultsReporter

public class SubprocessResultsReporter
extends Object implements ITestInvocationListener, ILogSaverListener, ISupportGranularResults

java.lang.Object
com.android.tradefed.result.SubprocessResultsReporter


Implementa ITestInvocationListener para que se especifique como result_reporter y reenvíe desde el subproceso los resultados de las pruebas, ejecuciones de pruebas e invocaciones de pruebas.

Resumen

Constructores públicos

SubprocessResultsReporter ()

Métodos públicos

void close ()

TestSummary getSummary ()

void invocationEnded (long elapsedTime)

void invocationFailed (FailureDescription failure)

void invocationFailed (Throwable cause)

void invocationStarted (IInvocationContext context)

void logAssociation (String dataName, LogFile logFile)

void printEvent (String key, Object event)

Ayudante para imprimir la clave de evento y luego el objeto json.

void setOutputTestLog (boolean outputTestLog)

Establece si debemos generar el registro de prueba o no.

boolean supportGranularResults ()
void testAssumptionFailure (TestDescription testId, String trace)

void testEnded (TestDescription testId, long endTime, metrics) testEnded (TestDescription testId, long endTime, metrics)

void testEnded (TestDescription testId, metrics) testEnded (TestDescription testId, metrics)

void testFailed (TestDescription testId, String reason)

void testIgnored (TestDescription testId)

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

void testModuleEnded ()

void testModuleStarted (IInvocationContext moduleContext)

void testRunEnded (long time, runMetrics) testRunEnded (long time, runMetrics)

void testRunFailed (FailureDescription failure)

void testRunFailed (String reason)

void testRunStarted (String runName, int testCount, int attemptNumber)

void testRunStarted (String runName, int testCount)

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

void testRunStopped (long arg0)

void testStarted (TestDescription testId, long startTime)

void testStarted (TestDescription testId)

Constructores públicos

SubprocessResultsReporter

public SubprocessResultsReporter ()

Métodos públicos

cerca

public void close ()

getSummary

public TestSummary getSummary ()

Devoluciones
TestSummary

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

printEvent

public void printEvent (String key, 
                Object event)

Ayudante para imprimir la clave de evento y luego el objeto json.

Parámetros
key String

event Object

setOutputTestLog

public void setOutputTestLog (boolean outputTestLog)

Establece si debemos generar el registro de prueba o no.

Parámetros
outputTestLog boolean

supportGranularResults

public boolean supportGranularResults ()

Devoluciones
boolean

testAssumptionFailure

public void testAssumptionFailure (TestDescription testId, 
                String trace)

Parámetros
testId TestDescription

trace String

testEnded

public void testEnded (TestDescription testId, 
                long endTime, 
                 metrics)

Parámetros
testId TestDescription

endTime long

metrics

testEnded

public void testEnded (TestDescription testId, 
                 metrics)

Parámetros
testId TestDescription

metrics

testFailed

public void testFailed (TestDescription testId, 
                String reason)

Parámetros
testId TestDescription

reason String

testIgnored

public void testIgnored (TestDescription testId)

Parámetros
testId TestDescription

testLog

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

Parámetros
dataName String

dataType LogDataType

dataStream InputStreamSource

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parámetros
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

Parámetros
time long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

Parámetros
failure FailureDescription

testRunFailed

public void testRunFailed (String reason)

Parámetros
reason String

testRunStarted

public void testRunStarted (String runName, 
                int testCount, 
                int attemptNumber)

Parámetros
runName String

testCount int

attemptNumber int

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parámetros
runName String

testCount int

testRunStarted

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

Parámetros
runName String

testCount int

attemptNumber int

startTime long

testRunStopped

public void testRunStopped (long arg0)

Parámetros
arg0 long

testStarted

public void testStarted (TestDescription testId, 
                long startTime)

Parámetros
testId TestDescription

startTime long

testStarted

public void testStarted (TestDescription testId)

Parámetros
testId TestDescription