Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
gmock-generated-function-mockers.h File Reference
Include dependency graph for gmock-generated-function-mockers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::internal::FunctionMocker< R(A1)>
 
class  testing::internal::FunctionMocker< R(A1, A2)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9)>
 
class  testing::internal::FunctionMocker< R(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)>
 
class  testing::MockFunction< R(A0)>
 
class  testing::MockFunction< R(A0, A1)>
 
class  testing::MockFunction< R(A0, A1, A2)>
 
class  testing::MockFunction< R(A0, A1, A2, A3)>
 
class  testing::MockFunction< R(A0, A1, A2, A3, A4)>
 
class  testing::MockFunction< R(A0, A1, A2, A3, A4, A5)>
 
class  testing::MockFunction< R(A0, A1, A2, A3, A4, A5, A6)>
 
class  testing::MockFunction< R(A0, A1, A2, A3, A4, A5, A6, A7)>
 
class  testing::MockFunction< R(A0, A1, A2, A3, A4, A5, A6, A7, A8)>
 
class  testing::MockFunction< R(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)>
 

Namespaces

namespace  testing
 
namespace  testing::internal
 

Macros

#define GMOCK_RESULT_(tn, ...)
 
#define GMOCK_ARG_(tn, N, ...)
 
#define GMOCK_MATCHER_(tn, N, ...)
 
#define GMOCK_MOCKER_(arity, constness, Method)
 
#define GMOCK_METHOD0_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD1_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD2_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD3_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD4_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD5_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD6_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD7_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD8_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD9_(tn, constness, ct, Method, ...)
 
#define GMOCK_METHOD10_(tn, constness, ct, Method, ...)
 
#define MOCK_METHOD0(m, ...)
 
#define MOCK_METHOD1(m, ...)
 
#define MOCK_METHOD2(m, ...)
 
#define MOCK_METHOD3(m, ...)
 
#define MOCK_METHOD4(m, ...)
 
#define MOCK_METHOD5(m, ...)
 
#define MOCK_METHOD6(m, ...)
 
#define MOCK_METHOD7(m, ...)
 
#define MOCK_METHOD8(m, ...)
 
#define MOCK_METHOD9(m, ...)
 
#define MOCK_METHOD10(m, ...)
 
#define MOCK_CONST_METHOD0(m, ...)
 
#define MOCK_CONST_METHOD1(m, ...)
 
#define MOCK_CONST_METHOD2(m, ...)
 
#define MOCK_CONST_METHOD3(m, ...)
 
#define MOCK_CONST_METHOD4(m, ...)
 
#define MOCK_CONST_METHOD5(m, ...)
 
#define MOCK_CONST_METHOD6(m, ...)
 
#define MOCK_CONST_METHOD7(m, ...)
 
#define MOCK_CONST_METHOD8(m, ...)
 
#define MOCK_CONST_METHOD9(m, ...)
 
#define MOCK_CONST_METHOD10(m, ...)
 
#define MOCK_METHOD0_T(m, ...)
 
#define MOCK_METHOD1_T(m, ...)
 
#define MOCK_METHOD2_T(m, ...)
 
#define MOCK_METHOD3_T(m, ...)
 
#define MOCK_METHOD4_T(m, ...)
 
#define MOCK_METHOD5_T(m, ...)
 
#define MOCK_METHOD6_T(m, ...)
 
#define MOCK_METHOD7_T(m, ...)
 
#define MOCK_METHOD8_T(m, ...)
 
#define MOCK_METHOD9_T(m, ...)
 
#define MOCK_METHOD10_T(m, ...)
 
#define MOCK_CONST_METHOD0_T(m, ...)
 
#define MOCK_CONST_METHOD1_T(m, ...)
 
#define MOCK_CONST_METHOD2_T(m, ...)
 
#define MOCK_CONST_METHOD3_T(m, ...)
 
#define MOCK_CONST_METHOD4_T(m, ...)
 
#define MOCK_CONST_METHOD5_T(m, ...)
 
#define MOCK_CONST_METHOD6_T(m, ...)
 
#define MOCK_CONST_METHOD7_T(m, ...)
 
#define MOCK_CONST_METHOD8_T(m, ...)
 
#define MOCK_CONST_METHOD9_T(m, ...)
 
#define MOCK_CONST_METHOD10_T(m, ...)
 
#define MOCK_METHOD0_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD1_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD2_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD3_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD4_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD5_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD6_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD7_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD8_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD9_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD10_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD0_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD1_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD2_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD3_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD4_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD5_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD6_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD7_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD8_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD9_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD10_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD0_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD1_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD2_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD3_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD4_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD5_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD6_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD7_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD8_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD9_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_METHOD10_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD0_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD1_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD2_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD3_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD4_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD5_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD6_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD7_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD8_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD9_T_WITH_CALLTYPE(ct, m, ...)
 
#define MOCK_CONST_METHOD10_T_WITH_CALLTYPE(ct, m, ...)
 

Functions

template<typename MockType >
const MockType * testing::internal::AdjustConstness_const (const MockType *mock)
 
template<typename MockType >
MockType * testing::internal::AdjustConstness_ (const MockType *mock)
 

Macro Definition Documentation

◆ GMOCK_ARG_

#define GMOCK_ARG_ ( tn,
N,
... )
Value:
tn ::testing::internal::Function<__VA_ARGS__>::Argument##N
const int N
Definition quantize.cpp:54

Definition at line 406 of file gmock-generated-function-mockers.h.

406#define GMOCK_ARG_(tn, N, ...) \
407 tn ::testing::internal::Function<__VA_ARGS__>::Argument##N

◆ GMOCK_MATCHER_

#define GMOCK_MATCHER_ ( tn,
N,
... )
Value:
const ::testing::Matcher<GMOCK_ARG_(tn, N, __VA_ARGS__)>&
#define GMOCK_ARG_(tn, N,...)

Definition at line 411 of file gmock-generated-function-mockers.h.

411#define GMOCK_MATCHER_(tn, N, ...) \
412 const ::testing::Matcher<GMOCK_ARG_(tn, N, __VA_ARGS__)>&

◆ GMOCK_METHOD0_

#define GMOCK_METHOD0_ ( tn,
constness,
ct,
Method,
... )
Value:
GMOCK_RESULT_(tn, __VA_ARGS__) ct Method() constness { \
GTEST_COMPILE_ASSERT_( \
(::testing::tuple_size<tn ::testing::internal::Function< \
__VA_ARGS__>::ArgumentTuple>::value == 0), \
this_method_does_not_take_0_arguments); \
GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
} \
::testing::MockSpec<__VA_ARGS__> gmock_##Method() constness { \
GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
return GMOCK_MOCKER_(0, constness, Method).With(); \
} \
const ::testing::internal::WithoutMatchers&, \
constness ::testing::internal::Function<__VA_ARGS__>*) const { \
return ::testing::internal::AdjustConstness_##constness(this) \
->gmock_##Method(); \
} \
mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(0, constness, \
#define GMOCK_RESULT_(tn,...)
#define GMOCK_MOCKER_(arity, constness, Method)
#define Method
#define value
Definition pkcs11.h:157

Definition at line 420 of file gmock-generated-function-mockers.h.

420#define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \
421 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method() constness { \
422 GTEST_COMPILE_ASSERT_( \
423 (::testing::tuple_size<tn ::testing::internal::Function< \
424 __VA_ARGS__>::ArgumentTuple>::value == 0), \
425 this_method_does_not_take_0_arguments); \
426 GMOCK_MOCKER_(0, constness, Method).SetOwnerAndName(this, #Method); \
427 return GMOCK_MOCKER_(0, constness, Method).Invoke(); \
428 } \
429 ::testing::MockSpec<__VA_ARGS__> gmock_##Method() constness { \
430 GMOCK_MOCKER_(0, constness, Method).RegisterOwner(this); \
431 return GMOCK_MOCKER_(0, constness, Method).With(); \
432 } \
433 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
434 const ::testing::internal::WithoutMatchers&, \
435 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
436 return ::testing::internal::AdjustConstness_##constness(this) \
437 ->gmock_##Method(); \
438 } \
439 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(0, constness, \
440 Method)

