1 #ifndef CPPUNIT_EXTENSIONS_TESTNAMER_H
2 #define CPPUNIT_EXTENSIONS_TESTNAMER_H
32 #if CPPUNIT_USE_TYPEINFO_NAME
33 # define CPPUNIT_TESTNAMER_DECL( variableName, FixtureType ) \
34 CPPUNIT_NS::TestNamer variableName( typeid(FixtureType) )
36 # define CPPUNIT_TESTNAMER_DECL( variableName, FixtureType ) \
37 CPPUNIT_NS::TestNamer variableName( std::string(#FixtureType) )
57 TestNamer(
const std::type_info &typeInfo );
63 TestNamer(
const std::string &fixtureName );
70 virtual std::string getFixtureName()
const;
79 virtual std::string getTestNameFor(
const std::string &testMethodName )
const;
88 #endif // CPPUNIT_EXTENSIONS_TESTNAMER_H
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
std::string m_fixtureName
Definition: TestNamer.h:82
Names a test or a fixture suite.
Definition: TestNamer.h:50
#define CPPUNIT_API
Definition: CppUnitApi.h:27