cxxtools::unit::TestFixture Class Reference

#include <cxxtools/unit/testfixture.h>

Inheritance diagram for cxxtools::unit::TestFixture:
cxxtools::unit::TestCase cxxtools::unit::TestSuite

Public Member Functions

virtual ~TestFixture ()
virtual void setUp ()
 Set up conText before running a test.
virtual void tearDown ()
 Clean up after the test run.

Constructor & Destructor Documentation

virtual cxxtools::unit::TestFixture::~TestFixture ( )
inlinevirtual

Member Function Documentation

virtual void cxxtools::unit::TestFixture::setUp ( )
inlinevirtual

Set up conText before running a test.

This function is called before each registered tester function is invoked. It is meant to initialize any required resources.

Reimplemented in cxxtools::unit::TestSuite, and cxxtools::unit::TestCase.

virtual void cxxtools::unit::TestFixture::tearDown ( )
inlinevirtual

Clean up after the test run.

This function is called after each registered tester function is invoked. It is meant to remove any resources previously initialized in TestCase::setUp.

Reimplemented in cxxtools::unit::TestSuite, and cxxtools::unit::TestCase.


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