// Explains the match result of `matcher` against `value` to `listener`. // `value_name` is the name of the value to be used in the error message. // This is inspired by testing::ExplainMatchResult and // testing::internal::MatchPrintAndExplain. template <typename T, typename M> bool ExplainMatchResult(const M& matcher, const T& value,
::testing::StringMatchResultListener* absl_nonnull
listener,
absl::string_view value_name) { // SafeMatcherCast is required for matchers whose type does not match the // argument type.
::testing::Matcher<const T&> safe_matcher =
::testing::SafeMatcherCast<const T&>(matcher);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.