Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.
Tetap teratur dengan koleksi Simpan dan kategorikan konten berdasarkan preferensi Anda.

EventsLoggerListener

public class EventsLoggerListener
extends Object implements ILogSaverListener

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


Pendengar yang mencatat semua peristiwa yang diterimanya ke dalam file

Ringkasan

Konstruktor publik

EventsLoggerListener (String name)

Metode publik

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)

Konstruktor publik

EventsLoggerListener

public EventsLoggerListener (String name)

Parameter
name String

Metode publik

getLoggedEvents

public File getLoggedEvents ()

Kembali
File

doaBerakhir

public void invocationEnded (long elapsedTime)

Parameter
elapsedTime long

doa gagal

public void invocationFailed (FailureDescription failure)

Parameter
failure FailureDescription

doaDimulai

public void invocationStarted (IInvocationContext context)

Parameter
context IInvocationContext

logAsosiasi

public void logAssociation (String dataName, 
                LogFile logFile)

Parameter
dataName String

logFile LogFile

tesAsumsiKegagalan

public void testAssumptionFailure (TestDescription test, 
                String trace)

Parameter
test TestDescription

trace String

tesAsumsiKegagalan

public void testAssumptionFailure (TestDescription test, 
                FailureDescription failure)

Parameter
test TestDescription

failure FailureDescription

tesBerakhir

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

Parameter
test TestDescription

endTime long

testMetrics

tesGagal

public void testFailed (TestDescription test, 
                FailureDescription failure)

Parameter
test TestDescription

failure FailureDescription

tesGagal

public void testFailed (TestDescription test, 
                String trace)

Parameter
test TestDescription

trace String

tesDiabaikan

public void testIgnored (TestDescription test)

Parameter
test TestDescription

testModuledEnd

public void testModuleEnded ()

testModuleDimulai

public void testModuleStarted (IInvocationContext moduleContext)

Parameter
moduleContext IInvocationContext

testRunEnd

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

testRunMulai

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

Parameter
runName String

testCount int

attemptNumber int

startTime long

tesMulai

public void testStarted (TestDescription test, 
                long startTime)

Parameter
test TestDescription

startTime long