• Home
  • Raw
  • Download

Lines Matching refs:static_assert

13 static_assert(GMOCK_PP_CAT(1, 4) == 14, "");
14 static_assert(GMOCK_PP_INTERNAL_INTERNAL_16TH(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
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, "");
22 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)),
27 static_assert(
30 static_assert(!GMOCK_PP_IS_EMPTY(, ), "");
31 static_assert(!GMOCK_PP_IS_EMPTY(a), "");
32 static_assert(!GMOCK_PP_IS_EMPTY(()), "");
33 static_assert(GMOCK_PP_IF(1, 1, 2) == 1, "");
34 static_assert(GMOCK_PP_IF(0, 1, 2) == 2, "");
35 static_assert(GMOCK_PP_NARG0(x) == 1, "");
36 static_assert(GMOCK_PP_NARG0(x, y) == 2, "");
37 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, "");
40 static_assert(GMOCK_PP_TAIL(1, 2) == 2, "");
41 static_assert(GMOCK_PP_HEAD(GMOCK_PP_TAIL(1, 2, 3)) == 2, "");
42 static_assert(!GMOCK_PP_IS_BEGIN_PARENS(sss), "");
43 static_assert(!GMOCK_PP_IS_BEGIN_PARENS(sss()), "");
44 static_assert(!GMOCK_PP_IS_BEGIN_PARENS(sss() sss), "");
45 static_assert(GMOCK_PP_IS_BEGIN_PARENS((sss)), "");
46 static_assert(GMOCK_PP_IS_BEGIN_PARENS((sss)ss), "");
47 static_assert(!GMOCK_PP_IS_ENCLOSED_PARENS(sss), "");
48 static_assert(!GMOCK_PP_IS_ENCLOSED_PARENS(sss()), "");
49 static_assert(!GMOCK_PP_IS_ENCLOSED_PARENS(sss() sss), "");
50 static_assert(!GMOCK_PP_IS_ENCLOSED_PARENS((sss)ss), "");
51 static_assert(GMOCK_PP_REMOVE_PARENS((1 + 1)) * 2 == 3, "");
52 static_assert(GMOCK_PP_INC(4) == 5, "");
60 static_assert(Test<GMOCK_PP_FOR_EACH(GMOCK_PP_INTERNAL_TYPE_TEST, ~,
69 static_assert(GMOCK_PP_INTERNAL_VAR_TEST(x, y) == 2, "");
70 static_assert(GMOCK_PP_INTERNAL_VAR_TEST(silly) == 1, "");
71 static_assert(GMOCK_PP_INTERNAL_VAR_TEST(x, y, z) == 3, "");
75 static_assert(GMOCK_PP_IS_EMPTY(GMOCK_PP_INTERNAL_IS_EMPTY_TEST_1), "");
76 static_assert(GMOCK_PP_IS_EMPTY(), "");
77 static_assert(GMOCK_PP_IS_ENCLOSED_PARENS((sss)), "");
78 static_assert(GMOCK_PP_IS_EMPTY(GMOCK_PP_TAIL(1)), "");
79 static_assert(GMOCK_PP_NARG0() == 0, "");