◆ GMOCK_METHOD10_

#define GMOCK_METHOD10_ ( tn,
constness,
ct,
Method,
... )

Definition at line 876 of file gmock-generated-function-mockers.h.

876#define GMOCK_METHOD10_(tn, constness, ct, Method, ...) \
877 GMOCK_RESULT_(tn, __VA_ARGS__) \
878 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
879 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
880 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
881 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4, \
882 GMOCK_ARG_(tn, 5, __VA_ARGS__) gmock_a5, \
883 GMOCK_ARG_(tn, 6, __VA_ARGS__) gmock_a6, \
884 GMOCK_ARG_(tn, 7, __VA_ARGS__) gmock_a7, \
885 GMOCK_ARG_(tn, 8, __VA_ARGS__) gmock_a8, \
886 GMOCK_ARG_(tn, 9, __VA_ARGS__) gmock_a9, \
887 GMOCK_ARG_(tn, 10, __VA_ARGS__) gmock_a10) constness { \
888 GTEST_COMPILE_ASSERT_( \
889 (::testing::tuple_size<tn ::testing::internal::Function< \
890 __VA_ARGS__>::ArgumentTuple>::value == 10), \
891 this_method_does_not_take_10_arguments); \
892 GMOCK_MOCKER_(10, constness, Method).SetOwnerAndName(this, #Method); \
893 return GMOCK_MOCKER_(10, constness, Method) \
894 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
895 gmock_a1), \
896 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
897 gmock_a2), \
898 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
899 gmock_a3), \
900 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
901 gmock_a4), \
902 ::testing::internal::forward<GMOCK_ARG_(tn, 5, __VA_ARGS__)>( \
903 gmock_a5), \
904 ::testing::internal::forward<GMOCK_ARG_(tn, 6, __VA_ARGS__)>( \
905 gmock_a6), \
906 ::testing::internal::forward<GMOCK_ARG_(tn, 7, __VA_ARGS__)>( \
907 gmock_a7), \
908 ::testing::internal::forward<GMOCK_ARG_(tn, 8, __VA_ARGS__)>( \
909 gmock_a8), \
910 ::testing::internal::forward<GMOCK_ARG_(tn, 9, __VA_ARGS__)>( \
911 gmock_a9), \
912 ::testing::internal::forward<GMOCK_ARG_(tn, 10, __VA_ARGS__)>( \
913 gmock_a10)); \
914 } \
915 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
916 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
917 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
918 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
919 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4, \
920 GMOCK_MATCHER_(tn, 5, __VA_ARGS__) gmock_a5, \
921 GMOCK_MATCHER_(tn, 6, __VA_ARGS__) gmock_a6, \
922 GMOCK_MATCHER_(tn, 7, __VA_ARGS__) gmock_a7, \
923 GMOCK_MATCHER_(tn, 8, __VA_ARGS__) gmock_a8, \
924 GMOCK_MATCHER_(tn, 9, __VA_ARGS__) gmock_a9, \
925 GMOCK_MATCHER_(tn, 10, __VA_ARGS__) gmock_a10) constness { \
926 GMOCK_MOCKER_(10, constness, Method).RegisterOwner(this); \
927 return GMOCK_MOCKER_(10, constness, Method) \
928 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4, gmock_a5, gmock_a6, \
929 gmock_a7, gmock_a8, gmock_a9, gmock_a10); \
930 } \
931 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
932 const ::testing::internal::WithoutMatchers&, \
933 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
934 return ::testing::internal::AdjustConstness_##constness(this) \
935 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
936 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
937 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
938 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>(), \
939 ::testing::A<GMOCK_ARG_(tn, 5, __VA_ARGS__)>(), \
940 ::testing::A<GMOCK_ARG_(tn, 6, __VA_ARGS__)>(), \
941 ::testing::A<GMOCK_ARG_(tn, 7, __VA_ARGS__)>(), \
942 ::testing::A<GMOCK_ARG_(tn, 8, __VA_ARGS__)>(), \
943 ::testing::A<GMOCK_ARG_(tn, 9, __VA_ARGS__)>(), \
944 ::testing::A<GMOCK_ARG_(tn, 10, __VA_ARGS__)>()); \
945 } \
946 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(10, constness, \
947 Method)

◆ GMOCK_METHOD1_

#define GMOCK_METHOD1_ ( tn,
constness,
ct,
Method,
... )
Value:
GMOCK_RESULT_(tn, __VA_ARGS__) \
ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1) constness { \
GTEST_COMPILE_ASSERT_( \
(::testing::tuple_size<tn ::testing::internal::Function< \
__VA_ARGS__>::ArgumentTuple>::value == 1), \
this_method_does_not_take_1_argument); \
GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \
return GMOCK_MOCKER_(1, constness, Method) \
.Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
gmock_a1)); \
} \
GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1) constness { \
GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \
return GMOCK_MOCKER_(1, constness, Method).With(gmock_a1); \
} \
const ::testing::internal::WithoutMatchers&, \
constness ::testing::internal::Function<__VA_ARGS__>*) const { \
return ::testing::internal::AdjustConstness_##constness(this) \
->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>()); \
} \
mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(1, constness, \
#define GMOCK_MATCHER_(tn, N,...)
Matcher< T > A()

Definition at line 443 of file gmock-generated-function-mockers.h.

443#define GMOCK_METHOD1_(tn, constness, ct, Method, ...) \
444 GMOCK_RESULT_(tn, __VA_ARGS__) \
445 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1) constness { \
446 GTEST_COMPILE_ASSERT_( \
447 (::testing::tuple_size<tn ::testing::internal::Function< \
448 __VA_ARGS__>::ArgumentTuple>::value == 1), \
449 this_method_does_not_take_1_argument); \
450 GMOCK_MOCKER_(1, constness, Method).SetOwnerAndName(this, #Method); \
451 return GMOCK_MOCKER_(1, constness, Method) \
452 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
453 gmock_a1)); \
454 } \
455 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
456 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1) constness { \
457 GMOCK_MOCKER_(1, constness, Method).RegisterOwner(this); \
458 return GMOCK_MOCKER_(1, constness, Method).With(gmock_a1); \
459 } \
460 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
461 const ::testing::internal::WithoutMatchers&, \
462 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
463 return ::testing::internal::AdjustConstness_##constness(this) \
464 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>()); \
465 } \
466 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(1, constness, \
467 Method)

◆ GMOCK_METHOD2_

