tut::restartable_wrapper Class Reference

#include <tut_restartable.h>

Collaboration diagram for tut::restartable_wrapper:
[legend]

List of all members.


Detailed Description

Restartable test runner wrapper.

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.
callbackget_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.

Constructor & Destructor Documentation

tut::restartable_wrapper::restartable_wrapper ( const std::string &  dir = "."  )  [inline]

Default constructor.

Parameters:
dir Directory where to search/put log and journal files


Member Function Documentation

void tut::restartable_wrapper::register_group ( const std::string &  name,
group_base gr 
) [inline]

Stores another group for getting by name.

References tut::test_runner::register_group().

void tut::restartable_wrapper::set_callback ( callback cb  )  [inline]

Stores callback object.

callback& tut::restartable_wrapper::get_callback (  )  const [inline]

Returns callback object.

References tut::test_runner::get_callback().

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]

Runs all tests in all groups.

References list_groups(), and tut::test_runner::run_test().


The documentation for this class was generated from the following file:

Generated on Wed Jun 18 04:26:03 2008 for wibble by  doxygen 1.5.6