Home
last modified time | relevance | path

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

/external/googletest/googlemock/include/gmock/internal/
Dgmock-pp.h58 #define GMOCK_PP_HEAD(...) \ macro
79 #define GMOCK_PP_HEAD(...) GMOCK_PP_INTERNAL_HEAD(__VA_ARGS__) macro
210 GMOCK_PP_INTERNAL_ALTERNATE_HEAD_CAT(GMOCK_PP_HEAD(__VA_ARGS__), )
215 #define GMOCK_PP_INTERNAL_ALTERNATE_HEAD(...) GMOCK_PP_HEAD(__VA_ARGS__)
259 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple)
261 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
265 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
269 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
273 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
277 GMOCK_PP_INTERNAL_CALL_MACRO(_Macro, _i, _Data, GMOCK_PP_HEAD _Tuple) \
[all …]
/external/googletest/googlemock/test/
Dgmock-pp_test.cc27 static_assert(GMOCK_PP_HEAD(1) == 1, "");
28 static_assert(GMOCK_PP_HEAD(1, 2) == 1, "");
29 static_assert(GMOCK_PP_HEAD(1, 2, 3) == 1, "");
31 static_assert(GMOCK_PP_HEAD(GMOCK_PP_TAIL(1, 2, 3)) == 2, "");
Dgmock-pp-string_test.cc98 EXPECT_EXPANSION("1", GMOCK_PP_HEAD(1)); in TEST()
99 EXPECT_EXPANSION("1", GMOCK_PP_HEAD(1, 2)); in TEST()
100 EXPECT_EXPANSION("1", GMOCK_PP_HEAD(1, 2, 3)); in TEST()
104 EXPECT_EXPANSION("2", GMOCK_PP_HEAD(GMOCK_PP_TAIL(1, 2, 3))); in TEST()