tut::test_group< Data, MaxTestsInGroup > Class Template Reference

#include <tut.h>

Inheritance diagram for tut::test_group< Data, MaxTestsInGroup >:

tut::group_base

Detailed Description

template<class Data, int MaxTestsInGroup = 50>
class tut::test_group< Data, MaxTestsInGroup >

Test group; used to recreate test object instance for each new test since we have to have reinitialized Data base class.

Public Types

typedef test_object< Data > object

Public Member Functions

 test_group (const char *name)
 Creates and registers test group with specified name.
 test_group (const char *name, test_runner &another_runner)
 This constructor is used in self-test run only.
void reg (int n, testmethod tm)
 Registers test method under given number.
void rewind ()
 Reset test position before first test.
test_result run_next ()
 Runs next test.
test_result run_test (int n)
 Runs one test by position.

Data Structures

class  safe_holder
 Exception-in-destructor-safe smart-pointer class.

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

Generated on Sun May 18 18:17:44 2008 for libdballe by  doxygen 1.5.5