Google is committed to advancing racial equity for Black communities. See how.

LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

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


A frozen implementation of the subprocess results reporter which should remain compatible with earlier versions of TF/CTS (e.g. 8+), despite changes in its superclass.

Summary

Public constructors

LegacySubprocessResultsReporter()

Public methods

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)
void 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)

void testRunFailed(String reason)

void testRunStarted(String runName, int testCount)

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

Public constructors

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

Public methods

invocationEnded

public void invocationEnded (long elapsedTime)

Parameters
elapsedTime long

invocationFailed

public void invocationFailed (Throwable cause)

Parameters
cause Throwable

invocationStarted

public void invocationStarted (IBuildInfo buildInfo)

Parameters
buildInfo IBuildInfo

logAssociation

public void logAssociation (String dataName, 
                LogFile logFile)

Parameters
dataName String

logFile LogFile

setLogSaver

public void setLogSaver (ILogSaver logSaver)

Parameters
logSaver ILogSaver

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Parameters
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                 metrics)

Parameters
testId TestIdentifier

metrics

testEnded

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

Parameters
testId TestIdentifier

endTime long

metrics

testFailed

public void testFailed (TestIdentifier testId, 
                String reason)

Parameters
testId TestIdentifier

reason String

testIgnored

public void testIgnored (TestIdentifier testId)

Parameters
testId TestIdentifier

testLogSaved

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

Parameters
dataName String

dataType LogDataType

dataStream InputStreamSource

logFile LogFile

testModuleEnded

public void testModuleEnded ()

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

Parameters
moduleContext IInvocationContext

testRunEnded

public void testRunEnded (long time, 
                 runMetrics)

Parameters
time long

runMetrics

testRunFailed

public void testRunFailed (String reason)

Parameters
reason String

testRunStarted

public void testRunStarted (String runName, 
                int testCount)

Parameters
runName String

testCount int

testStarted

public void testStarted (TestIdentifier testId)

Parameters
testId TestIdentifier

testStarted

public void testStarted (TestIdentifier testId, 
                long startTime)

Parameters
testId TestIdentifier

startTime long