#include <tut_restartable.h>
Public Member Functions | |
restartable_wrapper (const std::string &dir=".") | |
Default 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. | |
groupnames | list_groups () const |
Returns list of known test groups. | |
void | run_tests () const |
Runs all tests in all groups. |
tut::restartable_wrapper::restartable_wrapper | ( | const std::string & | dir = "." |
) | [inline] |
Default constructor.
dir | Directory where to search/put log and journal files |
void tut::restartable_wrapper::register_group | ( | const std::string & | name, | |
group_base * | gr | |||
) | [inline] |
callback& tut::restartable_wrapper::get_callback | ( | ) | const [inline] |
groupnames tut::restartable_wrapper::list_groups | ( | ) | const [inline] |
Returns list of known test groups.
References tut::test_runner::list_groups().
Referenced by run_tests().
void tut::restartable_wrapper::run_tests | ( | ) | const [inline] |