Home
last modified time | relevance | path

Searched refs:MockFunction (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_policy_traits_test.cc29 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/
Dgmock-function-mocker_test.cc62 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 …]
Dgmock-actions_test.cc1374 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/
Dcord_rep_consume_test.cc31 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/
Dgmock-spec-builders.h1797 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/
DMockCallback.h38 class MockCallback<R (*)(Args...)> : public ::testing::MockFunction<R(Args...)> {
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dmocking_bit_gen.h121 -> ::testing::MockFunction<ResultT(Args...)>;
/third_party/googletest/docs/
Dgmock_cheat_sheet.md227 class MockFunction<R(A1, ..., An)> {
Dgmock_cook_book.md3003 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`