Home
last modified time | relevance | path

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

/external/toolchain-utils/llvm_tools/
Dtest_helpers.py30 def CallCountsToMockFunctions(mock_function): argument
52 ret_value = mock_function(prev_counter, *args, **kwargs)
/external/autotest/client/common_lib/test_utils/
Dmock.py191 class mock_function(object): class
231 class mask_function(mock_function):
258 func = mock_function(f_name, default_ret_val,
336 func = mock_function(f_name,
367 return mock_function(symbol, default_return_val,
/external/googletest/googlemock/test/
Dgmock-actions_test.cc1374 testing::MockFunction<void()> mock_function; in TEST() local
1377 EXPECT_CALL(mock_function, Call()); in TEST()
1379 InvokeWithoutArgs(&mock_function, &testing::MockFunction<void()>::Call), in TEST()
/external/python/cpython3/Doc/library/
Dunittest.mock.rst184 >>> mock_function = create_autospec(function, return_value='fishy')
185 >>> mock_function(1, 2, 3)
187 >>> mock_function.assert_called_once_with(1, 2, 3)
188 >>> mock_function('wrong arguments')
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py979 def test(mock_function): argument
/external/python/mock/mock/tests/
Dtestpatch.py969 def test(mock_function): argument
/external/googletest/docs/
Dgmock_cook_book.md4332 MockFunction<int(string)> mock_function;
4335 EXPECT_CALL(mock_function, Call("bar")).WillOnce(Return(1));
4338 Foo(mock_function.AsStdFunction());
4343 // 4. All expectations will be verified when mock_function