Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

java.lang.Object
com.android.tradefed.result.SubprocessResultsReporter
com.android.tradefed.result.LegacySubprocessResultsReporter


Implementasi beku dari reporter hasil subproses yang harus tetap kompatibel dengan versi TF/CTS sebelumnya (misalnya 8+), meskipun ada perubahan dalam superclass-nya.

Reporter ini dapat disuntikkan secara dinamis untuk mengaktifkan kemampuan pelaporan subproses di rangkaian pengujian berbasis TF lama.

Ringkasan

Konstruktor publik

LegacySubprocessResultsReporter ()

Metode publik

void invocationEnded (long elapsedTime)

void invocationFailed (Throwable cause)

void invocationStarted (IBuildInfo buildInfo)
void logAssociation (String dataName, LogFile logFile)

void setLogSaver (ILogSaver logSaver)
void testAssumptionFailure (TestIdentifier testId, String trace)
void testEnded (TestIdentifier testId, metrics) testEnded (TestIdentifier testId, metrics)
void testEnded (TestIdentifier testId, long endTime, metrics) testEnded (TestIdentifier testId, long endTime, metrics)
void testFailed (TestIdentifier testId, String reason)
void testIgnored (TestIdentifier testId)
void testLogSaved (String dataName, LogDataType dataType, InputStreamSource dataStream, LogFile logFile)
void testModuleEnded ()

void testModuleStarted (IInvocationContext moduleContext)

void testRunEnded (long time, runMetrics) testRunEnded (long time, runMetrics)

void testRunFailed (String reason)

void testRunStarted (String runName, int testCount)

void testStarted (TestIdentifier testId)
void testStarted (TestIdentifier testId, long startTime)

Konstruktor publik

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

Metode publik

doaBerakhir

public void invocationEnded (long elapsedTime)

Parameter
elapsedTime long

doa gagal

public void invocationFailed (Throwable cause)

Parameter
cause Throwable

doaDimulai

public void invocationStarted (IBuildInfo buildInfo)

Parameter
buildInfo IBuildInfo

logAsosiasi

public void logAssociation (String dataName, 
                LogFile logFile)

Parameter
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

Parameter
logSaver ILogSaver

tesAsumsiKegagalan

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Parameter
testId TestIdentifier

trace String

tesBerakhir

public void testEnded (TestIdentifier testId, 
                 metrics)

Parameter
testId TestIdentifier

metrics

tesBerakhir

public void testEnded (TestIdentifier testId, 
                long endTime, 
                 metrics)

Parameter
testId TestIdentifier

endTime long

metrics

tesGagal

public void testFailed (TestIdentifier testId, 
                String reason)

Parameter
testId TestIdentifier

reason String

tesDiabaikan

public void testIgnored (TestIdentifier testId)

Parameter
testId TestIdentifier

tesLogDisimpan

public void testLogSaved (String dataName, 
                LogDataType dataType, 
                InputStreamSource dataStream, 
                LogFile logFile)

Parameter
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuledEnd

public void testModuleEnded ()

testModuleDimulai

public void testModuleStarted (IInvocationContext moduleContext)

Parameter
moduleContext IInvocationContext

testRunEnd

public void testRunEnded (long time, 
                 runMetrics)

Parameter
time long

runMetrics

testRunFailed

public void testRunFailed (String reason)

Parameter
reason String

testRunMulai

public void testRunStarted (String runName, 
                int testCount)

Parameter
runName String

testCount int

tesMulai

public void testStarted (TestIdentifier testId)

Parameter
testId TestIdentifier

tesMulai

public void testStarted (TestIdentifier testId, 
                long startTime)

Parameter
testId TestIdentifier

startTime long