Searched refs:expected_calls (Results 1 – 14 of 14) sorted by relevance
/external/grpc-grpc/test/core/end2end/tests/ |
D | simple_request.cc | 234 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/ |
D | test_dictcomps.py | 92 expected_calls = [ 112 self.assertEqual(actual_calls, expected_calls)
|
D | test_class.py | 141 def assertCallStack(self, expected_calls): argument 144 if expected_calls != actualCallList: 146 (expected_calls, actualCallList))
|
/external/python/mock/mock/tests/ |
D | testwith.py | 165 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/ |
D | testwith.py | 160 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/ |
D | mock_calls.py | 21 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/ |
D | test_class.py | 136 def assertCallStack(self, expected_calls): argument 139 if expected_calls != actualCallList: 141 (expected_calls, actualCallList))
|
/external/python/apitools/apitools/base/py/testing/ |
D | mock.py | 117 def __init__(self, expected_calls): argument 119 for (key, request) in expected_calls:
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | retrying_file_system_test.cc | 30 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/ |
D | debug_data_test.py | 287 expected_calls = [ 304 fake.assert_has_calls(expected_calls, any_order=True)
|
/external/grpc-grpc/test/core/end2end/ |
D | inproc_callback_test.cc | 432 int expected_calls = 1; in simple_request_body() local 434 expected_calls *= 2; in simple_request_body()
|
/external/libchrome/mojo/public/cpp/bindings/tests/ |
D | associated_interface_unittest.cc | 302 size_t expected_calls, in SetUp() argument 313 expected_calls_ = expected_calls; in SetUp()
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | base_config_unittest.py | 1511 expected_calls = [ 1529 dep_info_mock.assert_call_args(expected_calls)
|
/external/python/cpython3/Doc/library/ |
D | unittest.mock-examples.rst | 1194 >>> expected_calls = [call.foo.something(), call.bar.other.thing()] 1195 >>> manager.mock_calls == expected_calls
|