Home
last modified time | relevance | path

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

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-function-mocker_test.cc64 using testing::MockFunction;
782 MockFunction<void()> foo; in TEST()
788 MockFunction<int()> foo; in TEST()
795 MockFunction<void(int)> foo; in TEST()
801 MockFunction<int(bool, int)> foo; in TEST()
810 MockFunction<int(bool a0, char a1, int a2, int a3, int a4, int a5, int a6, in TEST()
821 MockFunction<int(int)> foo; in TEST()
830 MockFunction<int&()> foo; in TEST()
840 MockFunction<int(int&)> foo; in TEST()
851 const internal::MockFunction<F>&) { in IsMockFunctionTemplateArgumentDeducedTo()
[all …]
H A Dgmock-actions_test.cc699 MockFunction<Result()> mock; in TEST()
737 MockFunction<Out()> mock; in TEST()
753 MockFunction<U()> mock; in TEST()
796 MockFunction<std::unique_ptr<int>()> mock; in TEST()
1336 MockFunction<int(int)> mock; in TEST()
1358 MockFunction<void(Obj)> mock; in TEST()
1377 MockFunction<void(const Obj&)> mock; in TEST()
1395 MockFunction<void(Obj&)> mock; in TEST()
1414 MockFunction<void(Obj&&)> mock; in TEST()
1429 MockFunction<void(Obj&)> mock; in TEST()
[all …]
H A Dgmock-spec-builders_test.cc841 MockFunction<NonMoveableStruct()> mock; in TEST()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h1905 class MockFunction; variable
1908 class MockFunction<R(Args...)> {
1910 MockFunction(const MockFunction&) = delete;
1911 MockFunction& operator=(const MockFunction&) = delete;
1935 MockFunction() = default;
1936 ~MockFunction() = default;
2033 class MockFunction : public internal::MockFunction<internal::SignatureOfT<F>> {
2034 using Base = internal::MockFunction<internal::SignatureOfT<F>>;
/freebsd/contrib/googletest/docs/
H A Dgmock_cheat_sheet.md227 class MockFunction<R(A1, ..., An)> {
H A Dgmock_cook_book.md290 [MockFunction](#MockFunction) to mock the std::function.
3013 using ::testing::MockFunction;
3017 // Class MockFunction<F> has exactly one mock method. It is named
3019 MockFunction<void(string check_point_name)> check;
3858 MockFunction<int(int)> mock;
3881 MockFunction<int(int)> mock;
3899 MockFunction<std::unique_ptr<int>()> mock;
4330 ### Mock std::function {#MockFunction}
4335 But fear not - `MockFunction` can help you with that.
4337 `MockFunction<R(T1, ..., Tn)>` has a mock method `Call()` with the signature:
[all …]