A set of constraints for a method with 1 arguments. More...
Public Types | |
typedef P1 | ValueType1 |
internal shorthand | |
Public Member Functions | |
ConstraintSet1 (const ConstraintHolder< P1 > &in_constraint1) | |
Constructs the object. | |
virtual | ~ConstraintSet1 () |
Destroys the object. | |
template<typename I > | |
bool | matches (const I &invocation) |
Tests if the constraint set matches the invocation. | |
virtual String | describeTo (String &buffer) const |
Appends the description of this object to the buffer. |
A set of constraints for a method with 1 arguments.
Definition at line 44 of file ConstraintSetN.h.
mockpp::ConstraintSet1< P1 >::ConstraintSet1 | ( | const ConstraintHolder< P1 > & | in_constraint1 | ) | [inline] |
Constructs the object.
in_constraint1 | constraint 1 |
Definition at line 53 of file ConstraintSetN.h.
virtual String mockpp::ConstraintSet1< P1 >::describeTo | ( | String & | buffer | ) | const [inline, virtual] |
Appends the description of this object to the buffer.
buffer | The buffer that the description is appended to. |
Definition at line 76 of file ConstraintSetN.h.
bool mockpp::ConstraintSet1< P1 >::matches | ( | const I & | invocation | ) | [inline] |
Tests if the constraint set matches the invocation.
invocation | the invocation data |
Definition at line 67 of file ConstraintSetN.h.