#define GMOCK_METHOD2_ ( tn,
constness,
ct,
Method,
... )
Value:
GMOCK_RESULT_(tn, __VA_ARGS__) \
ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2) constness { \
GTEST_COMPILE_ASSERT_( \
(::testing::tuple_size<tn ::testing::internal::Function< \
__VA_ARGS__>::ArgumentTuple>::value == 2), \
this_method_does_not_take_2_arguments); \
GMOCK_MOCKER_(2, constness, Method).SetOwnerAndName(this, #Method); \
return GMOCK_MOCKER_(2, constness, Method) \
.Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
gmock_a1), \
::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
gmock_a2)); \
} \
GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2) constness { \
GMOCK_MOCKER_(2, constness, Method).RegisterOwner(this); \
return GMOCK_MOCKER_(2, constness, Method).With(gmock_a1, gmock_a2); \
} \
const ::testing::internal::WithoutMatchers&, \
constness ::testing::internal::Function<__VA_ARGS__>*) const { \
return ::testing::internal::AdjustConstness_##constness(this) \
->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>()); \
} \
mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(2, constness, \

Definition at line 470 of file gmock-generated-function-mockers.h.

470#define GMOCK_METHOD2_(tn, constness, ct, Method, ...) \
471 GMOCK_RESULT_(tn, __VA_ARGS__) \
472 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
473 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2) constness { \
474 GTEST_COMPILE_ASSERT_( \
475 (::testing::tuple_size<tn ::testing::internal::Function< \
476 __VA_ARGS__>::ArgumentTuple>::value == 2), \
477 this_method_does_not_take_2_arguments); \
478 GMOCK_MOCKER_(2, constness, Method).SetOwnerAndName(this, #Method); \
479 return GMOCK_MOCKER_(2, constness, Method) \
480 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
481 gmock_a1), \
482 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
483 gmock_a2)); \
484 } \
485 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
486 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
487 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2) constness { \
488 GMOCK_MOCKER_(2, constness, Method).RegisterOwner(this); \
489 return GMOCK_MOCKER_(2, constness, Method).With(gmock_a1, gmock_a2); \
490 } \
491 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
492 const ::testing::internal::WithoutMatchers&, \
493 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
494 return ::testing::internal::AdjustConstness_##constness(this) \
495 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
496 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>()); \
497 } \
498 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(2, constness, \
499 Method)

◆ GMOCK_METHOD3_

#define GMOCK_METHOD3_ ( tn,
constness,
ct,
Method,
... )

Definition at line 502 of file gmock-generated-function-mockers.h.

502#define GMOCK_METHOD3_(tn, constness, ct, Method, ...) \
503 GMOCK_RESULT_(tn, __VA_ARGS__) \
504 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
505 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
506 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3) constness { \
507 GTEST_COMPILE_ASSERT_( \
508 (::testing::tuple_size<tn ::testing::internal::Function< \
509 __VA_ARGS__>::ArgumentTuple>::value == 3), \
510 this_method_does_not_take_3_arguments); \
511 GMOCK_MOCKER_(3, constness, Method).SetOwnerAndName(this, #Method); \
512 return GMOCK_MOCKER_(3, constness, Method) \
513 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
514 gmock_a1), \
515 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
516 gmock_a2), \
517 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
518 gmock_a3)); \
519 } \
520 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
521 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
522 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
523 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3) constness { \
524 GMOCK_MOCKER_(3, constness, Method).RegisterOwner(this); \
525 return GMOCK_MOCKER_(3, constness, Method) \
526 .With(gmock_a1, gmock_a2, gmock_a3); \
527 } \
528 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
529 const ::testing::internal::WithoutMatchers&, \
530 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
531 return ::testing::internal::AdjustConstness_##constness(this) \
532 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
533 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
534 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>()); \
535 } \
536 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(3, constness, \
537 Method)

◆ GMOCK_METHOD4_

#define GMOCK_METHOD4_ ( tn,
constness,
ct,
Method,
... )

Definition at line 540 of file gmock-generated-function-mockers.h.

540#define GMOCK_METHOD4_(tn, constness, ct, Method, ...) \
541 GMOCK_RESULT_(tn, __VA_ARGS__) \
542 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
543 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
544 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
545 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4) constness { \
546 GTEST_COMPILE_ASSERT_( \
547 (::testing::tuple_size<tn ::testing::internal::Function< \
548 __VA_ARGS__>::ArgumentTuple>::value == 4), \
549 this_method_does_not_take_4_arguments); \
550 GMOCK_MOCKER_(4, constness, Method).SetOwnerAndName(this, #Method); \
551 return GMOCK_MOCKER_(4, constness, Method) \
552 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
553 gmock_a1), \
554 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
555 gmock_a2), \
556 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
557 gmock_a3), \
558 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
559 gmock_a4)); \
560 } \
561 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
562 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
563 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
564 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
565 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4) constness { \
566 GMOCK_MOCKER_(4, constness, Method).RegisterOwner(this); \
567 return GMOCK_MOCKER_(4, constness, Method) \
568 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4); \
569 } \
570 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
571 const ::testing::internal::WithoutMatchers&, \
572 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
573 return ::testing::internal::AdjustConstness_##constness(this) \
574 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
575 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
576 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
577 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>()); \
578 } \
579 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(4, constness, \
580 Method)

◆ GMOCK_METHOD5_

#define GMOCK_METHOD5_ ( tn,
constness,
ct,
Method,
... )

Definition at line 583 of file gmock-generated-function-mockers.h.

583#define GMOCK_METHOD5_(tn, constness, ct, Method, ...) \
584 GMOCK_RESULT_(tn, __VA_ARGS__) \
585 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
586 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
587 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
588 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4, \
589 GMOCK_ARG_(tn, 5, __VA_ARGS__) gmock_a5) constness { \
590 GTEST_COMPILE_ASSERT_( \
591 (::testing::tuple_size<tn ::testing::internal::Function< \
592 __VA_ARGS__>::ArgumentTuple>::value == 5), \
593 this_method_does_not_take_5_arguments); \
594 GMOCK_MOCKER_(5, constness, Method).SetOwnerAndName(this, #Method); \
595 return GMOCK_MOCKER_(5, constness, Method) \
596 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
597 gmock_a1), \
598 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
599 gmock_a2), \
600 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
601 gmock_a3), \
602 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
603 gmock_a4), \
604 ::testing::internal::forward<GMOCK_ARG_(tn, 5, __VA_ARGS__)>( \
605 gmock_a5)); \
606 } \
607 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
608 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
609 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
610 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
611 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4, \
612 GMOCK_MATCHER_(tn, 5, __VA_ARGS__) gmock_a5) constness { \
613 GMOCK_MOCKER_(5, constness, Method).RegisterOwner(this); \
614 return GMOCK_MOCKER_(5, constness, Method) \
615 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4, gmock_a5); \
616 } \
617 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
618 const ::testing::internal::WithoutMatchers&, \
619 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
620 return ::testing::internal::AdjustConstness_##constness(this) \
621 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
622 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
623 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
624 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>(), \
625 ::testing::A<GMOCK_ARG_(tn, 5, __VA_ARGS__)>()); \
626 } \
627 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(5, constness, \
628 Method)

◆ GMOCK_METHOD6_

#define GMOCK_METHOD6_ ( tn,
constness,
ct,
Method,
... )

Definition at line 631 of file gmock-generated-function-mockers.h.

