Home
last modified time | relevance | path

Searched refs:expected_calls (Results 1 – 14 of 14) sorted by relevance

/external/grpc-grpc/test/core/end2end/tests/
Dsimple_request.cc234 int expected_calls = 1; in simple_request_body() local
236 expected_calls *= 2; in simple_request_body()
241 expected_calls); in simple_request_body()
244 expected_calls); in simple_request_body()
/external/python/cpython3/Lib/test/
Dtest_dictcomps.py92 expected_calls = [
112 self.assertEqual(actual_calls, expected_calls)
Dtest_class.py141 def assertCallStack(self, expected_calls): argument
144 if expected_calls != actualCallList:
146 (expected_calls, actualCallList))
/external/python/mock/mock/tests/
Dtestwith.py165 expected_calls = [call('foo'), call().__enter__(), call().read(),
167 self.assertEqual(mock.mock_calls, expected_calls)
178 expected_calls = [
183 self.assertEqual(mock.mock_calls, expected_calls)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestwith.py160 expected_calls = [call('foo'), call().__enter__(), call().read(),
162 self.assertEqual(mock.mock_calls, expected_calls)
173 expected_calls = [
178 self.assertEqual(mock.mock_calls, expected_calls)
/external/chromium-trace/catapult/devil/devil/utils/
Dmock_calls.py21 def __init__(self, test_case, expected_calls, watched): argument
48 self._expected_calls = [call_action(pair) for pair in expected_calls]
/external/python/cpython2/Lib/test/
Dtest_class.py136 def assertCallStack(self, expected_calls): argument
139 if expected_calls != actualCallList:
141 (expected_calls, actualCallList))
/external/python/apitools/apitools/base/py/testing/
Dmock.py117 def __init__(self, expected_calls): argument
119 for (key, request) in expected_calls:
/external/tensorflow/tensorflow/core/platform/cloud/
Dretrying_file_system_test.cc30 ExpectedCalls expected_calls; in CreateRetriableErrors() local
31 expected_calls.reserve(n); in CreateRetriableErrors()
33 expected_calls.emplace_back(std::make_tuple( in CreateRetriableErrors()
36 return expected_calls; in CreateRetriableErrors()
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data_test.py287 expected_calls = [
304 fake.assert_has_calls(expected_calls, any_order=True)
/external/grpc-grpc/test/core/end2end/
Dinproc_callback_test.cc432 int expected_calls = 1; in simple_request_body() local
434 expected_calls *= 2; in simple_request_body()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dassociated_interface_unittest.cc302 size_t expected_calls, in SetUp() argument
313 expected_calls_ = expected_calls; in SetUp()
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dbase_config_unittest.py1511 expected_calls = [
1529 dep_info_mock.assert_call_args(expected_calls)
/external/python/cpython3/Doc/library/
Dunittest.mock-examples.rst1194 >>> expected_calls = [call.foo.something(), call.bar.other.thing()]
1195 >>> manager.mock_calls == expected_calls