Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

EventsLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

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


Oyente que registra todos los eventos que recibe en un archivo

Resumen

Constructores públicos

EventsLoggerListener (String name)

Métodos públicos

File getLoggedEvents ()
void invocationEnded (long elapsedTime)
void invocationFailed (FailureDescription failure)
void invocationStarted (IInvocationContext context)
void logAssociation (String dataName, LogFile logFile)
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 testModuleEnded ()
void testModuleStarted (IInvocationContext moduleContext)
void testRunEnded (long elapsedTimeMillis, runMetrics) testRunEnded (long elapsedTimeMillis, runMetrics)
void testRunFailed (FailureDescription failure)
void testRunFailed (String errorMessage)
void testRunStarted (String runName, int testCount, int attemptNumber, long startTime)
void testStarted (TestDescription test, long startTime)

Constructores públicos

EventsLoggerListener

public EventsLoggerListener (String name)

Parámetros
name String

Métodos públicos

getLoggedEvents

public File getLoggedEvents ()

Devoluciones
File

invocationEnded

public void invocationEnded (long elapsedTime)

Parámetros
elapsedTime long

invocationFailed

public void invocationFailed (FailureDescription failure)

Parámetros
failure FailureDescription

invocationStarted

public void invocationStarted (IInvocationContext context)

Parámetros
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parámetros
dataName String

logFile LogFile

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

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parámetros
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

Parámetros
elapsedTimeMillis 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 runName, 
                int testCount, 
                int attemptNumber, 
                long startTime)

Parámetros
runName String

testCount int

attemptNumber int

startTime long

testStarted

public void testStarted (TestDescription test, 
                long startTime)

Parámetros
test TestDescription

startTime long