631#define GMOCK_METHOD6_(tn, constness, ct, Method, ...) \
632 GMOCK_RESULT_(tn, __VA_ARGS__) \
633 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
634 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
635 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
636 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4, \
637 GMOCK_ARG_(tn, 5, __VA_ARGS__) gmock_a5, \
638 GMOCK_ARG_(tn, 6, __VA_ARGS__) gmock_a6) constness { \
639 GTEST_COMPILE_ASSERT_( \
640 (::testing::tuple_size<tn ::testing::internal::Function< \
641 __VA_ARGS__>::ArgumentTuple>::value == 6), \
642 this_method_does_not_take_6_arguments); \
643 GMOCK_MOCKER_(6, constness, Method).SetOwnerAndName(this, #Method); \
644 return GMOCK_MOCKER_(6, constness, Method) \
645 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
646 gmock_a1), \
647 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
648 gmock_a2), \
649 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
650 gmock_a3), \
651 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
652 gmock_a4), \
653 ::testing::internal::forward<GMOCK_ARG_(tn, 5, __VA_ARGS__)>( \
654 gmock_a5), \
655 ::testing::internal::forward<GMOCK_ARG_(tn, 6, __VA_ARGS__)>( \
656 gmock_a6)); \
657 } \
658 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
659 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
660 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
661 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
662 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4, \
663 GMOCK_MATCHER_(tn, 5, __VA_ARGS__) gmock_a5, \
664 GMOCK_MATCHER_(tn, 6, __VA_ARGS__) gmock_a6) constness { \
665 GMOCK_MOCKER_(6, constness, Method).RegisterOwner(this); \
666 return GMOCK_MOCKER_(6, constness, Method) \
667 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4, gmock_a5, gmock_a6); \
668 } \
669 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
670 const ::testing::internal::WithoutMatchers&, \
671 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
672 return ::testing::internal::AdjustConstness_##constness(this) \
673 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
674 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
675 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
676 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>(), \
677 ::testing::A<GMOCK_ARG_(tn, 5, __VA_ARGS__)>(), \
678 ::testing::A<GMOCK_ARG_(tn, 6, __VA_ARGS__)>()); \
679 } \
680 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(6, constness, \
681 Method)

◆ GMOCK_METHOD7_

#define GMOCK_METHOD7_ ( tn,
constness,
ct,
Method,
... )

Definition at line 684 of file gmock-generated-function-mockers.h.

684#define GMOCK_METHOD7_(tn, constness, ct, Method, ...) \
685 GMOCK_RESULT_(tn, __VA_ARGS__) \
686 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
687 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
688 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
689 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4, \
690 GMOCK_ARG_(tn, 5, __VA_ARGS__) gmock_a5, \
691 GMOCK_ARG_(tn, 6, __VA_ARGS__) gmock_a6, \
692 GMOCK_ARG_(tn, 7, __VA_ARGS__) gmock_a7) constness { \
693 GTEST_COMPILE_ASSERT_( \
694 (::testing::tuple_size<tn ::testing::internal::Function< \
695 __VA_ARGS__>::ArgumentTuple>::value == 7), \
696 this_method_does_not_take_7_arguments); \
697 GMOCK_MOCKER_(7, constness, Method).SetOwnerAndName(this, #Method); \
698 return GMOCK_MOCKER_(7, constness, Method) \
699 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
700 gmock_a1), \
701 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
702 gmock_a2), \
703 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
704 gmock_a3), \
705 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
706 gmock_a4), \
707 ::testing::internal::forward<GMOCK_ARG_(tn, 5, __VA_ARGS__)>( \
708 gmock_a5), \
709 ::testing::internal::forward<GMOCK_ARG_(tn, 6, __VA_ARGS__)>( \
710 gmock_a6), \
711 ::testing::internal::forward<GMOCK_ARG_(tn, 7, __VA_ARGS__)>( \
712 gmock_a7)); \
713 } \
714 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
715 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
716 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
717 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
718 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4, \
719 GMOCK_MATCHER_(tn, 5, __VA_ARGS__) gmock_a5, \
720 GMOCK_MATCHER_(tn, 6, __VA_ARGS__) gmock_a6, \
721 GMOCK_MATCHER_(tn, 7, __VA_ARGS__) gmock_a7) constness { \
722 GMOCK_MOCKER_(7, constness, Method).RegisterOwner(this); \
723 return GMOCK_MOCKER_(7, constness, Method) \
724 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4, gmock_a5, gmock_a6, \
725 gmock_a7); \
726 } \
727 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
728 const ::testing::internal::WithoutMatchers&, \
729 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
730 return ::testing::internal::AdjustConstness_##constness(this) \
731 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
732 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
733 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
734 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>(), \
735 ::testing::A<GMOCK_ARG_(tn, 5, __VA_ARGS__)>(), \
736 ::testing::A<GMOCK_ARG_(tn, 6, __VA_ARGS__)>(), \
737 ::testing::A<GMOCK_ARG_(tn, 7, __VA_ARGS__)>()); \
738 } \
739 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(7, constness, \
740 Method)

◆ GMOCK_METHOD8_

#define GMOCK_METHOD8_ ( tn,
constness,
ct,
Method,
... )

Definition at line 743 of file gmock-generated-function-mockers.h.

743#define GMOCK_METHOD8_(tn, constness, ct, Method, ...) \
744 GMOCK_RESULT_(tn, __VA_ARGS__) \
745 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
746 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
747 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
748 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4, \
749 GMOCK_ARG_(tn, 5, __VA_ARGS__) gmock_a5, \
750 GMOCK_ARG_(tn, 6, __VA_ARGS__) gmock_a6, \
751 GMOCK_ARG_(tn, 7, __VA_ARGS__) gmock_a7, \
752 GMOCK_ARG_(tn, 8, __VA_ARGS__) gmock_a8) constness { \
753 GTEST_COMPILE_ASSERT_( \
754 (::testing::tuple_size<tn ::testing::internal::Function< \
755 __VA_ARGS__>::ArgumentTuple>::value == 8), \
756 this_method_does_not_take_8_arguments); \
757 GMOCK_MOCKER_(8, constness, Method).SetOwnerAndName(this, #Method); \
758 return GMOCK_MOCKER_(8, constness, Method) \
759 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
760 gmock_a1), \
761 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
762 gmock_a2), \
763 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
764 gmock_a3), \
765 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
766 gmock_a4), \
767 ::testing::internal::forward<GMOCK_ARG_(tn, 5, __VA_ARGS__)>( \
768 gmock_a5), \
769 ::testing::internal::forward<GMOCK_ARG_(tn, 6, __VA_ARGS__)>( \
770 gmock_a6), \
771 ::testing::internal::forward<GMOCK_ARG_(tn, 7, __VA_ARGS__)>( \
772 gmock_a7), \
773 ::testing::internal::forward<GMOCK_ARG_(tn, 8, __VA_ARGS__)>( \
774 gmock_a8)); \
775 } \
776 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
777 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
778 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
779 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
780 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4, \
781 GMOCK_MATCHER_(tn, 5, __VA_ARGS__) gmock_a5, \
782 GMOCK_MATCHER_(tn, 6, __VA_ARGS__) gmock_a6, \
783 GMOCK_MATCHER_(tn, 7, __VA_ARGS__) gmock_a7, \
784 GMOCK_MATCHER_(tn, 8, __VA_ARGS__) gmock_a8) constness { \
785 GMOCK_MOCKER_(8, constness, Method).RegisterOwner(this); \
786 return GMOCK_MOCKER_(8, constness, Method) \
787 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4, gmock_a5, gmock_a6, \
788 gmock_a7, gmock_a8); \
789 } \
790 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
791 const ::testing::internal::WithoutMatchers&, \
792 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
793 return ::testing::internal::AdjustConstness_##constness(this) \
794 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
795 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
796 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
797 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>(), \
798 ::testing::A<GMOCK_ARG_(tn, 5, __VA_ARGS__)>(), \
799 ::testing::A<GMOCK_ARG_(tn, 6, __VA_ARGS__)>(), \
800 ::testing::A<GMOCK_ARG_(tn, 7, __VA_ARGS__)>(), \
801 ::testing::A<GMOCK_ARG_(tn, 8, __VA_ARGS__)>()); \
802 } \
803 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(8, constness, \
804 Method)

◆ GMOCK_METHOD9_

