CppTest home page CppTest project page

cpptest-suite.h File Reference

#include <list>
#include <memory>
#include <string>
#include "cpptest-time.h"

Go to the source code of this file.

Namespaces

Classes

Defines


Detailed Description


Define Documentation

#define TEST_ADD ( func   ) 

Adds a test function to the enclosing suite. Note that test functions should be added in the suites constructor.

Parameters:
func Function to add, must be of type Suite::Func.
Example:
    MySuite::MySuite()
    {
    TEST_ADD(&MySuite::test_1)
    TEST_ADD(&MySuite::test_2)
    ...
    }


Supported by:

SourceForge Logo