#include <tut.h>
Public Member Functions | |
test_runner () | |
Constructor. | |
void | register_group (const std::string &name, group_base *gr) |
Stores another group for getting by name. | |
void | set_callback (callback *cb) |
Stores callback object. | |
callback & | get_callback () const |
Returns callback object. | |
const groupnames | list_groups () const |
Returns list of known test groups. | |
void | run_tests () const |
Runs all tests in all groups. | |
void | run_tests (const std::string &group_name) const |
Runs all tests in specified group. | |
test_result | run_test (const std::string &group_name, int n) const |
Runs one test in specified group. | |
Protected Types | |
typedef std::map< std::string, group_base * > | groups |
typedef groups::iterator | iterator |
typedef groups::const_iterator | const_iterator |
Protected Attributes | |
groups | groups_ |
callback | default_callback_ |
callback * | callback_ |
void tut::test_runner::run_tests | ( | ) | const [inline] |