Home
last modified time | relevance | path

Searched refs:ExpectCall (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsimple_mock_unittest.py13 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 …]
Dsimple_mock.py73 def ExpectCall(self, func_name, *args): member in MockObject
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/
Dform_based_credentials_backend_unittest_base.py28 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/
Dandroid_temperature_monitor_unittest.py17 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/
Dandroid_profiling_helper_unittest.py113 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(
Dperf_profiler_unittest.py27 mock_popen.ExpectCall('communicate').WillReturn([perf_report_output])
30 mock_subprocess.ExpectCall(
Dvtune_profiler_unittest.py75 mock_subprocess.ExpectCall(
85 mock_subprocess.ExpectCall('Popen').WithArgs(