Functions | |
| TypelessConstraint::AP | mockpp::any () |
| Creates a constraint that matches any invocation. | |
| TypelessConstraint::AP | mockpp::nothing () |
| Creates a constraint that never matches an invocation. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::outBound (const T &op) |
| Passes a value back via a reference (outbound value). | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::eq (const T &op) |
| Creates a constraint that tests for equality. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::ne (const T &op) |
| Creates a constraint that tests for non-equality. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::eq (const T &operand, const T &deviation) |
| Creates a constraint that tests for near-equality. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::le (const T &value) |
| Creates a less-or-equal constraint. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::lt (const T &value) |
| Creates a less-than constraint. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::gt (const T &value) |
| Creates a greater-than constraint. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::ge (const T &value) |
| Creates a greater-or-equal constraint. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::same (const T &operand) |
| Creates a constraint that checks if an object is the same. | |
| template<typename ROOT , typename DERIVED > | |
| Constraint< ROOT * >::AP | mockpp::isA (const DERIVED &) |
| Creates a constraint that checks if an object is derived from a base class. | |
| template<typename ROOT , typename DERIVED > | |
| Constraint< ROOT * >::AP | mockpp::isA () |
| Creates a constraint that checks if an object is derived from a base class. | |
| template<typename S > | |
| Constraint< S >::AP | mockpp::stringContains (const S &substring) |
| Creates a constraint that checks for the occurence of a substring. | |
| template<typename S > | |
| Constraint< S >::AP | mockpp::startsWith (const S &substring) |
| Creates a constraint that checks for the occurence of a starting substring. | |
| template<typename S > | |
| Constraint< S >::AP | mockpp::endsWith (const S &substring) |
| Creates a constraint that checks for the occurence of a trailing substring. | |
| template<typename PCS > | |
| Constraint< std::basic_string < PCS > >::AP | mockpp::stringContains (const PCS *substring) |
| Creates a constraint that checks for the occurence of a substring. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::logic_not (const ConstraintHolder< T > &c) |
| Creates a constraint that negates another. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::logic_and (const ConstraintHolder< T > &left, const ConstraintHolder< T > &right, bool shortcut=true) |
| Creates a constraint to logically-and two other constraints. | |
| template<typename T > | |
| Constraint< T >::AP | mockpp::logic_or (const ConstraintHolder< T > &left, const ConstraintHolder< T > &right, bool shortcut=true) |
| Creates a constraint to logically-or two other constraints. | |
using directive. | TypelessConstraint::AP mockpp::any | ( | ) |
Creates a constraint that matches any invocation.
| Constraint<S>::AP mockpp::endsWith | ( | const S & | substring | ) | [inline] |
Creates a constraint that checks for the occurence of a trailing substring.
| substring | the substring |
Definition at line 311 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::eq | ( | const T & | operand, | |
| const T & | deviation | |||
| ) | [inline] |
Creates a constraint that tests for near-equality.
| operand | object to compare with | |
| deviation | amount of allowed deviation |
Definition at line 164 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::eq | ( | const T & | op | ) | [inline] |
Creates a constraint that tests for equality.
| op | object to compare with |
Definition at line 135 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::ge | ( | const T & | value | ) | [inline] |
Creates a greater-or-equal constraint.
| value | object to compare with |
Definition at line 220 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::gt | ( | const T & | value | ) | [inline] |
Creates a greater-than constraint.
| value | object to compare with |
Definition at line 206 of file ChainingMockObjectSupport.h.
| Constraint<ROOT*>::AP mockpp::isA | ( | ) | [inline] |
Creates a constraint that checks if an object is derived from a base class.
The base class is needed since dynamic_cast checks for an existing traversal from derived to base.
Definition at line 267 of file ChainingMockObjectSupport.h.
| Constraint<ROOT*>::AP mockpp::isA | ( | const DERIVED & | ) | [inline] |
Creates a constraint that checks if an object is derived from a base class.
The base class is needed since dynamic_cast checks for an existing traversal from derived to base.
Definition at line 252 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::le | ( | const T & | value | ) | [inline] |
Creates a less-or-equal constraint.
| value | object to compare with |
Definition at line 178 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::logic_and | ( | const ConstraintHolder< T > & | left, | |
| const ConstraintHolder< T > & | right, | |||
| bool | shortcut = true | |||
| ) | [inline] |
Creates a constraint to logically-and two other constraints.
| left | the first constraint | |
| right | the second constraint | |
| shortcut |
|
Definition at line 356 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::logic_not | ( | const ConstraintHolder< T > & | c | ) | [inline] |
Creates a constraint that negates another.
| c | the other constraint |
Definition at line 339 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::logic_or | ( | const ConstraintHolder< T > & | left, | |
| const ConstraintHolder< T > & | right, | |||
| bool | shortcut = true | |||
| ) | [inline] |
Creates a constraint to logically-or two other constraints.
| left | the first constraint | |
| right | the second constraint | |
| shortcut |
|
Definition at line 375 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::lt | ( | const T & | value | ) | [inline] |
Creates a less-than constraint.
| value | object to compare with |
Definition at line 192 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::ne | ( | const T & | op | ) | [inline] |
Creates a constraint that tests for non-equality.
| op | object to compare with |
Definition at line 149 of file ChainingMockObjectSupport.h.
| TypelessConstraint::AP mockpp::nothing | ( | ) |
Creates a constraint that never matches an invocation.
| Constraint<T>::AP mockpp::outBound | ( | const T & | op | ) | [inline] |
Passes a value back via a reference (outbound value).
| op | object to return at invoationwith |
Definition at line 121 of file ChainingMockObjectSupport.h.
| Constraint<T>::AP mockpp::same | ( | const T & | operand | ) | [inline] |
Creates a constraint that checks if an object is the same.
| operand | object to compare with |
Definition at line 234 of file ChainingMockObjectSupport.h.
| Constraint<S>::AP mockpp::startsWith | ( | const S & | substring | ) | [inline] |
Creates a constraint that checks for the occurence of a starting substring.
| substring | the substring |
Definition at line 297 of file ChainingMockObjectSupport.h.
| Constraint< std ::basic_string<PCS> >::AP mockpp::stringContains | ( | const PCS * | substring | ) | [inline] |
Creates a constraint that checks for the occurence of a substring.
| substring | the substring |
Definition at line 325 of file ChainingMockObjectSupport.h.
| Constraint<S>::AP mockpp::stringContains | ( | const S & | substring | ) | [inline] |
Creates a constraint that checks for the occurence of a substring.
| substring | the substring |
Definition at line 283 of file ChainingMockObjectSupport.h.
1.6.1