#include <cppunit/Portability.h>
#include <string>
#include <cppunit/tools/StringHelper.h>
#include <typeinfo>
Go to the source code of this file.
◆ CPPUNIT_TESTNAMER_DECL
      
        
          | #define CPPUNIT_TESTNAMER_DECL | ( |  | variableName, | 
        
          |  |  |  | FixtureType )                 CPPUNIT_NS::TestNamer variableName( typeid(FixtureType) ) | 
      
 
Declares a TestNamer. 
Declares a TestNamer for the specified type
void someMethod() 
{
  std::string fixtureName = namer.getFixtureName();
  ...
#define CPPUNIT_TESTNAMER_DECL(variableName, FixtureType)
Declares a TestNamer.
Definition TestNamer.h:28
- See also
- TestNamer