Home
last modified time | relevance | path

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

/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])
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)
Dperf_profiler_unittest.py27 mock_popen.ExpectCall('communicate').WillReturn([perf_report_output])
31 'Popen').WithArgs(simple_mock.DONT_CARE).WillReturn(mock_popen)
Dvtune_profiler_unittest.py76 '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/
Dform_based_credentials_backend_unittest_base.py29 tab.ExpectCall('EvaluateJavaScript', already_logged_in_js).WillReturn(False)
52 tab.ExpectCall('EvaluateJavaScript', _).WillReturn(False)
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dsimple_mock.py20 def WillReturn(self, value): member in MockFunctionCall
86 func_name).WithArgs(*args).WillReturn(DONT_CARE)
Dsimple_mock_unittest.py19 mock.ExpectCall('foo').WillReturn(7)