MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / DescribeNegationTo

Method DescribeNegationTo

tests/gtest/gtest.h:9037–9041  ·  view source on GitHub ↗

Describes the negation of this matcher to an ostream. For example, if the description of this matcher is "is greater than 7", the negated description could be "is not greater than 7". You are not required to override this when implementing MatcherInterface, but it is highly advised so that your matcher can produce good error messages.

Source from the content-addressed store, hash-verified

9035 // MatcherInterface, but it is highly advised so that your matcher
9036 // can produce good error messages.
9037 virtual void DescribeNegationTo(::std::ostream* os) const {
9038 *os << "not (";
9039 DescribeTo(os);
9040 *os << ")";
9041 }
9042};
9043
9044// The implementation of a matcher.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected