CppTest home page | CppTest project page |
#include <list>
#include <memory>
#include <string>
#include "cpptest-time.h"
#include "cpptest-source.h"
Go to the source code of this file.
Classes | |
class | Test::Suite |
Unit testing suite. More... |
Namespaces | |
namespace | Test |
Macros | |
#define | TEST_ADD(func) |
#define TEST_ADD | ( | func | ) |
Adds a test function to the enclosing suite. Note that test functions should be added in the suites constructor. \param func Function to add, must be of type Suite::Func. \par Example: @code
MySuite::MySuite() { TEST_ADD(&MySuite::test_1) TEST_ADD(&MySuite::test_2) ... }