EventLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

java.lang.Nesne
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ğrı Bitirildi

public void invocationEnded (long elapsedTime)

parametreler
elapsedTime long

çağırmaBaşarısız

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

testBitti

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

testModuleBitti

public void testModuleEnded ()

testModuleBaşladı

public void testModuleStarted (IInvocationContext moduleContext)

parametreler
moduleContext IInvocationContext

testRunBitti

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

parametreler
elapsedTimeMillis long

runMetrics

testRunFailed

public void testRunFailed (FailureDescription failure)

parametreler
failure FailureDescription

testRunFailed

public void testRunFailed (String errorMessage)

parametreler
errorMessage String

testÇalıştırı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