Searched refs:MockFunction (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | hash_policy_traits_test.cc | 29 using ::testing::MockFunction; 90 MockFunction<void(void*, Slot*, Slot)> construct; 91 MockFunction<void(void*, Slot*)> destroy; 93 MockFunction<Slot&(Slot*)> element; 94 MockFunction<int(int)> apply; 95 MockFunction<Slot&(Slot*)> value; 97 MockFunction<void(void*, Slot*, Slot*)> transfer;
|
/third_party/googletest/googlemock/test/ |
D | gmock-function-mocker_test.cc | 62 using testing::MockFunction; 775 MockFunction<void()> foo; in TEST() 781 MockFunction<int()> foo; in TEST() 790 MockFunction<void(int)> foo; in TEST() 796 MockFunction<int(bool, int)> foo; in TEST() 808 MockFunction<int(bool a0, char a1, int a2, int a3, int a4, in TEST() 818 MockFunction<int(int)> foo; in TEST() 829 MockFunction<int&()> foo; in TEST() 839 MockFunction<int(int &)> foo; in TEST() 852 const internal::MockFunction<F>&) { in IsMockFunctionTemplateArgumentDeducedTo() [all …]
|
D | gmock-actions_test.cc | 1374 testing::MockFunction<void()> mock_function; in TEST() 1379 InvokeWithoutArgs(&mock_function, &testing::MockFunction<void()>::Call), in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_consume_test.cc | 31 using testing::MockFunction; 90 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() 107 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() 125 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() 142 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST() 163 MockFunction<void(CordRep*, size_t, size_t)> consume; in TEST()
|
/third_party/googletest/googlemock/include/gmock/ |
D | gmock-spec-builders.h | 1797 class MockFunction; variable 1800 class MockFunction<R(Args...)> { 1802 MockFunction(const MockFunction&) = delete; 1803 MockFunction& operator=(const MockFunction&) = delete; 1827 MockFunction() = default; 1828 ~MockFunction() = default; 1925 class MockFunction : public internal::MockFunction<internal::SignatureOfT<F>> { 1926 using Base = internal::MockFunction<internal::SignatureOfT<F>>;
|
/third_party/skia/third_party/externals/dawn/src/tests/ |
D | MockCallback.h | 38 class MockCallback<R (*)(Args...)> : public ::testing::MockFunction<R(Args...)> {
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | mocking_bit_gen.h | 121 -> ::testing::MockFunction<ResultT(Args...)>;
|
/third_party/googletest/docs/ |
D | gmock_cheat_sheet.md | 227 class MockFunction<R(A1, ..., An)> {
|
D | gmock_cook_book.md | 3003 using ::testing::MockFunction; 3007 // Class MockFunction<F> has exactly one mock method. It is named 3009 MockFunction<void(string check_point_name)> check; 4252 ### Mock std::function {#MockFunction} 4257 But fear not - `MockFunction` can help you with that. 4259 `MockFunction<R(T1, ..., Tn)>` has a mock method `Call()` with the signature: 4272 To use `MockFunction`, first create `MockFunction` object and set up 4279 MockFunction<int(string)> mock_function; 4299 Although `std::function` supports unlimited number of arguments, `MockFunction`
|