Searched refs:GMOCK_PP_NARG (Results 1 – 3 of 3) sorted by relevance
/third_party/googletest/googlemock/test/ |
D | gmock-pp_test.cc | 17 static_assert(GMOCK_PP_NARG() == 1, ""); 18 static_assert(GMOCK_PP_NARG(x) == 1, ""); 19 static_assert(GMOCK_PP_NARG(x, y) == 2, ""); 20 static_assert(GMOCK_PP_NARG(x, y, z) == 3, ""); 21 static_assert(GMOCK_PP_NARG(x, y, z, w) == 4, "");
|
D | gmock-pp-string_test.cc | 64 EXPECT_EXPANSION("1", GMOCK_PP_NARG()); in TEST() 65 EXPECT_EXPANSION("1", GMOCK_PP_NARG(x)); in TEST() 66 EXPECT_EXPANSION("2", GMOCK_PP_NARG(x, y)); in TEST() 67 EXPECT_EXPANSION("3", GMOCK_PP_NARG(x, y, z)); in TEST() 68 EXPECT_EXPANSION("4", GMOCK_PP_NARG(x, y, z, w)); in TEST()
|
/third_party/googletest/googlemock/include/gmock/internal/ |
D | gmock-pp.h | 29 #define GMOCK_PP_NARG(...) \ macro 49 GMOCK_PP_CAT(_Macro, GMOCK_PP_NARG(__VA_ARGS__))(__VA_ARGS__)) 111 GMOCK_PP_IF(GMOCK_PP_IS_EMPTY(__VA_ARGS__), 0, GMOCK_PP_NARG(__VA_ARGS__))
|