Home
last modified time | relevance | path

Searched refs:GMOCK_PP_HAS_COMMA (Results 1 – 4 of 4) sorted by relevance

/third_party/googletest/googlemock/test/
Dgmock-pp_test.cc22 static_assert(!GMOCK_PP_HAS_COMMA(), "");
23 static_assert(GMOCK_PP_HAS_COMMA(b, ), "");
24 static_assert(!GMOCK_PP_HAS_COMMA((, )), "");
25 static_assert(GMOCK_PP_HAS_COMMA(GMOCK_TEST_REPLACE_comma_WITH_COMMA(comma)),
28 GMOCK_PP_HAS_COMMA(GMOCK_TEST_REPLACE_comma_WITH_COMMA(comma(unrelated))),
Dgmock-pp-string_test.cc77 EXPECT_EXPANSION("0", GMOCK_PP_HAS_COMMA()); in TEST()
78 EXPECT_EXPANSION("1", GMOCK_PP_HAS_COMMA(, )); in TEST()
79 EXPECT_EXPANSION("0", GMOCK_PP_HAS_COMMA((, ))); in TEST()
/third_party/googletest/googlemock/include/gmock/internal/
Dgmock-pp.h35 #define GMOCK_PP_HAS_COMMA(...) \ macro
80 GMOCK_PP_INTERNAL_IS_EMPTY(GMOCK_PP_HAS_COMMA(__VA_ARGS__), \
81 GMOCK_PP_HAS_COMMA(GMOCK_PP_COMMA __VA_ARGS__), \
82 GMOCK_PP_HAS_COMMA(__VA_ARGS__()), \
83 GMOCK_PP_HAS_COMMA(GMOCK_PP_COMMA __VA_ARGS__()))
156 GMOCK_PP_HAS_COMMA(GMOCK_PP_INTERNAL_CAT_5(GMOCK_PP_INTERNAL_IS_EMPTY_CASE_, \
/third_party/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h175 GMOCK_PP_HAS_COMMA(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_DETECT_CONST, ~, _Tuple))
178 GMOCK_PP_HAS_COMMA( \
182 GMOCK_PP_HAS_COMMA(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_DETECT_FINAL, ~, _Tuple))
189 GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_NOEXCEPT(_i, _, _elem)), \
196 GMOCK_PP_IF(GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_REF(_i, _, _elem)), \
204 (GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_CONST(_i, _, _elem)) + \
205 GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_OVERRIDE(_i, _, _elem)) + \
206 GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_FINAL(_i, _, _elem)) + \
207 GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_NOEXCEPT(_i, _, _elem)) + \
208 GMOCK_PP_HAS_COMMA(GMOCK_INTERNAL_DETECT_REF(_i, _, _elem)) + \