#include <cppunit/Portability.h>
#include <string>
Go to the source code of this file.
#define CPPUNIT_TESTNAMER_DECL |
( |
|
variableName, |
|
|
|
FixtureType |
|
) |
| CPPUNIT_NS::TestNamer variableName( std::string(#FixtureType) ) |
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.
3 CPPUNIT_TESTNAMER_DECL( namer, AFixtureType );
4 std::string fixtureName = namer.getFixtureName();
- See also
- TestNamer