Searched refs:GMOCK_PP_IF (Results 1 – 4 of 4) sorted by relevance
/external/googletest/googlemock/include/gmock/ |
D | gmock-function-mocker.h | 74 GMOCK_PP_IF(_Constness, const, ) GMOCK_PP_IF(_Noexcept, noexcept, ) \ 75 GMOCK_PP_IF(_Override, override, ) \ 76 GMOCK_PP_IF(_Final, final, ) { \ 84 GMOCK_PP_IF(_Constness, const, ) { \ 91 GMOCK_PP_IF(_Constness, const, )::testing::internal::Function< \ 93 const GMOCK_PP_IF(_Noexcept, noexcept, ) { \ 95 GMOCK_PP_IF(_Constness, const, ))(this) \ 155 GMOCK_PP_IF(GMOCK_INTERNAL_IS_CALLTYPE(_elem), \ 176 GMOCK_PP_IF(GMOCK_PP_IS_BEGIN_PARENS(_Ret), GMOCK_PP_REMOVE_PARENS, \ 182 GMOCK_PP_IF(GMOCK_PP_IS_BEGIN_PARENS(_elem), GMOCK_PP_REMOVE_PARENS, \
|
/external/googletest/googlemock/test/ |
D | gmock-pp_test.cc | 23 static_assert(GMOCK_PP_IF(1, 1, 2) == 1, ""); 24 static_assert(GMOCK_PP_IF(0, 1, 2) == 2, "");
|
D | gmock-pp-string_test.cc | 93 EXPECT_EXPANSION("1", GMOCK_PP_IF(1, 1, 2)); in TEST() 94 EXPECT_EXPANSION("2", GMOCK_PP_IF(0, 1, 2)); in TEST()
|
/external/googletest/googlemock/include/gmock/internal/ |
D | gmock-pp.h | 121 #define GMOCK_PP_IF(_Cond, _Then, _Else) \ macro 138 GMOCK_PP_IF(GMOCK_PP_IS_EMPTY(__VA_ARGS__), 0, GMOCK_PP_NARG(__VA_ARGS__)) 149 GMOCK_PP_IF(GMOCK_PP_IS_BEGIN_PARENS(__VA_ARGS__), \
|