Defines | |
| #define | MOCKPP_MAKE_CHAR_READABLE 1 |
| Output char values more readable (e.g. | |
| #define | MOCKPP_USE_STD_EXCEPTION 1 |
| MOCKPP_NS::Exception is derived from std::exception. | |
| #define | MOCKPP_NO_NAMESPACE |
| Defined if namespace support is not working properly. | |
| #define | MOCKPP_UNICODE |
Defined if Unicode strings are used. | |
| #define | CXXTEST_USE_MINI_STL |
| Defined if CxxTest uses the alternative STL implementation below 3party/ministl instead of the regular STL. | |
| #define | MOCKPP_NO_TEMPLATE_HINT |
| Defined if the compiler does not support the template hint like this: value_type::template long_name<T1,T2>end_type. | |
| #define | MOCKPP_NO_TYPENAME_FOR_STL_NS |
| Using typename yields an error in certain cases when stl is in the global namespace. | |
| #define | MOCKPP_USE_INVOCATION_EQUALS |
Include equals methods in Invocation classes. | |
| #define | MOCKPP_USE_MINI_STL |
| When defined mockpp uses built-in mini stl. | |
| #define | MOCKPP_USE_CXXTEST |
| Defined if CxxTest is used as framework. | |
| #define | MOCKPP_USE_CPPUNIT |
| Defined if CppUnit is used as framework. | |
| #define | MOCKPP_USE_BOOSTTEST |
| Defined if Boost.Test is used as framework. | |
Functions | |
| AssertionFailedForwarder_t | mockpp::setAssertionFailedForwarder (AssertionFailedForwarder_t fwd) |
| Sets the function pointer which handles failed assertions. | |
| #define MOCKPP_MAKE_CHAR_READABLE 1 |
| #define MOCKPP_NO_NAMESPACE |
Defined if namespace support is not working properly.
In this case mockpp resides in the global namespace. If ministl and CxxTest are used they should also be configured with MINISTL_NO_NAMESPACE and CXXTEST_NO_NAMESPACE .
| AssertionFailedForwarder_t mockpp::setAssertionFailedForwarder | ( | AssertionFailedForwarder_t | fwd | ) |
Sets the function pointer which handles failed assertions.
Actually it is invoked instead of throwing exceptions.
| fwd | pointer to function. |
1.6.1