HomeSort by relevance Sort by last modified time
    Searched refs:mock_calls (Results 1 - 20 of 20) sorted by null

  /external/vboot_reference/tests/
rollback_index2_tests.c 26 * Size of mock_calls[] should be big enough to handle all expected
35 static char mock_calls[16384]; variable
36 static char *mock_cnext = mock_calls;
61 *mock_calls = 0;
62 mock_cnext = mock_calls;
87 /* Mocks for tlcl functions which log the calls made to mock_calls[]. */
250 TEST_STR_EQ(mock_calls,
262 TEST_STR_EQ(mock_calls,
275 TEST_STR_EQ(mock_calls,
285 TEST_STR_EQ(mock_calls,
    [all...]
  /external/autotest/scheduler/
drones_unittest.py 44 mock_calls = ('foo',)
48 stdin=cPickle.dumps(mock_calls), stdout_tee=None,
52 self.assertEqual('mock return', drone._execute_calls_impl(mock_calls))
  /external/chromium-trace/catapult/devil/devil/utils/
lsusb_test.py 12 from devil.utils import mock_calls
220 class LsusbTest(mock_calls.TestCase):
mock_calls_test.py 7 Unit tests for the contents of mock_calls.py.
16 from devil.utils import mock_calls
47 class TestCaseWithAssertCallsTest(mock_calls.TestCase):
  /external/libmojo/third_party/catapult/devil/devil/utils/
lsusb_test.py 12 from devil.utils import mock_calls
220 class LsusbTest(mock_calls.TestCase):
mock_calls_test.py 7 Unit tests for the contents of mock_calls.py.
16 from devil.utils import mock_calls
47 class TestCaseWithAssertCallsTest(mock_calls.TestCase):
  /external/python/cpython3/Lib/unittest/test/testmock/
testmock.py 229 self.assertEqual(mock.mock_calls, [])
844 # need to do this because MagicMock.mock_calls used to just return
846 self.assertIs(mock.mock_calls == [], True)
851 self.assertEqual(mock.mock_calls, expected)
855 self.assertEqual(mock.mock_calls, expected)
856 # intermediate mock_calls work too
857 self.assertEqual(mock.foo.mock_calls, [('', (), {})])
864 self.assertEqual(mock.mock_calls, expected)
865 self.assertEqual(mock.return_value.foo.mock_calls,
867 self.assertEqual(mock.return_value.mock_calls,
    [all...]
testhelpers.py 66 self.assertEqual(expected, mock.mock_calls)
67 self.assertEqual(mock.mock_calls, expected)
260 self.assertEqual(mock.mock_calls, [call(1, 2, a=3, b=4)])
266 self.assertEqual(mock.mock_calls[-1], last_call)
267 self.assertEqual(mock.mock_calls, last_call.call_list())
273 self.assertEqual(call(1).call_list(), mock.mock_calls)
278 mock.mock_calls)
283 mock.mock_calls)
288 self.assertEqual(kall.call_list(), mock.mock_calls)
296 self.assertEqual(m.mock_calls, [ANY]
    [all...]
testwith.py 151 self.assertEqual(mock.mock_calls, expected_calls)
167 self.assertEqual(mock.mock_calls, expected_calls)
testpatch.py     [all...]
  /external/chromium-trace/catapult/devil/devil/android/
apk_helper_test.py 11 from devil.utils import mock_calls
128 class ApkHelperTest(mock_calls.TestCase):
fastboot_utils_test.py 22 from devil.utils import mock_calls
76 class FastbootUtilsTest(mock_calls.TestCase):
battery_utils_test.py 20 from devil.utils import mock_calls
34 class BatteryUtilsTest(mock_calls.TestCase):
device_utils_test.py 29 from devil.utils import mock_calls
97 class DeviceUtilsGetAVDsTest(mock_calls.TestCase):
117 class DeviceUtilsRestartServerTest(mock_calls.TestCase):
184 class DeviceUtilsTest(mock_calls.TestCase):
    [all...]
  /external/pdfium/third_party/pymock/
mock.py 310 funcopy.mock_calls = _CallList()
321 funcopy.mock_calls = _CallList()
522 `method_calls` and `mock_calls` attributes of this one."""
592 mock_calls = _delegating_property('mock_calls') variable in class:NonCallableMock
617 self.mock_calls = _CallList()
774 # only set _new_name and not name so that mock_calls is tracked
851 The `mock_calls` list is checked for the calls.
858 they must all appear in `mock_calls`."""
860 if calls not in self.mock_calls
    [all...]
  /external/libmojo/third_party/catapult/devil/devil/android/
fastboot_utils_test.py 22 from devil.utils import mock_calls
76 class FastbootUtilsTest(mock_calls.TestCase):
battery_utils_test.py 20 from devil.utils import mock_calls
34 class BatteryUtilsTest(mock_calls.TestCase):
device_utils_test.py 27 from devil.utils import mock_calls
87 class DeviceUtilsGetAVDsTest(mock_calls.TestCase):
107 class DeviceUtilsRestartServerTest(mock_calls.TestCase):
159 class DeviceUtilsTest(mock_calls.TestCase):
    [all...]
  /external/python/cpython2/Lib/test/
_mock_backport.py 215 funcopy.mock_calls = _CallList()
226 funcopy.mock_calls = _CallList()
428 `method_calls` and `mock_calls` attributes of this one."""
504 mock_calls = _delegating_property('mock_calls') variable in class:NonCallableMock
533 self.mock_calls = _CallList()
693 # only set _new_name and not name so that mock_calls is tracked
803 The `mock_calls` list is checked for the calls.
810 they must all appear in `mock_calls`."""
812 all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
    [all...]
  /external/python/cpython3/Lib/unittest/
mock.py 210 funcopy.mock_calls = _CallList()
221 funcopy.mock_calls = _CallList()
424 `method_calls` and `mock_calls` attributes of this one."""
500 mock_calls = _delegating_property('mock_calls') variable in class:NonCallableMock
536 self.mock_calls = _CallList()
701 # only set _new_name and not name so that mock_calls is tracked
830 The `mock_calls` list is checked for the calls.
837 they must all appear in `mock_calls`."""
840 all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
    [all...]

Completed in 479 milliseconds