EventiLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

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


Listener che registra tutti gli eventi che riceve in un file

Riepilogo

Costruttori pubblici

EventsLoggerListener (String name)

Metodi pubblici

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)

Costruttori pubblici

EventiLoggerListener

public EventsLoggerListener (String name)

Parametri
name String

Metodi pubblici

getLoggedEvents

public File getLoggedEvents ()

ritorna
File

invocazione terminata

public void invocationEnded (long elapsedTime)

Parametri
elapsedTime long

invocazione non riuscita

public void invocationFailed (FailureDescription failure)

Parametri
failure FailureDescription

invocazione avviata

public void invocationStarted (IInvocationContext context)

Parametri
context IInvocationContext

logAssociazione

public void logAssociation (String dataName, 
                LogFile logFile)

Parametri
dataName String

logFile LogFile

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                String trace)

Parametri
test TestDescription

trace String

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

Parametri
test TestDescription

failure FailureDescription

test terminato

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

Parametri
test TestDescription

endTime long

testMetrics

testFailed

public void testFailed (TestDescription test, 
                FailureDescription failure)

Parametri
test TestDescription

failure FailureDescription

testFailed

public void testFailed (TestDescription test, 
                String trace)

Parametri
test TestDescription

trace String

testIgnorato

public void testIgnored (TestDescription test)

Parametri
test TestDescription

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parametri
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

Parametri
elapsedTimeMillis long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

Parametri
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

Parametri
errorMessage String

testRunStarted

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

Parametri
runName String

testCount int

attemptNumber int

startTime long

testStarted

public void testStarted (TestDescription test, 
                long startTime)

Parametri
test TestDescription

startTime long