EventsLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

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


المستمع الذي يسجل كافة الأحداث التي يتلقاها في ملف

ملخص

المقاولين العامة

EventsLoggerListener (String name)

الأساليب العامة

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)

المقاولين العامة

EventsLoggerListener

public EventsLoggerListener (String name)

حدود
name String

الأساليب العامة

getLoggedEvents

public File getLoggedEvents ()

عائدات
File

انتهت الدعوة

public void invocationEnded (long elapsedTime)

حدود
elapsedTime long

فشل الاستدعاء

public void invocationFailed (FailureDescription failure)

حدود
failure FailureDescription

invocationStarted

public void invocationStarted (IInvocationContext context)

حدود
context IInvocationContext

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

حدود
dataName String

logFile LogFile

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                String trace)

حدود
test TestDescription

trace String

testAssumptionFailure

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

حدود
test TestDescription

failure FailureDescription

انتهى الاختبار

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

حدود
test TestDescription

endTime long

testMetrics

فشل الاختبار

public void testFailed (TestDescription test, 
                FailureDescription failure)

حدود
test TestDescription

failure FailureDescription

فشل الاختبار

public void testFailed (TestDescription test, 
                String trace)

حدود
test TestDescription

trace String

testIgnored

public void testIgnored (TestDescription test)

حدود
test TestDescription

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

حدود
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long elapsedTimeMillis, 
                 runMetrics)

حدود
elapsedTimeMillis long

runMetrics

فشل تشغيل الاختبار

public void testRunFailed (FailureDescription failure)

حدود
failure FailureDescription

فشل تشغيل الاختبار

public void testRunFailed (String errorMessage)

حدود
errorMessage String

testRunStarted

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

حدود
runName String

testCount int

attemptNumber int

startTime long

testStarted

public void testStarted (TestDescription test, 
                long startTime)

حدود
test TestDescription

startTime long