Home
last modified time | relevance | path

Searched refs:GMOCK_PP_HEAD (Results 1 – 3 of 3) sorted by relevance

/third_party/googletest/googlemock/include/gmock/internal/
Dgmock-pp.h40 #define GMOCK_PP_HEAD(...) GMOCK_PP_INTERNAL_HEAD((__VA_ARGS__, unusedArg)) macro
116 GMOCK_PP_HEAD(GMOCK_PP_CAT(GMOCK_PP_INTERNAL_IBP_IS_VARIADIC_R_, \
221 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple)
223 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
227 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
231 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
235 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
239 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
243 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
247 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
[all …]
/third_party/googletest/googlemock/test/
Dgmock-pp_test.cc37 static_assert(GMOCK_PP_HEAD(1) == 1, "");
38 static_assert(GMOCK_PP_HEAD(1, 2) == 1, "");
39 static_assert(GMOCK_PP_HEAD(1, 2, 3) == 1, "");
41 static_assert(GMOCK_PP_HEAD(GMOCK_PP_TAIL(1, 2, 3)) == 2, "");
Dgmock-pp-string_test.cc97 EXPECT_EXPANSION("1", GMOCK_PP_HEAD(1)); in TEST()
98 EXPECT_EXPANSION("1", GMOCK_PP_HEAD(1, 2)); in TEST()
99 EXPECT_EXPANSION("1", GMOCK_PP_HEAD(1, 2, 3)); in TEST()
103 EXPECT_EXPANSION("2", GMOCK_PP_HEAD(GMOCK_PP_TAIL(1, 2, 3))); in TEST()