Home
last modified time | relevance | path

Searched refs:GMOCK_PP_IF (Results 1 – 5 of 5) sorted by relevance

/third_party/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h183 GMOCK_PP_IF(_Constness, const, ) _RefSpec _NoexceptSpec \
184 GMOCK_PP_IF(_Override, override, ) GMOCK_PP_IF(_Final, final, ) { \
192 GMOCK_PP_IF(_Constness, const, ) _RefSpec { \
199 GMOCK_PP_IF(_Constness, const, )::testing::internal::Function< \
201 return ::testing::internal::ThisRefAdjuster<GMOCK_PP_IF( \
226 GMOCK_PP_IF( \
234 GMOCK_PP_IF( \
242 GMOCK_PP_IF(GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_REF(_i, _, _elem)), \
314 ::testing::internal::identity_t<GMOCK_PP_IF(GMOCK_PP_IS_BEGIN_PARENS(_Ret), \
321 GMOCK_PP_IF(GMOCK_PP_IS_BEGIN_PARENS(_elem), GMOCK_PP_REMOVE_PARENS, \
Dgmock-more-actions.h522 GMOCK_PP_IF(GMOCK_PP_IS_EMPTY(GMOCK_INTERNAL_COUNT_##value_params), \
533 return GMOCK_PP_IF( \
548 GMOCK_PP_IF(GMOCK_PP_IS_EMPTY(GMOCK_INTERNAL_COUNT_##value_params), , \
/third_party/googletest/googlemock/include/gmock/internal/
Dgmock-pp.h86 #define GMOCK_PP_IF(_Cond, _Then, _Else) \ macro
95 GMOCK_PP_REMOVE_PARENS(GMOCK_PP_IF(_Cond, _Then, _Else))
111 GMOCK_PP_IF(GMOCK_PP_IS_EMPTY(__VA_ARGS__), 0, GMOCK_PP_NARG(__VA_ARGS__))
121 GMOCK_PP_IF(GMOCK_PP_IS_BEGIN_PARENS(__VA_ARGS__), \
/third_party/googletest/googlemock/test/
Dgmock-pp_test.cc33 static_assert(GMOCK_PP_IF(1, 1, 2) == 1, "");
34 static_assert(GMOCK_PP_IF(0, 1, 2) == 2, "");
Dgmock-pp-string_test.cc92 EXPECT_EXPANSION("1", GMOCK_PP_IF(1, 1, 2)); in TEST()
93 EXPECT_EXPANSION("2", GMOCK_PP_IF(0, 1, 2)); in TEST()