LegacySubprocessResultsReporter

public final class LegacySubprocessResultsReporter
extends SubprocessResultsReporter

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


A class for freezed subprocess results reporter which is compatible with M & N version of CTS. Methods in this class were part of ITestInvocationListener in pre-O version of TF/CTS. Changes are not supposed to be made on this class.

Summary

Public constructors

LegacySubprocessResultsReporter()

Public methods

void invocationStarted(IBuildInfo buildInfo)

Legacy method, only used for pre-O cts test

void testAssumptionFailure(TestIdentifier testId, String trace)

Legacy method, only used for pre-O cts test

void testEnded(TestIdentifier testId, long endTime, Map<String, String> metrics)

Legacy method, only used for pre-O cts test

void testEnded(TestIdentifier testId, Map<String, String> metrics)

Legacy method, only used for pre-O cts test

void testFailed(TestIdentifier testId, String reason)

Legacy method, only used for pre-O cts test

void testIgnored(TestIdentifier testId)

Legacy method, only used for pre-O cts test

void testModuleEnded()

A intentionally inop function to handle incompatibility problem in CTS 8.1

void testModuleStarted(IInvocationContext moduleContext)

A intentionally inop function to handle incompatibility problem in CTS 8.1

void testStarted(TestIdentifier testId)

Legacy method, only used for pre-O cts test

void testStarted(TestIdentifier testId, long startTime)

Legacy method, only used for pre-O cts test

Public constructors

LegacySubprocessResultsReporter

public LegacySubprocessResultsReporter ()

Public methods

invocationStarted

public void invocationStarted (IBuildInfo buildInfo)

Legacy method, only used for pre-O cts test

Parameters
buildInfo IBuildInfo

testAssumptionFailure

public void testAssumptionFailure (TestIdentifier testId, 
                String trace)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

trace String

testEnded

public void testEnded (TestIdentifier testId, 
                long endTime, 
                Map<String, String> metrics)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

endTime long

metrics Map

testEnded

public void testEnded (TestIdentifier testId, 
                Map<String, String> metrics)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

metrics Map

testFailed

public void testFailed (TestIdentifier testId, 
                String reason)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

reason String

testIgnored

public void testIgnored (TestIdentifier testId)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

testModuleEnded

public void testModuleEnded ()

A intentionally inop function to handle incompatibility problem in CTS 8.1

testModuleStarted

public void testModuleStarted (IInvocationContext moduleContext)

A intentionally inop function to handle incompatibility problem in CTS 8.1

Parameters
moduleContext IInvocationContext: the IInvocationContext of the module.

testStarted

public void testStarted (TestIdentifier testId)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

testStarted

public void testStarted (TestIdentifier testId, 
                long startTime)

Legacy method, only used for pre-O cts test

Parameters
testId TestIdentifier

startTime long