Searched refs:WillReturn (Results 1 – 7 of 7) sorted by relevance
/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]) 117 'Popen').WithArgs(simple_mock.DONT_CARE).WillReturn(mock_popen) 141 'execute').WithArgs(simple_mock.DONT_CARE).WillReturn(vtune_db_output) 144 mock_conn.ExpectCall('cursor').WillReturn(mock_cursor) 149 'connect').WithArgs(simple_mock.DONT_CARE).WillReturn(mock_conn)
|
D | perf_profiler_unittest.py | 27 mock_popen.ExpectCall('communicate').WillReturn([perf_report_output]) 31 'Popen').WithArgs(simple_mock.DONT_CARE).WillReturn(mock_popen)
|
D | vtune_profiler_unittest.py | 76 'Popen').WithArgs(simple_mock.DONT_CARE).WillReturn(MockPopen(0)) 86 simple_mock.DONT_CARE).WillReturn(MockPopen(0, 'su', None))
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/ |
D | form_based_credentials_backend_unittest_base.py | 29 tab.ExpectCall('EvaluateJavaScript', already_logged_in_js).WillReturn(False) 52 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False)
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
D | simple_mock.py | 20 def WillReturn(self, value): member in MockFunctionCall 86 func_name).WithArgs(*args).WillReturn(DONT_CARE)
|
D | simple_mock_unittest.py | 19 mock.ExpectCall('foo').WillReturn(7)
|