#define GMOCK_METHOD9_ ( tn,
constness,
ct,
Method,
... )

Definition at line 807 of file gmock-generated-function-mockers.h.

807#define GMOCK_METHOD9_(tn, constness, ct, Method, ...) \
808 GMOCK_RESULT_(tn, __VA_ARGS__) \
809 ct Method(GMOCK_ARG_(tn, 1, __VA_ARGS__) gmock_a1, \
810 GMOCK_ARG_(tn, 2, __VA_ARGS__) gmock_a2, \
811 GMOCK_ARG_(tn, 3, __VA_ARGS__) gmock_a3, \
812 GMOCK_ARG_(tn, 4, __VA_ARGS__) gmock_a4, \
813 GMOCK_ARG_(tn, 5, __VA_ARGS__) gmock_a5, \
814 GMOCK_ARG_(tn, 6, __VA_ARGS__) gmock_a6, \
815 GMOCK_ARG_(tn, 7, __VA_ARGS__) gmock_a7, \
816 GMOCK_ARG_(tn, 8, __VA_ARGS__) gmock_a8, \
817 GMOCK_ARG_(tn, 9, __VA_ARGS__) gmock_a9) constness { \
818 GTEST_COMPILE_ASSERT_( \
819 (::testing::tuple_size<tn ::testing::internal::Function< \
820 __VA_ARGS__>::ArgumentTuple>::value == 9), \
821 this_method_does_not_take_9_arguments); \
822 GMOCK_MOCKER_(9, constness, Method).SetOwnerAndName(this, #Method); \
823 return GMOCK_MOCKER_(9, constness, Method) \
824 .Invoke(::testing::internal::forward<GMOCK_ARG_(tn, 1, __VA_ARGS__)>( \
825 gmock_a1), \
826 ::testing::internal::forward<GMOCK_ARG_(tn, 2, __VA_ARGS__)>( \
827 gmock_a2), \
828 ::testing::internal::forward<GMOCK_ARG_(tn, 3, __VA_ARGS__)>( \
829 gmock_a3), \
830 ::testing::internal::forward<GMOCK_ARG_(tn, 4, __VA_ARGS__)>( \
831 gmock_a4), \
832 ::testing::internal::forward<GMOCK_ARG_(tn, 5, __VA_ARGS__)>( \
833 gmock_a5), \
834 ::testing::internal::forward<GMOCK_ARG_(tn, 6, __VA_ARGS__)>( \
835 gmock_a6), \
836 ::testing::internal::forward<GMOCK_ARG_(tn, 7, __VA_ARGS__)>( \
837 gmock_a7), \
838 ::testing::internal::forward<GMOCK_ARG_(tn, 8, __VA_ARGS__)>( \
839 gmock_a8), \
840 ::testing::internal::forward<GMOCK_ARG_(tn, 9, __VA_ARGS__)>( \
841 gmock_a9)); \
842 } \
843 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
844 GMOCK_MATCHER_(tn, 1, __VA_ARGS__) gmock_a1, \
845 GMOCK_MATCHER_(tn, 2, __VA_ARGS__) gmock_a2, \
846 GMOCK_MATCHER_(tn, 3, __VA_ARGS__) gmock_a3, \
847 GMOCK_MATCHER_(tn, 4, __VA_ARGS__) gmock_a4, \
848 GMOCK_MATCHER_(tn, 5, __VA_ARGS__) gmock_a5, \
849 GMOCK_MATCHER_(tn, 6, __VA_ARGS__) gmock_a6, \
850 GMOCK_MATCHER_(tn, 7, __VA_ARGS__) gmock_a7, \
851 GMOCK_MATCHER_(tn, 8, __VA_ARGS__) gmock_a8, \
852 GMOCK_MATCHER_(tn, 9, __VA_ARGS__) gmock_a9) constness { \
853 GMOCK_MOCKER_(9, constness, Method).RegisterOwner(this); \
854 return GMOCK_MOCKER_(9, constness, Method) \
855 .With(gmock_a1, gmock_a2, gmock_a3, gmock_a4, gmock_a5, gmock_a6, \
856 gmock_a7, gmock_a8, gmock_a9); \
857 } \
858 ::testing::MockSpec<__VA_ARGS__> gmock_##Method( \
859 const ::testing::internal::WithoutMatchers&, \
860 constness ::testing::internal::Function<__VA_ARGS__>*) const { \
861 return ::testing::internal::AdjustConstness_##constness(this) \
862 ->gmock_##Method(::testing::A<GMOCK_ARG_(tn, 1, __VA_ARGS__)>(), \
863 ::testing::A<GMOCK_ARG_(tn, 2, __VA_ARGS__)>(), \
864 ::testing::A<GMOCK_ARG_(tn, 3, __VA_ARGS__)>(), \
865 ::testing::A<GMOCK_ARG_(tn, 4, __VA_ARGS__)>(), \
866 ::testing::A<GMOCK_ARG_(tn, 5, __VA_ARGS__)>(), \
867 ::testing::A<GMOCK_ARG_(tn, 6, __VA_ARGS__)>(), \
868 ::testing::A<GMOCK_ARG_(tn, 7, __VA_ARGS__)>(), \
869 ::testing::A<GMOCK_ARG_(tn, 8, __VA_ARGS__)>(), \
870 ::testing::A<GMOCK_ARG_(tn, 9, __VA_ARGS__)>()); \
871 } \
872 mutable ::testing::FunctionMocker<__VA_ARGS__> GMOCK_MOCKER_(9, constness, \
873 Method)

◆ GMOCK_MOCKER_

#define GMOCK_MOCKER_ ( arity,
constness,
Method )
Value:
GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)
#define GTEST_CONCAT_TOKEN_(foo, bar)

Definition at line 416 of file gmock-generated-function-mockers.h.

416#define GMOCK_MOCKER_(arity, constness, Method) \
417 GTEST_CONCAT_TOKEN_(gmock##constness##arity##_##Method##_, __LINE__)

◆ GMOCK_RESULT_

#define GMOCK_RESULT_ ( tn,
... )
Value:
tn ::testing::internal::Function<__VA_ARGS__>::Result

Definition at line 401 of file gmock-generated-function-mockers.h.

401#define GMOCK_RESULT_(tn, ...) \
402 tn ::testing::internal::Function<__VA_ARGS__>::Result

◆ MOCK_CONST_METHOD0

#define MOCK_CONST_METHOD0 ( m,
... )
Value:
GMOCK_METHOD0_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD0_(tn, constness, ct, Method,...)

Definition at line 961 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD0_T

#define MOCK_CONST_METHOD0_T ( m,
... )
Value:
GMOCK_METHOD0_(typename, const, , m, __VA_ARGS__)

Definition at line 985 of file gmock-generated-function-mockers.h.

985#define MOCK_CONST_METHOD0_T(m, ...) \
986 GMOCK_METHOD0_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD0_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD0_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD0_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1077 of file gmock-generated-function-mockers.h.

1077#define MOCK_CONST_METHOD0_T_WITH_CALLTYPE(ct, m, ...) \
1078 GMOCK_METHOD0_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD0_WITH_CALLTYPE

#define MOCK_CONST_METHOD0_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD0_(, const, ct, m, __VA_ARGS__)

Definition at line 1031 of file gmock-generated-function-mockers.h.

1031#define MOCK_CONST_METHOD0_WITH_CALLTYPE(ct, m, ...) \
1032 GMOCK_METHOD0_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD1

#define MOCK_CONST_METHOD1 ( m,
... )
Value:
GMOCK_METHOD1_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD1_(tn, constness, ct, Method,...)

