![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include "GrayCore.h"
Go to the source code of this file.
Macros | |
#define | UNITTEST_N(n) n##Tests |
Pick a unique name for the unit test class. Assume in same namespace as what it is testing (n). More... | |
#define | UNITTEST_FRIEND(n) friend class UNITTEST_N(n); |
Define this in the class body to be unit tested. Allow the unit test to access private/protected stuff. More... | |
#define | UNITTEST2_PREDEF(x) |
Included from header file to minimally declare a unit test.
#define UNITTEST2_PREDEF | ( | x | ) |
#define UNITTEST_FRIEND | ( | n | ) | friend class UNITTEST_N(n); |
Define this in the class body to be unit tested. Allow the unit test to access private/protected stuff.
#define UNITTEST_N | ( | n | ) | n##Tests |
Pick a unique name for the unit test class. Assume in same namespace as what it is testing (n).