1 #ifndef HAMCRESTQT_DIAGNOSINGMATCHER_H
2 #define HAMCRESTQT_DIAGNOSINGMATCHER_H
4 #include "basematcher.h"
14 return matches(item, Description::NONE());
19 matches(item, mismatchDescription);
28 #endif // HAMCRESTQT_DIAGNOSINGMATCHER_H
virtual bool matches(const T &item) const
Evaluates the matcher for argument item.
Definition: diagnosingmatcher.h:12
virtual void describeMismatch(const T &item, Description &mismatchDescription) const
Generate a description of why the matcher has not accepted the item.
Definition: diagnosingmatcher.h:17
A description of a Matcher.
Definition: description.h:17
Definition: diagnosingmatcher.h:9
BaseClass for all Matcher implementations.
Definition: basematcher.h:17