Definition at line 962 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD10

#define MOCK_CONST_METHOD10 ( m,
... )
Value:
GMOCK_METHOD10_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD10_(tn, constness, ct, Method,...)

Definition at line 971 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD10_T

#define MOCK_CONST_METHOD10_T ( m,
... )
Value:
GMOCK_METHOD10_(typename, const, , m, __VA_ARGS__)

Definition at line 1005 of file gmock-generated-function-mockers.h.

1005#define MOCK_CONST_METHOD10_T(m, ...) \
1006 GMOCK_METHOD10_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD10_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD10_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD10_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1097 of file gmock-generated-function-mockers.h.

1097#define MOCK_CONST_METHOD10_T_WITH_CALLTYPE(ct, m, ...) \
1098 GMOCK_METHOD10_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD10_WITH_CALLTYPE

#define MOCK_CONST_METHOD10_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD10_(, const, ct, m, __VA_ARGS__)

Definition at line 1051 of file gmock-generated-function-mockers.h.

1051#define MOCK_CONST_METHOD10_WITH_CALLTYPE(ct, m, ...) \
1052 GMOCK_METHOD10_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD1_T

#define MOCK_CONST_METHOD1_T ( m,
... )
Value:
GMOCK_METHOD1_(typename, const, , m, __VA_ARGS__)

Definition at line 987 of file gmock-generated-function-mockers.h.

987#define MOCK_CONST_METHOD1_T(m, ...) \
988 GMOCK_METHOD1_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD1_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD1_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD1_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1079 of file gmock-generated-function-mockers.h.

1079#define MOCK_CONST_METHOD1_T_WITH_CALLTYPE(ct, m, ...) \
1080 GMOCK_METHOD1_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD1_WITH_CALLTYPE

#define MOCK_CONST_METHOD1_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD1_(, const, ct, m, __VA_ARGS__)

Definition at line 1033 of file gmock-generated-function-mockers.h.

1033#define MOCK_CONST_METHOD1_WITH_CALLTYPE(ct, m, ...) \
1034 GMOCK_METHOD1_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD2

#define MOCK_CONST_METHOD2 ( m,
... )
Value:
GMOCK_METHOD2_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD2_(tn, constness, ct, Method,...)

Definition at line 963 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD2_T

#define MOCK_CONST_METHOD2_T ( m,
... )
Value:
GMOCK_METHOD2_(typename, const, , m, __VA_ARGS__)

Definition at line 989 of file gmock-generated-function-mockers.h.

989#define MOCK_CONST_METHOD2_T(m, ...) \
990 GMOCK_METHOD2_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD2_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD2_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD2_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1081 of file gmock-generated-function-mockers.h.

1081#define MOCK_CONST_METHOD2_T_WITH_CALLTYPE(ct, m, ...) \
1082 GMOCK_METHOD2_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD2_WITH_CALLTYPE

#define MOCK_CONST_METHOD2_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD2_(, const, ct, m, __VA_ARGS__)

Definition at line 1035 of file gmock-generated-function-mockers.h.

1035#define MOCK_CONST_METHOD2_WITH_CALLTYPE(ct, m, ...) \
1036 GMOCK_METHOD2_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD3

#define MOCK_CONST_METHOD3 ( m,
... )
Value:
GMOCK_METHOD3_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD3_(tn, constness, ct, Method,...)

Definition at line 964 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD3_T

#define MOCK_CONST_METHOD3_T ( m,
... )
Value:
GMOCK_METHOD3_(typename, const, , m, __VA_ARGS__)

Definition at line 991 of file gmock-generated-function-mockers.h.

991#define MOCK_CONST_METHOD3_T(m, ...) \
992 GMOCK_METHOD3_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD3_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD3_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD3_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1083 of file gmock-generated-function-mockers.h.

1083#define MOCK_CONST_METHOD3_T_WITH_CALLTYPE(ct, m, ...) \
1084 GMOCK_METHOD3_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD3_WITH_CALLTYPE

#define MOCK_CONST_METHOD3_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD3_(, const, ct, m, __VA_ARGS__)

Definition at line 1037 of file gmock-generated-function-mockers.h.

1037#define MOCK_CONST_METHOD3_WITH_CALLTYPE(ct, m, ...) \
1038 GMOCK_METHOD3_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD4

#define MOCK_CONST_METHOD4 ( m,
... )
Value:
GMOCK_METHOD4_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD4_(tn, constness, ct, Method,...)

Definition at line 965 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD4_T

#define MOCK_CONST_METHOD4_T ( m,
... )
Value:
GMOCK_METHOD4_(typename, const, , m, __VA_ARGS__)

Definition at line 993 of file gmock-generated-function-mockers.h.

993#define MOCK_CONST_METHOD4_T(m, ...) \
994 GMOCK_METHOD4_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD4_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD4_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD4_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1085 of file gmock-generated-function-mockers.h.

1085#define MOCK_CONST_METHOD4_T_WITH_CALLTYPE(ct, m, ...) \
1086 GMOCK_METHOD4_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD4_WITH_CALLTYPE

#define MOCK_CONST_METHOD4_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD4_(, const, ct, m, __VA_ARGS__)

Definition at line 1039 of file gmock-generated-function-mockers.h.

1039#define MOCK_CONST_METHOD4_WITH_CALLTYPE(ct, m, ...) \
1040 GMOCK_METHOD4_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD5

#define MOCK_CONST_METHOD5 ( m,
... )
Value:
GMOCK_METHOD5_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD5_(tn, constness, ct, Method,...)

Definition at line 966 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD5_T

#define MOCK_CONST_METHOD5_T ( m,
... )
Value:
GMOCK_METHOD5_(typename, const, , m, __VA_ARGS__)

Definition at line 995 of file gmock-generated-function-mockers.h.

995#define MOCK_CONST_METHOD5_T(m, ...) \
996 GMOCK_METHOD5_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD5_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD5_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD5_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1087 of file gmock-generated-function-mockers.h.

1087#define MOCK_CONST_METHOD5_T_WITH_CALLTYPE(ct, m, ...) \
1088 GMOCK_METHOD5_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD5_WITH_CALLTYPE

#define MOCK_CONST_METHOD5_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD5_(, const, ct, m, __VA_ARGS__)

Definition at line 1041 of file gmock-generated-function-mockers.h.

1041#define MOCK_CONST_METHOD5_WITH_CALLTYPE(ct, m, ...) \
1042 GMOCK_METHOD5_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD6

#define MOCK_CONST_METHOD6 ( m,
... )
Value:
GMOCK_METHOD6_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD6_(tn, constness, ct, Method,...)

Definition at line 967 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD6_T

#define MOCK_CONST_METHOD6_T ( m,
... )
Value:
GMOCK_METHOD6_(typename, const, , m, __VA_ARGS__)

Definition at line 997 of file gmock-generated-function-mockers.h.

997#define MOCK_CONST_METHOD6_T(m, ...) \
998 GMOCK_METHOD6_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD6_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD6_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD6_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1089 of file gmock-generated-function-mockers.h.

1089#define MOCK_CONST_METHOD6_T_WITH_CALLTYPE(ct, m, ...) \
1090 GMOCK_METHOD6_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD6_WITH_CALLTYPE

#define MOCK_CONST_METHOD6_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD6_(, const, ct, m, __VA_ARGS__)

Definition at line 1043 of file gmock-generated-function-mockers.h.

1043#define MOCK_CONST_METHOD6_WITH_CALLTYPE(ct, m, ...) \
1044 GMOCK_METHOD6_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD7

