Explains why x matches, or doesn't match, the matcher.
| 9184 | |
| 9185 | // Explains why x matches, or doesn't match, the matcher. |
| 9186 | void ExplainMatchResultTo(const T& x, ::std::ostream* os) const { |
| 9187 | StreamMatchResultListener listener(os); |
| 9188 | MatchAndExplain(x, &listener); |
| 9189 | } |
| 9190 | |
| 9191 | // Returns the describer for this matcher object; retains ownership |
| 9192 | // of the describer, which is only guaranteed to be alive when |
nothing calls this directly
no outgoing calls
no test coverage detected