Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <algorithm>
#include <cmath>
#include <initializer_list>
#include <iterator>
#include <limits>
#include <memory>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include "gmock/internal/gmock-internal-utils.h"
#include "gmock/internal/gmock-port.h"
#include "gmock/internal/gmock-pp.h"
#include "gtest/gtest.h"
#include "gmock/internal/custom/gmock-matchers.h"
Go to the source code of this file.
Macros | |
#define | GMOCK_MAYBE_5046_ |
<< DiffStrings(str, arg); More... | |
#define | ASSERT_THAT(value, matcher) |
#define | EXPECT_THAT(value, matcher) |
#define | MATCHER(name, description) |
#define | MATCHER_P(name, p0, description) GMOCK_INTERNAL_MATCHER(name, name##MatcherP, description, (p0)) |
#define | MATCHER_P2(name, p0, p1, description) GMOCK_INTERNAL_MATCHER(name, name##MatcherP2, description, (p0, p1)) |
#define | MATCHER_P3(name, p0, p1, p2, description) GMOCK_INTERNAL_MATCHER(name, name##MatcherP3, description, (p0, p1, p2)) |
#define | MATCHER_P4(name, p0, p1, p2, p3, description) GMOCK_INTERNAL_MATCHER(name, name##MatcherP4, description, (p0, p1, p2, p3)) |
#define | MATCHER_P5(name, p0, p1, p2, p3, p4, description) |
#define | MATCHER_P6(name, p0, p1, p2, p3, p4, p5, description) |
#define | MATCHER_P7(name, p0, p1, p2, p3, p4, p5, p6, description) |
#define | MATCHER_P8(name, p0, p1, p2, p3, p4, p5, p6, p7, description) |
#define | MATCHER_P9(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, description) |
#define | MATCHER_P10(name, p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, description) |
#define | GMOCK_INTERNAL_MATCHER(name, full_name, description, args) |
#define | GMOCK_INTERNAL_MATCHER_TEMPLATE_PARAMS(args) |
#define | GMOCK_INTERNAL_MATCHER_TEMPLATE_PARAM(i_unused, data_unused, arg) , typename arg##_type |
#define | GMOCK_INTERNAL_MATCHER_TYPE_PARAMS(args) GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_TYPE_PARAM, , args)) |
#define | GMOCK_INTERNAL_MATCHER_TYPE_PARAM(i_unused, data_unused, arg) , arg##_type |
#define | GMOCK_INTERNAL_MATCHER_FUNCTION_ARGS(args) |
#define | GMOCK_INTERNAL_MATCHER_FUNCTION_ARG(i, data_unused, arg) , arg##_type gmock_p##i |
#define | GMOCK_INTERNAL_MATCHER_FORWARD_ARGS(args) GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_FORWARD_ARG, , args)) |
#define | GMOCK_INTERNAL_MATCHER_FORWARD_ARG(i, data_unused, arg) , arg(::std::forward<arg##_type>(gmock_p##i)) |
#define | GMOCK_INTERNAL_MATCHER_MEMBERS(args) GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_MEMBER, , args) |
#define | GMOCK_INTERNAL_MATCHER_MEMBER(i_unused, data_unused, arg) const arg##_type arg; |
#define | GMOCK_INTERNAL_MATCHER_MEMBERS_USAGE(args) GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_MEMBER_USAGE, , args)) |
#define | GMOCK_INTERNAL_MATCHER_MEMBER_USAGE(i_unused, data_unused, arg) , arg |
#define | GMOCK_INTERNAL_MATCHER_ARGS_USAGE(args) GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_ARG_USAGE, , args)) |
#define | GMOCK_INTERNAL_MATCHER_ARG_USAGE(i, data_unused, arg_unused) , gmock_p##i |
Functions | |
GTEST_DISABLE_MSC_WARNINGS_PUSH_ (4251 GMOCK_MAYBE_5046_) namespace testing | |
#define GMOCK_MAYBE_5046_ |
<< DiffStrings(str, arg);
Definition at line 280 of file gmock-matchers.h.
#define ASSERT_THAT | ( | value, | |
matcher | |||
) |
#define EXPECT_THAT | ( | value, | |
matcher | |||
) |
#define MATCHER | ( | name, | |
description | |||
) |
#define MATCHER_P | ( | name, | |
p0, | |||
description | |||
) | GMOCK_INTERNAL_MATCHER(name, name##MatcherP, description, (p0)) |
#define MATCHER_P2 | ( | name, | |
p0, | |||
p1, | |||
description | |||
) | GMOCK_INTERNAL_MATCHER(name, name##MatcherP2, description, (p0, p1)) |
#define MATCHER_P3 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
description | |||
) | GMOCK_INTERNAL_MATCHER(name, name##MatcherP3, description, (p0, p1, p2)) |
#define MATCHER_P4 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
description | |||
) | GMOCK_INTERNAL_MATCHER(name, name##MatcherP4, description, (p0, p1, p2, p3)) |
#define MATCHER_P5 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
p4, | |||
description | |||
) |
#define MATCHER_P6 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
p4, | |||
p5, | |||
description | |||
) |
#define MATCHER_P7 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
p4, | |||
p5, | |||
p6, | |||
description | |||
) |
#define MATCHER_P8 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
p4, | |||
p5, | |||
p6, | |||
p7, | |||
description | |||
) |
#define MATCHER_P9 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
p4, | |||
p5, | |||
p6, | |||
p7, | |||
p8, | |||
description | |||
) |
#define MATCHER_P10 | ( | name, | |
p0, | |||
p1, | |||
p2, | |||
p3, | |||
p4, | |||
p5, | |||
p6, | |||
p7, | |||
p8, | |||
p9, | |||
description | |||
) |
#define GMOCK_INTERNAL_MATCHER | ( | name, | |
full_name, | |||
description, | |||
args | |||
) |
#define GMOCK_INTERNAL_MATCHER_TEMPLATE_PARAMS | ( | args | ) |
#define GMOCK_INTERNAL_MATCHER_TEMPLATE_PARAM | ( | i_unused, | |
data_unused, | |||
arg | |||
) | , typename arg##_type |
#define GMOCK_INTERNAL_MATCHER_TYPE_PARAMS | ( | args | ) | GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_TYPE_PARAM, , args)) |
#define GMOCK_INTERNAL_MATCHER_TYPE_PARAM | ( | i_unused, | |
data_unused, | |||
arg | |||
) | , arg##_type |
#define GMOCK_INTERNAL_MATCHER_FUNCTION_ARGS | ( | args | ) |
#define GMOCK_INTERNAL_MATCHER_FORWARD_ARGS | ( | args | ) | GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_FORWARD_ARG, , args)) |
#define GMOCK_INTERNAL_MATCHER_FORWARD_ARG | ( | i, | |
data_unused, | |||
arg | |||
) | , arg(::std::forward<arg##_type>(gmock_p##i)) |
#define GMOCK_INTERNAL_MATCHER_MEMBERS | ( | args | ) | GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_MEMBER, , args) |
#define GMOCK_INTERNAL_MATCHER_MEMBER | ( | i_unused, | |
data_unused, | |||
arg | |||
) | const arg##_type arg; |
#define GMOCK_INTERNAL_MATCHER_MEMBERS_USAGE | ( | args | ) | GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_MEMBER_USAGE, , args)) |
#define GMOCK_INTERNAL_MATCHER_MEMBER_USAGE | ( | i_unused, | |
data_unused, | |||
arg | |||
) | , arg |
#define GMOCK_INTERNAL_MATCHER_ARGS_USAGE | ( | args | ) | GMOCK_PP_TAIL(GMOCK_PP_FOR_EACH(GMOCK_INTERNAL_MATCHER_ARG_USAGE, , args)) |
GTEST_DISABLE_MSC_WARNINGS_PUSH_ | ( | 4251 | GMOCK_MAYBE_5046_ | ) |
Definition at line 283 of file gmock-matchers.h.