#include <gmock-matchers.h>
|
| template<typename MatcherTuple , typename ValueTuple > |
| static bool | Matches (const MatcherTuple &matcher_tuple, const ValueTuple &value_tuple) |
| |
| template<typename MatcherTuple , typename ValueTuple > |
| static void | ExplainMatchFailuresTo (const MatcherTuple &matchers, const ValueTuple &values, ::std::ostream *os) |
| |
template<size_t N>
class testing::internal::TuplePrefix< N >
Definition at line 726 of file gmock-matchers.h.
◆ ExplainMatchFailuresTo()
template<size_t N>
template<typename MatcherTuple , typename ValueTuple >
Definition at line 743 of file gmock-matchers.h.
751 typename tuple_element<N - 1, MatcherTuple>::type matcher =
752 get<N - 1>(matchers);
753 typedef typename tuple_element<N - 1, ValueTuple>::type
Value;
755 StringMatchResultListener listener;
756 if (!matcher.MatchAndExplain(
value, &listener)) {
759 *os <<
" Expected arg #" << N - 1 <<
": ";
760 get<N - 1>(matchers).DescribeTo(os);
761 *os <<
"\n Actual: ";
bool Value(const T &value, M matcher)
const GenericPointer< typename T::ValueType > T2 value
void PrintIfNotEmpty(const internal::string &explanation, ::std::ostream *os)
static void ExplainMatchFailuresTo(const MatcherTuple &matchers, const ValueTuple &values, ::std::ostream *os)
void UniversalPrint(const T &value, ::std::ostream *os)
◆ Matches()
template<size_t N>
template<typename MatcherTuple , typename ValueTuple >
Definition at line 732 of file gmock-matchers.h.
735 &&
get<N - 1>(matcher_tuple).
Matches(get<N - 1>(value_tuple));
static bool Matches(const MatcherTuple &matcher_tuple, const ValueTuple &value_tuple)
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/external/rapidjson/thirdparty/gtest/googlemock/include/gmock/gmock-matchers.h