LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

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


Eine eingefrorene Implementierung des Subprocess Results Reporters, die trotz Änderungen in ihrer Superklasse mit früheren Versionen von TF/CTS (zB 8+) kompatibel bleiben sollte.

Dieser Reporter kann dynamisch eingefügt werden, um die Berichterstellung für Teilprozesse in alten TF-basierten Testsuiten zu ermöglichen.

Zusammenfassung

Öffentliche Konstrukteure

LegacySubprocessResultsReporter ()

Öffentliche Methoden

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)

Öffentliche Konstrukteure

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

Öffentliche Methoden

AufrufBeendet

public void invocationEnded (long elapsedTime)

Parameter
elapsedTime long

Aufruf fehlgeschlagen

public void invocationFailed (Throwable cause)

Parameter
cause Throwable

AufrufGestartet

public void invocationStarted (IBuildInfo buildInfo)

Parameter
buildInfo IBuildInfo

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parameter
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

Parameter
logSaver ILogSaver

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Parameter
testId TestIdentifier

trace String

testBeendet

public void testEnded (TestIdentifier testId, 
                 metrics)

Parameter
testId TestIdentifier

metrics

testBeendet

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

Parameter
testId TestIdentifier

endTime long

metrics

im Test durchgefallen

public void testFailed (TestIdentifier testId, 
                String reason)

Parameter
testId TestIdentifier

reason String

testIgnoriert

public void testIgnored (TestIdentifier testId)

Parameter
testId TestIdentifier

testLogGespeichert

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

Parameter
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parameter
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

Parameter
time long

runMetrics

testRunFailed

public void testRunFailed (String reason)

Parameter
reason String

testRunGestartet

public void testRunStarted (String runName, 
                int testCount)

Parameter
runName String

testCount int

testGestartet

public void testStarted (TestIdentifier testId)

Parameter
testId TestIdentifier

testGestartet

public void testStarted (TestIdentifier testId, 
                long startTime)

Parameter
testId TestIdentifier

startTime long