Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Test_suite< Test_case_type > Class Template Reference

A Test_suite is actually responsible for running a collection of tests. More...

#include <test.h>

List of all members.

Public Member Functions

virtual void start ()=0

Protected Types

typedef void(Test_case_type::* Test_func )()

Protected Member Functions

void run (Test_func test_function)


Detailed Description

template<class Test_case_type>
class Test_suite< Test_case_type >

A Test_suite is actually responsible for running a collection of tests.


Member Typedef Documentation

template<class Test_case_type>
typedef void(Test_case_type::* Test_suite< Test_case_type >::Test_func)() [protected]
 


Member Function Documentation

template<class Test_case_type>
void Test_suite< Test_case_type >::run Test_func  test_function  )  [protected]
 

Run the given test function within a one-time instantiation of the Test_case_type.

template<class Test_case_type>
virtual void Test_suite< Test_case_type >::start  )  [pure virtual]
 

Implemented in derived classes, usually containing a series of calls to run().


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

Torsion Operating System, Copyright (C) 2000-2004 Dan Helfman