Classes | |
struct | no_such_test |
struct | beyond_last_test |
struct | no_such_group |
struct | no_more_tests |
class | failure |
class | warning |
class | seh |
struct | test_result |
struct | group_base |
struct | callback |
class | test_runner |
class | test_runner_singleton |
class | test_object |
struct | tests_registerer |
struct | tests_registerer< Test, Group, 0 > |
class | test_group |
class | reporter |
class | restartable_wrapper |
Namespaces | |
namespace | util |
Typedefs | |
typedef std::vector< std::string > | groupnames |
Fonctions | |
void | ensure (bool cond) |
void | ensure (const char *msg, bool cond) |
template<class T, class Q> | |
void | ensure_equals (const char *msg, const Q &actual, const T &expected) |
template<class T, class Q> | |
void | ensure_equals (const Q &actual, const T &expected) |
template<class T> | |
void | ensure_distance (const char *msg, const T &actual, const T &expected, const T &distance) |
template<class T> | |
void | ensure_distance (const T &actual, const T &expected, const T &distance) |
void | fail (const char *msg="") |
Variables | |
test_runner_singleton | runner |
|
Typedef for runner::list_groups() |
|
Tests provided condition. Throws if false. |
|
Tests provided condition. Throws if false. |
|
|
|
Tests two objects for being at most in given distance one from another. Borders are excluded. Throws if false. NB: T must have operator << defined somewhere, or client code will not compile at all! Also, T shall have operators + and -, and be comparable. |
|
|
|
Tests two objects for being equal. Throws if false. NB: both T and Q must have operator << defined somewhere, or client code will not compile at all! |
|
Unconditionally fails with message. |
|
Référencé par main(), et tut::test_group< Data, MaxTestsInGroup >::test_group(). |