Searched refs:ExpectCall (Results 1 – 7 of 7) sorted by relevance
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | simple_mock_unittest.py | 13 mock.ExpectCall('foo') 19 mock.ExpectCall('foo').WillReturn(7) 26 mock.ExpectCall('foo').WithArgs(3, 4) 32 mock.ExpectCall('foo', 3, 4) 38 mock.ExpectCall('foo').WithArgs(3, 4) 46 mock.ExpectCall('foo').WithArgs(_, 4) 57 mock.ExpectCall('baz', 7).WhenCalled(Handler) 67 mock.ExpectCall('foo').WithArgs(_, 4) 68 mock.bar.ExpectCall('baz') 77 mock.ExpectCall('foo').WithArgs(_, 4) [all …]
|
D | simple_mock.py | 73 def ExpectCall(self, func_name, *args): member in MockObject
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
D | form_based_credentials_backend_unittest_base.py | 28 tab.ExpectCall('Navigate', login_page_url) 29 tab.ExpectCall('EvaluateJavaScript', already_logged_in_js).WillReturn(False) 30 tab.ExpectCall('WaitForDocumentReadyStateToBeInteractiveOrBetter') 32 ar.ExpectCall('WaitForJavaScriptCondition', 35 ar.ExpectCall('WaitForNavigate') 40 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyEmail) 45 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifyPw) 49 tab.ExpectCall('ExecuteJavaScript', _).WhenCalled(VerifySubmit) 52 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/ |
D | android_temperature_monitor_unittest.py | 17 mock_device_utils.ExpectCall('ReadFile', _).WillReturn('0') 18 mock_device_utils.ExpectCall('ReadFile', _).WillReturn('24') 33 mock_device_utils.ExpectCall('ReadFile', _).WillReturn('24') 34 mock_device_utils.ExpectCall('ReadFile', _).WillReturn(None) 46 mock_device_utils.ExpectCall('ReadFile', _).WillReturn(None)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
D | android_profiling_helper_unittest.py | 113 mock_popen.ExpectCall('communicate').WillReturn([None, perf_output]) 116 mock_subprocess.ExpectCall( 140 mock_cursor.ExpectCall( 144 mock_conn.ExpectCall('cursor').WillReturn(mock_cursor) 145 mock_conn.ExpectCall('close') 148 mock_sqlite3.ExpectCall(
|
D | perf_profiler_unittest.py | 27 mock_popen.ExpectCall('communicate').WillReturn([perf_report_output]) 30 mock_subprocess.ExpectCall(
|
D | vtune_profiler_unittest.py | 75 mock_subprocess.ExpectCall( 85 mock_subprocess.ExpectCall('Popen').WithArgs(
|