#define MOCK_CONST_METHOD7 ( m,
... )
Value:
GMOCK_METHOD7_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD7_(tn, constness, ct, Method,...)

Definition at line 968 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD7_T

#define MOCK_CONST_METHOD7_T ( m,
... )
Value:
GMOCK_METHOD7_(typename, const, , m, __VA_ARGS__)

Definition at line 999 of file gmock-generated-function-mockers.h.

999#define MOCK_CONST_METHOD7_T(m, ...) \
1000 GMOCK_METHOD7_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD7_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD7_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD7_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1091 of file gmock-generated-function-mockers.h.

1091#define MOCK_CONST_METHOD7_T_WITH_CALLTYPE(ct, m, ...) \
1092 GMOCK_METHOD7_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD7_WITH_CALLTYPE

#define MOCK_CONST_METHOD7_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD7_(, const, ct, m, __VA_ARGS__)

Definition at line 1045 of file gmock-generated-function-mockers.h.

1045#define MOCK_CONST_METHOD7_WITH_CALLTYPE(ct, m, ...) \
1046 GMOCK_METHOD7_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD8

#define MOCK_CONST_METHOD8 ( m,
... )
Value:
GMOCK_METHOD8_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD8_(tn, constness, ct, Method,...)

Definition at line 969 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD8_T

#define MOCK_CONST_METHOD8_T ( m,
... )
Value:
GMOCK_METHOD8_(typename, const, , m, __VA_ARGS__)

Definition at line 1001 of file gmock-generated-function-mockers.h.

1001#define MOCK_CONST_METHOD8_T(m, ...) \
1002 GMOCK_METHOD8_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD8_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD8_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD8_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1093 of file gmock-generated-function-mockers.h.

1093#define MOCK_CONST_METHOD8_T_WITH_CALLTYPE(ct, m, ...) \
1094 GMOCK_METHOD8_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD8_WITH_CALLTYPE

#define MOCK_CONST_METHOD8_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD8_(, const, ct, m, __VA_ARGS__)

Definition at line 1047 of file gmock-generated-function-mockers.h.

1047#define MOCK_CONST_METHOD8_WITH_CALLTYPE(ct, m, ...) \
1048 GMOCK_METHOD8_(, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD9

#define MOCK_CONST_METHOD9 ( m,
... )
Value:
GMOCK_METHOD9_(, const, , m, __VA_ARGS__)
#define GMOCK_METHOD9_(tn, constness, ct, Method,...)

Definition at line 970 of file gmock-generated-function-mockers.h.

◆ MOCK_CONST_METHOD9_T

#define MOCK_CONST_METHOD9_T ( m,
... )
Value:
GMOCK_METHOD9_(typename, const, , m, __VA_ARGS__)

Definition at line 1003 of file gmock-generated-function-mockers.h.

1003#define MOCK_CONST_METHOD9_T(m, ...) \
1004 GMOCK_METHOD9_(typename, const, , m, __VA_ARGS__)

◆ MOCK_CONST_METHOD9_T_WITH_CALLTYPE

#define MOCK_CONST_METHOD9_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD9_(typename, const, ct, m, __VA_ARGS__)

Definition at line 1095 of file gmock-generated-function-mockers.h.

1095#define MOCK_CONST_METHOD9_T_WITH_CALLTYPE(ct, m, ...) \
1096 GMOCK_METHOD9_(typename, const, ct, m, __VA_ARGS__)

◆ MOCK_CONST_METHOD9_WITH_CALLTYPE

#define MOCK_CONST_METHOD9_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD9_(, const, ct, m, __VA_ARGS__)

Definition at line 1049 of file gmock-generated-function-mockers.h.

1049#define MOCK_CONST_METHOD9_WITH_CALLTYPE(ct, m, ...) \
1050 GMOCK_METHOD9_(, const, ct, m, __VA_ARGS__)

◆ MOCK_METHOD0

#define MOCK_METHOD0 ( m,
... )
Value:
GMOCK_METHOD0_(, , , m, __VA_ARGS__)

Definition at line 949 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD0_T

#define MOCK_METHOD0_T ( m,
... )
Value:
GMOCK_METHOD0_(typename, , , m, __VA_ARGS__)

Definition at line 973 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD0_T_WITH_CALLTYPE

#define MOCK_METHOD0_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD0_(typename, , ct, m, __VA_ARGS__)

Definition at line 1054 of file gmock-generated-function-mockers.h.

1054#define MOCK_METHOD0_T_WITH_CALLTYPE(ct, m, ...) \
1055 GMOCK_METHOD0_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD0_WITH_CALLTYPE

#define MOCK_METHOD0_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD0_(, , ct, m, __VA_ARGS__)

Definition at line 1008 of file gmock-generated-function-mockers.h.

1008#define MOCK_METHOD0_WITH_CALLTYPE(ct, m, ...) \
1009 GMOCK_METHOD0_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD1

#define MOCK_METHOD1 ( m,
... )
Value:
GMOCK_METHOD1_(, , , m, __VA_ARGS__)

Definition at line 950 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD10

#define MOCK_METHOD10 ( m,
... )
Value:
GMOCK_METHOD10_(, , , m, __VA_ARGS__)

Definition at line 959 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD10_T

#define MOCK_METHOD10_T ( m,
... )
Value:
GMOCK_METHOD10_(typename, , , m, __VA_ARGS__)

Definition at line 983 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD10_T_WITH_CALLTYPE

#define MOCK_METHOD10_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD10_(typename, , ct, m, __VA_ARGS__)

Definition at line 1074 of file gmock-generated-function-mockers.h.

1074#define MOCK_METHOD10_T_WITH_CALLTYPE(ct, m, ...) \
1075 GMOCK_METHOD10_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD10_WITH_CALLTYPE

#define MOCK_METHOD10_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD10_(, , ct, m, __VA_ARGS__)

Definition at line 1028 of file gmock-generated-function-mockers.h.

1028#define MOCK_METHOD10_WITH_CALLTYPE(ct, m, ...) \
1029 GMOCK_METHOD10_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD1_T

#define MOCK_METHOD1_T ( m,
... )
Value:
GMOCK_METHOD1_(typename, , , m, __VA_ARGS__)

Definition at line 974 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD1_T_WITH_CALLTYPE

#define MOCK_METHOD1_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD1_(typename, , ct, m, __VA_ARGS__)

Definition at line 1056 of file gmock-generated-function-mockers.h.

1056#define MOCK_METHOD1_T_WITH_CALLTYPE(ct, m, ...) \
1057 GMOCK_METHOD1_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD1_WITH_CALLTYPE

#define MOCK_METHOD1_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD1_(, , ct, m, __VA_ARGS__)

Definition at line 1010 of file gmock-generated-function-mockers.h.

1010#define MOCK_METHOD1_WITH_CALLTYPE(ct, m, ...) \
1011 GMOCK_METHOD1_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD2

#define MOCK_METHOD2 ( m,
... )
Value:
GMOCK_METHOD2_(, , , m, __VA_ARGS__)

Definition at line 951 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD2_T

#define MOCK_METHOD2_T ( m,
... )
Value:
GMOCK_METHOD2_(typename, , , m, __VA_ARGS__)

Definition at line 975 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD2_T_WITH_CALLTYPE

#define MOCK_METHOD2_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD2_(typename, , ct, m, __VA_ARGS__)

Definition at line 1058 of file gmock-generated-function-mockers.h.

1058#define MOCK_METHOD2_T_WITH_CALLTYPE(ct, m, ...) \
1059 GMOCK_METHOD2_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD2_WITH_CALLTYPE

#define MOCK_METHOD2_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD2_(, , ct, m, __VA_ARGS__)

