CppTest home page | CppTest project page |
#include <cpptest-suite.h>
Base class for all suites. Derive from this class to create own test suites.
Test functions in derived classes are registered as tests using the TEST_ADD(func). Testing is started by run(). Note that suites may be embedded in other suites using add().
|
Pointer to a test function. |
|
Constructs an empty test suite. |
|
Destroys this suite object. |
|
Starts the testing. All tests in this suite and embedded suites will be executed.
|
|
Setups a test fixture. This function is called before each test, in this suite, is executed. This function should be overloaded by derived classes to provide specialized behavior.
|
|
Tears down a test fixture. This function is called after each test, in this suite, have been executed. This function should be overloaded by derived classes to provide specialized behavior.
|
|
Issues an assertment to the output handler. Do not call this function directly, use one of the available assertment macros instead, see Available asserts.
|