EventsLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

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


Listener, der alle empfangenen Ereignisse in einer Datei protokolliert

Zusammenfassung

Öffentliche Konstrukteure

EventsLoggerListener (String name)

Öffentliche Methoden

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)

Öffentliche Konstrukteure

EventsLoggerListener

public EventsLoggerListener (String name)

Parameter
name String

Öffentliche Methoden

getLoggedEvents

public File getLoggedEvents ()

Kehrt zurück
File

AufrufBeendet

public void invocationEnded (long elapsedTime)

Parameter
elapsedTime long

Aufruf fehlgeschlagen

public void invocationFailed (FailureDescription failure)

Parameter
failure FailureDescription

AufrufGestartet

public void invocationStarted (IInvocationContext context)

Parameter
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parameter
dataName String

logFile LogFile

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                String trace)

Parameter
test TestDescription

trace String

testAssumtionFailure

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

Parameter
test TestDescription

failure FailureDescription

testBeendet

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

Parameter
test TestDescription

endTime long

testMetrics

im Test durchgefallen

public void testFailed (TestDescription test, 
                FailureDescription failure)

Parameter
test TestDescription

failure FailureDescription

im Test durchgefallen

public void testFailed (TestDescription test, 
                String trace)

Parameter
test TestDescription

trace String

testIgnoriert

public void testIgnored (TestDescription test)

Parameter
test TestDescription

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parameter
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

Parameter
elapsedTimeMillis long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

Parameter
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

Parameter
errorMessage String

testRunGestartet

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

Parameter
runName String

testCount int

attemptNumber int

startTime long

testGestartet

public void testStarted (TestDescription test, 
                long startTime)

Parameter
test TestDescription

startTime long