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.
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected