Home
last modified time | relevance | path

Searched refs:mForwarder (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java65 private ITestInvocationListener mForwarder; field in BaseDeviceMetricCollector
79 mForwarder = listener; in init()
95 return mForwarder; in getInvocationListener()
124 mForwarder.invocationStarted(context); in invocationStarted()
129 mForwarder.invocationFailed(cause); in invocationFailed()
134 mForwarder.invocationEnded(elapsedTime); in invocationEnded()
139 mForwarder.testLog(dataName, dataType, dataStream); in testLog()
153 mForwarder.testRunStarted(runName, testCount); in testRunStarted()
158 mForwarder.testRunFailed(errorMessage); in testRunFailed()
163 mForwarder.testRunStopped(elapsedTime); in testRunStopped()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/
DCoverageMeasurementForwarderTest.java69 private CoverageMeasurementForwarder mForwarder; field in CoverageMeasurementForwarderTest
96 mForwarder = new CoverageMeasurementForwarder(); in setUp()
97 mForwarder.setBuild(mMockBuildInfo); in setUp()
102 mForwarder.setCoverageMeasurements(ImmutableList.of(ARTIFACT_NAME1)); in testForwardSingleArtifact()
103 mForwarder.run(mMockListener); in testForwardSingleArtifact()
110 mForwarder.setCoverageMeasurements(ImmutableList.of(ARTIFACT_NAME1, ARTIFACT_NAME2)); in testForwardMultipleArtifacts()
111 mForwarder.run(mMockListener); in testForwardMultipleArtifacts()
119 mForwarder.setCoverageMeasurements(ImmutableList.of(NONEXISTANT_ARTIFACT)); in testNoSuchArtifact()
121 mForwarder.run(mMockListener); in testNoSuchArtifact()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarderTest.java46 private JUnitToInvocationResultForwarder mForwarder; field in JUnitToInvocationResultForwarderTest
51 mForwarder = new JUnitToInvocationResultForwarder(mListener); in setUp()
82 mForwarder.addFailure(test, a); in testAddFailure()
96 mForwarder.endTest(test); in testEndTest()
108 mForwarder.startTest(test); in testStartTest()
123 mForwarder.startTest(test); in testStartTest_annotations()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBugreportzMetricCollectorTest.java44 @Mock ITestInvocationListener mForwarder; field in BugreportzMetricCollectorTest
57 mBugreportzMetricCollector.init(mContext, mForwarder); in setup()
65 when(mTestDevice.logBugreport("bugreportz-1", mForwarder)).thenReturn(true); in testCollect_success()
71 verify(mTestDevice).logBugreport(eq("bugreport-1"), eq(mForwarder)); in testCollect_success()