Home
last modified time | relevance | path

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

/external/googletest/googlemock/test/
Dgmock-pp_test.cc12 static_assert(GMOCK_PP_NARG() == 1, "");
13 static_assert(GMOCK_PP_NARG(x) == 1, "");
14 static_assert(GMOCK_PP_NARG(x, y) == 2, "");
15 static_assert(GMOCK_PP_NARG(x, y, z) == 3, "");
16 static_assert(GMOCK_PP_NARG(x, y, z, w) == 4, "");
Dgmock-pp-string_test.cc65 EXPECT_EXPANSION("1", GMOCK_PP_NARG()); in TEST()
66 EXPECT_EXPANSION("1", GMOCK_PP_NARG(x)); in TEST()
67 EXPECT_EXPANSION("2", GMOCK_PP_NARG(x, y)); in TEST()
68 EXPECT_EXPANSION("3", GMOCK_PP_NARG(x, y, z)); in TEST()
69 EXPECT_EXPANSION("4", GMOCK_PP_NARG(x, y, z, w)); in TEST()
/external/googletest/googlemock/include/gmock/internal/
Dgmock-pp.h46 #define GMOCK_PP_NARG(...) \ macro
69 GMOCK_PP_CAT(_Macro, GMOCK_PP_NARG(__VA_ARGS__))(__VA_ARGS__), )
73 #define GMOCK_PP_NARG(...) \ macro
82 GMOCK_PP_CAT(_Macro, GMOCK_PP_NARG(__VA_ARGS__))(__VA_ARGS__)
138 GMOCK_PP_IF(GMOCK_PP_IS_EMPTY(__VA_ARGS__), 0, GMOCK_PP_NARG(__VA_ARGS__))