CppUnit project page | FAQ |
#include <cppunit/Portability.h>
#include <string>
#include <cppunit/tools/StringHelper.h>
#include <typeinfo>
Go to the source code of this file.
Classes | |
class | TestNamer |
Names a test or a fixture suite. More... | |
Defines | |
#define | CPPUNIT_TESTNAMER_DECL(variableName, FixtureType) CPPUNIT_NS::TestNamer variableName( typeid(FixtureType) ) |
Declares a TestNamer. |
#define CPPUNIT_TESTNAMER_DECL | ( | variableName, | |||
FixtureType | ) | CPPUNIT_NS::TestNamer variableName( typeid(FixtureType) ) |
Declares a TestNamer.
Declares a TestNamer for the specified type
void someMethod() { CPPUNIT_TESTNAMER_DECL( namer, AFixtureType ); std::string fixtureName = namer.getFixtureName(); ...
Send comments to: CppUnit Developers |