EventLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

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


Aldığı tüm olayları bir dosyaya kaydeden dinleyici

Özet

Kamu inşaatçıları

EventsLoggerListener (String name)

Genel yöntemler

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)

Kamu inşaatçıları

EventLoggerListener

public EventsLoggerListener (String name)

Parametreler
name String

Genel yöntemler

getLoggedEvents

public File getLoggedEvents ()

İadeler
File

çağırma sona erdi

public void invocationEnded (long elapsedTime)

Parametreler
elapsedTime long

çağrı başarısız oldu

public void invocationFailed (FailureDescription failure)

Parametreler
failure FailureDescription

çağrı başlatıldı

public void invocationStarted (IInvocationContext context)

Parametreler
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parametreler
dataName String

logFile LogFile

testVarsayımBaşarısızlık

public void testAssumptionFailure (TestDescription test, 
                String trace)

Parametreler
test TestDescription

trace String

testVarsayımBaşarısızlık

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

Parametreler
test TestDescription

failure FailureDescription

testSonlandı

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

Parametreler
test TestDescription

endTime long

testMetrics

test başarısız

public void testFailed (TestDescription test, 
                FailureDescription failure)

Parametreler
test TestDescription

failure FailureDescription

test başarısız

public void testFailed (TestDescription test, 
                String trace)

Parametreler
test TestDescription

trace String

testYoksayıldı

public void testIgnored (TestDescription test)

Parametreler
test TestDescription

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parametreler
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

Parametreler
elapsedTimeMillis long

runMetrics

testRun Başarısız

public void testRunFailed (FailureDescription failure)

Parametreler
failure FailureDescription

testRun Başarısız

public void testRunFailed (String errorMessage)

Parametreler
errorMessage String

testRunBaşlatıldı

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

Parametreler
runName String

testCount int

attemptNumber int

startTime long

testBaşladı

public void testStarted (TestDescription test, 
                long startTime)

Parametreler
test TestDescription

startTime long