Searched refs:mForwarder (Results 1 – 4 of 4) sorted by relevance
65 private ITestInvocationListener mForwarder; field in BaseDeviceMetricCollector79 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 …]
69 private CoverageMeasurementForwarder mForwarder; field in CoverageMeasurementForwarderTest96 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()
46 private JUnitToInvocationResultForwarder mForwarder; field in JUnitToInvocationResultForwarderTest51 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()
44 @Mock ITestInvocationListener mForwarder; field in BugreportzMetricCollectorTest57 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()