Lines Matching refs:MatchResultListener
67 // MatchResultListener is an abstract class. Its << operator can be
74 class MatchResultListener {
78 explicit MatchResultListener(::std::ostream* os) : stream_(os) {}
79 virtual ~MatchResultListener() = 0; // Makes this class abstract.
84 MatchResultListener& operator<<(const T& x) {
102 GTEST_DISALLOW_COPY_AND_ASSIGN_(MatchResultListener);
105 inline MatchResultListener::~MatchResultListener() {
128 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const = 0;
153 class DummyMatchResultListener : public MatchResultListener {
155 DummyMatchResultListener() : MatchResultListener(NULL) {}
162 // ostream. The difference between this and MatchResultListener is
164 class StreamMatchResultListener : public MatchResultListener {
167 : MatchResultListener(os) {}
174 class StringMatchResultListener : public MatchResultListener {
176 StringMatchResultListener() : MatchResultListener(&ss_) {}
195 bool MatchAndExplain(T x, MatchResultListener* listener) const {
313 // MatchResultListener* listener) const;
348 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
463 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
589 MatchResultListener* listener) {
715 T /* x */, MatchResultListener* /* listener */) const { return true; }
763 Lhs lhs, MatchResultListener* /* listener */) const { \
799 MatchResultListener* /* listener */) const {
815 MatchResultListener* /* listener */) const {
873 Super& x, MatchResultListener* listener) const {
947 MatchResultListener* listener) const {
955 MatchResultListener* /* listener */) const {
1001 MatchResultListener* listener) const {
1006 MatchResultListener* /* listener */) const {
1042 MatchResultListener* listener) const {
1047 MatchResultListener* /* listener */) const {
1082 MatchResultListener* listener) const {
1087 MatchResultListener* /* listener */) const {
1121 MatchResultListener* listener) const {
1126 MatchResultListener* /* listener */) const {
1178 MatchResultListener* /* listener */) const { \
1214 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
1278 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
1365 virtual bool MatchAndExplain(T x, MatchResultListener* listener) const {
1440 MatchResultListener* /* listener */) const {
1575 MatchResultListener* /* listener */) const {
1695 MatchResultListener* listener) const {
1734 bool MatchAndExplain(const T& value, MatchResultListener* listener) const {
1746 MatchResultListener* listener) const {
1752 MatchResultListener* listener) const {
1795 bool MatchAndExplain(const T&value, MatchResultListener* listener) const {
1807 MatchResultListener* listener) const {
1816 MatchResultListener* listener) const {
1899 virtual bool MatchAndExplain(T obj, MatchResultListener* listener) const {
1963 MatchResultListener* listener) const {
2062 MatchResultListener* listener) const {
2161 MatchResultListener* listener) const {
2229 MatchResultListener* listener) const {
2274 MatchResultListener* listener) const {
2303 MatchResultListener* listener) const {
2363 MatchResultListener* listener) const {
2445 MatchResultListener* listener) const {
2474 MatchResultListener* listener) const {
2575 MatchResultListener* listener) const {
3182 M matcher, const T& value, MatchResultListener* listener) {