Searched refs:mMockListener (Results 1 – 5 of 5) sorted by relevance
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/retry/ |
D | RetryFactoryTestTest.java | 60 private ITestInvocationListener mMockListener; field in RetryFactoryTestTest 143 mMockListener = EasyMock.createMock(ITestInvocationListener.class); in setUp() 154 EasyMock.replay(mMockListener); in testRetry_receiveOption() 155 mFactory.run(mTestInfo, mMockListener); in testRetry_receiveOption() 156 EasyMock.verify(mMockListener); in testRetry_receiveOption() 165 EasyMock.replay(mMockListener); in testRetry_split() 168 EasyMock.verify(mMockListener); in testRetry_split() 193 mMockListener.testModuleStarted(EasyMock.anyObject()); in testValidation() 194 mMockListener.testRunStarted( in testValidation() 196 mMockListener.testRunEnded( in testValidation() [all …]
|
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/testtype/ |
D | AppLaunchTestTest.java | 55 private final ITestInvocationListener mMockListener = mock(ITestInvocationListener.class); field in AppLaunchTestTest 64 appLaunchTest.run(NULL_TEST_INFORMATION, mMockListener); in run_testFailed() 66 verifyFailedAndEndedCall(mMockListener); in run_testFailed() 74 appLaunchTest.run(NULL_TEST_INFORMATION, mMockListener); in run_testPassed() 76 verifyPassedAndEndedCall(mMockListener); in run_testPassed() 86 appLaunchTest.run(NULL_TEST_INFORMATION, mMockListener); in run_packageResetSuccess() 88 verifyPassedAndEndedCall(mMockListener); in run_packageResetSuccess() 98 appLaunchTest.run(NULL_TEST_INFORMATION, mMockListener); in run_packageResetError() 100 verifyFailedAndEndedCall(mMockListener); in run_packageResetError() 108 appLaunchTest.run(NULL_TEST_INFORMATION, mMockListener); in run_testRetry_passedAfterTwoFailings() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | CompatibilityTestTest.java | 51 private ITestInvocationListener mMockListener; field in CompatibilityTestTest 64 mMockListener = EasyMock.createMock(ITestInvocationListener.class); in setUp() 294 EasyMock.replay(mMockDevice, mMockListener); in testRun_noModules() 295 mTest.run(mMockListener); in testRun_noModules() 296 EasyMock.verify(mMockDevice, mMockListener); in testRun_noModules()
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/device/metric/ |
D | VtsHalTraceCollectorTest.java | 54 private ITestInvocationListener mMockListener; field in VtsHalTraceCollectorTest 60 mMockListener = EasyMock.createNiceMock(ITestInvocationListener.class); in setUp() 68 mCollect.init(mMockContext, mMockListener); in setUp()
|
D | VtsCoverageCollectorTest.java | 50 @Mock ITestInvocationListener mMockListener; field in VtsCoverageCollectorTest 71 mCollector.init(mMockContext, mMockListener); in setUp()
|