SST/macro
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
UnitTest Class Reference

#include <test.h>

Collaboration diagram for UnitTest:
Collaboration graph

Public Member Functions

void append (TestCase *test_case)
 
int validate (std::ostream &os=std::cout)
 

Static Public Member Functions

static int exit_status (int nfailed)
 

Private Attributes

std::vector< TestCase * > tests_
 

Detailed Description

Definition at line 85 of file test.h.

Member Function Documentation

void UnitTest::append ( TestCase test_case)
inline
static int UnitTest::exit_status ( int  nfailed)
inlinestatic

Definition at line 102 of file test.h.

int UnitTest::validate ( std::ostream &  os = std::cout)
Returns
The number of failed tests

Member Data Documentation

std::vector<TestCase*> UnitTest::tests_
private

Definition at line 89 of file test.h.


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