CppUnit project page | FAQ | CppUnit home page |
#include <cppunit/Portability.h>
#include <string>
Go to the source code of this file.
Defines | |
#define | CPPUNIT_TESTNAMER_DECL(variableName, FixtureType) CPPUNIT_NS::TestNamer variableName( std::string(#FixtureType) ) |
Declares a TestNamer. |
|
Declares a TestNamer. Declares a TestNamer for the specified type, using RTTI if enabled, otherwise using macro string expansion. RTTI is used if CPPUNIT_USE_TYPEINFO_NAME is defined and not null.
void someMethod() { CPPUNIT_TESTNAMER_DECL( namer, AFixtureType ); std::string fixtureName = namer.getFixtureName(); ...
|
hosts this site. |
Send comments to: CppUnit Developers |