Logo Search packages:      
Sourcecode: adept version File versions  Download package

tut Namespace Reference


Detailed Description

Template Unit Tests Framework for C++. http://tut.dozen.ru

Author:
dozen, tut@dozen.ru


Classes

struct  beyond_last_test
struct  callback
struct  celem_shar
class  failure
struct  group_base
struct  grouper_shar
struct  no_more_tests
struct  no_such_group
struct  no_such_test
struct  pkgcache_shar
class  reporter
class  seh
class  STF
struct  stl_util_shar
class  test_group
class  test_object
struct  test_result
class  test_runner
class  test_runner_singleton
struct  tests_registerer
struct  tests_registerer< Test, Group, 0 >
struct  tree_shar
class  warning

Typedefs

typedef std::vector< std::string > groupnames
typedef test_group< celem_shar > tg
typedef tg::object to

Functions

void ensure (const char *msg, bool cond)
void ensure (bool cond)
template<class T>
void ensure_distance (const T &actual, const T &expected, const T &distance)
template<class T>
void ensure_distance (const char *msg, const T &actual, const T &expected, const T &distance)
template<class T, class Q>
void ensure_equals (const Q &actual, const T &expected)
template<class T, class Q>
void ensure_equals (const char *msg, const Q &actual, const T &expected)
void fail (const char *msg="")

Variables

tg celem_tg ("celem")
tg grouper_tg ("grouper")
tg pkgcache_tg ("pkgcache")
test_runner_singleton runner
tg stl_util_tg ("stl_util")
tg tree_tg ("tree")


Generated by  Doxygen 1.6.0   Back to index