Searched defs:MagicMock (Results 1 - 3 of 3) sorted by relevance

/external/v8/tools/unittests/
H A Drun_perf_test.py10 from mock import MagicMock namespace
126 commands.Execute = MagicMock(side_effect=execute)
132 os.chdir = MagicMock(side_effect=chdir)
134 subprocess.check_call = MagicMock()
135 platform.system = MagicMock(return_value='Linux')
412 platform.PreExecution = MagicMock(return_value=None)
413 platform.PostExecution = MagicMock(return_value=None)
414 platform.PreTests = MagicMock(return_value=None)
415 platform.Run = MagicMock(
417 run_perf.AndroidPlatform = MagicMock(return_valu
[all...]
/external/chromium-trace/catapult/telemetry/third_party/mock/
H A Dmock.py18 'MagicMock',
906 klass = MagicMock
1292 Klass = MagicMock
1506 `MagicMock`. If `patch` is used as a decorator and `new` is
1517 The `spec` and `spec_set` keyword arguments are passed to the `MagicMock`
1524 that will be called to create the `new` object. By default `MagicMock` is
1878 """A version of `MagicMock` that isn't callable."""
1890 class MagicMock(MagicMixin, Mock): class in inherits:MagicMixin, Mock
1892 MagicMock is a subclass of Mock with default implementations
1893 of most of the magic methods. You can use MagicMock withou
[all...]
/external/pdfium/third_party/pymock/
H A Dmock.py18 'MagicMock',
906 klass = MagicMock
1292 Klass = MagicMock
1506 `MagicMock`. If `patch` is used as a decorator and `new` is
1517 The `spec` and `spec_set` keyword arguments are passed to the `MagicMock`
1524 that will be called to create the `new` object. By default `MagicMock` is
1878 """A version of `MagicMock` that isn't callable."""
1890 class MagicMock(MagicMixin, Mock): class in inherits:MagicMixin, Mock
1892 MagicMock is a subclass of Mock with default implementations
1893 of most of the magic methods. You can use MagicMock withou
[all...]

Completed in 175 milliseconds