Is the value equal to another value, as tested by the operator==() method? More...
#include <isequal.h>
Public Member Functions | |
IsEqual (const T &equalArg) | |
virtual bool | matches (const T &actualValue) const |
Evaluates the matcher for argument item. More... | |
virtual void | describeTo (Description &description) const |
Generates a description of the object. More... | |
Public Member Functions inherited from HamcrestQt::BaseMatcher< T > | |
virtual void | describeMismatch (const T &item, Description &description) const |
Generate a description of why the matcher has not accepted the item. More... | |
virtual QString | toString () const |
Is the value equal to another value, as tested by the operator==() method?
|
inlinevirtual |
Generates a description of the object.
The description may be part of a description of a larger object of which this is just a component, so it should be worded appropriately.
description | The description to be built or appended to. |
Implements HamcrestQt::SelfDescribing.
|
inlinevirtual |
Evaluates the matcher for argument item.
item | the object against which the matcher is evaluated. |
true
if item matches, otherwise false
.Implements HamcrestQt::Matcher< T >.