Definition at line 1012 of file gmock-generated-function-mockers.h.

1012#define MOCK_METHOD2_WITH_CALLTYPE(ct, m, ...) \
1013 GMOCK_METHOD2_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD3

#define MOCK_METHOD3 ( m,
... )
Value:
GMOCK_METHOD3_(, , , m, __VA_ARGS__)

Definition at line 952 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD3_T

#define MOCK_METHOD3_T ( m,
... )
Value:
GMOCK_METHOD3_(typename, , , m, __VA_ARGS__)

Definition at line 976 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD3_T_WITH_CALLTYPE

#define MOCK_METHOD3_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD3_(typename, , ct, m, __VA_ARGS__)

Definition at line 1060 of file gmock-generated-function-mockers.h.

1060#define MOCK_METHOD3_T_WITH_CALLTYPE(ct, m, ...) \
1061 GMOCK_METHOD3_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD3_WITH_CALLTYPE

#define MOCK_METHOD3_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD3_(, , ct, m, __VA_ARGS__)

Definition at line 1014 of file gmock-generated-function-mockers.h.

1014#define MOCK_METHOD3_WITH_CALLTYPE(ct, m, ...) \
1015 GMOCK_METHOD3_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD4

#define MOCK_METHOD4 ( m,
... )
Value:
GMOCK_METHOD4_(, , , m, __VA_ARGS__)

Definition at line 953 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD4_T

#define MOCK_METHOD4_T ( m,
... )
Value:
GMOCK_METHOD4_(typename, , , m, __VA_ARGS__)

Definition at line 977 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD4_T_WITH_CALLTYPE

#define MOCK_METHOD4_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD4_(typename, , ct, m, __VA_ARGS__)

Definition at line 1062 of file gmock-generated-function-mockers.h.

1062#define MOCK_METHOD4_T_WITH_CALLTYPE(ct, m, ...) \
1063 GMOCK_METHOD4_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD4_WITH_CALLTYPE

#define MOCK_METHOD4_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD4_(, , ct, m, __VA_ARGS__)

Definition at line 1016 of file gmock-generated-function-mockers.h.

1016#define MOCK_METHOD4_WITH_CALLTYPE(ct, m, ...) \
1017 GMOCK_METHOD4_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD5

#define MOCK_METHOD5 ( m,
... )
Value:
GMOCK_METHOD5_(, , , m, __VA_ARGS__)

Definition at line 954 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD5_T

#define MOCK_METHOD5_T ( m,
... )
Value:
GMOCK_METHOD5_(typename, , , m, __VA_ARGS__)

Definition at line 978 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD5_T_WITH_CALLTYPE

#define MOCK_METHOD5_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD5_(typename, , ct, m, __VA_ARGS__)

Definition at line 1064 of file gmock-generated-function-mockers.h.

1064#define MOCK_METHOD5_T_WITH_CALLTYPE(ct, m, ...) \
1065 GMOCK_METHOD5_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD5_WITH_CALLTYPE

#define MOCK_METHOD5_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD5_(, , ct, m, __VA_ARGS__)

Definition at line 1018 of file gmock-generated-function-mockers.h.

1018#define MOCK_METHOD5_WITH_CALLTYPE(ct, m, ...) \
1019 GMOCK_METHOD5_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD6

#define MOCK_METHOD6 ( m,
... )
Value:
GMOCK_METHOD6_(, , , m, __VA_ARGS__)

Definition at line 955 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD6_T

#define MOCK_METHOD6_T ( m,
... )
Value:
GMOCK_METHOD6_(typename, , , m, __VA_ARGS__)

Definition at line 979 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD6_T_WITH_CALLTYPE

#define MOCK_METHOD6_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD6_(typename, , ct, m, __VA_ARGS__)

Definition at line 1066 of file gmock-generated-function-mockers.h.

1066#define MOCK_METHOD6_T_WITH_CALLTYPE(ct, m, ...) \
1067 GMOCK_METHOD6_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD6_WITH_CALLTYPE

#define MOCK_METHOD6_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD6_(, , ct, m, __VA_ARGS__)

Definition at line 1020 of file gmock-generated-function-mockers.h.

1020#define MOCK_METHOD6_WITH_CALLTYPE(ct, m, ...) \
1021 GMOCK_METHOD6_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD7

#define MOCK_METHOD7 ( m,
... )
Value:
GMOCK_METHOD7_(, , , m, __VA_ARGS__)

Definition at line 956 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD7_T

#define MOCK_METHOD7_T ( m,
... )
Value:
GMOCK_METHOD7_(typename, , , m, __VA_ARGS__)

Definition at line 980 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD7_T_WITH_CALLTYPE

#define MOCK_METHOD7_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD7_(typename, , ct, m, __VA_ARGS__)

Definition at line 1068 of file gmock-generated-function-mockers.h.

1068#define MOCK_METHOD7_T_WITH_CALLTYPE(ct, m, ...) \
1069 GMOCK_METHOD7_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD7_WITH_CALLTYPE

#define MOCK_METHOD7_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD7_(, , ct, m, __VA_ARGS__)

Definition at line 1022 of file gmock-generated-function-mockers.h.

1022#define MOCK_METHOD7_WITH_CALLTYPE(ct, m, ...) \
1023 GMOCK_METHOD7_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD8

#define MOCK_METHOD8 ( m,
... )
Value:
GMOCK_METHOD8_(, , , m, __VA_ARGS__)

Definition at line 957 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD8_T

#define MOCK_METHOD8_T ( m,
... )
Value:
GMOCK_METHOD8_(typename, , , m, __VA_ARGS__)

Definition at line 981 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD8_T_WITH_CALLTYPE

#define MOCK_METHOD8_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD8_(typename, , ct, m, __VA_ARGS__)

Definition at line 1070 of file gmock-generated-function-mockers.h.

1070#define MOCK_METHOD8_T_WITH_CALLTYPE(ct, m, ...) \
1071 GMOCK_METHOD8_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD8_WITH_CALLTYPE

#define MOCK_METHOD8_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD8_(, , ct, m, __VA_ARGS__)

Definition at line 1024 of file gmock-generated-function-mockers.h.

1024#define MOCK_METHOD8_WITH_CALLTYPE(ct, m, ...) \
1025 GMOCK_METHOD8_(, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD9

#define MOCK_METHOD9 ( m,
... )
Value:
GMOCK_METHOD9_(, , , m, __VA_ARGS__)

Definition at line 958 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD9_T

#define MOCK_METHOD9_T ( m,
... )
Value:
GMOCK_METHOD9_(typename, , , m, __VA_ARGS__)

Definition at line 982 of file gmock-generated-function-mockers.h.

◆ MOCK_METHOD9_T_WITH_CALLTYPE

#define MOCK_METHOD9_T_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD9_(typename, , ct, m, __VA_ARGS__)

Definition at line 1072 of file gmock-generated-function-mockers.h.

1072#define MOCK_METHOD9_T_WITH_CALLTYPE(ct, m, ...) \
1073 GMOCK_METHOD9_(typename, , ct, m, __VA_ARGS__)

◆ MOCK_METHOD9_WITH_CALLTYPE

#define MOCK_METHOD9_WITH_CALLTYPE ( ct,
m,
... )
Value:
GMOCK_METHOD9_(, , ct, m, __VA_ARGS__)

Definition at line 1026 of file gmock-generated-function-mockers.h.

1026#define MOCK_METHOD9_WITH_CALLTYPE(ct, m, ...) \
1027 GMOCK_METHOD9_(, , ct, m, __VA_ARGS__)