CppUnit project page CppUnit home page

Test registry


Classes

class  CppUT::Registry
class  CppUT::SuiteRegisterer< SuiteType >
class  CppUT::SuiteRelationshipRegisterer
class  CppUT::TestFactoryRegisterer
 Helper object used to statically register a TestFactory. More...

Defines

#define CPPUT_REGISTER_NAMED_SUITE_TO_DEFAULT(TestFixtureType, suiteName)
#define CPPUT_REGISTER_SUITE_TO_DEFAULT(TestFixtureType)
#define CPPUT_REGISTER_SUITE_IN(TestFixtureType, parentSuiteName)
#define CPPUT_REGISTER_NAMED_SUITE_IN(TestFixtureType,parentSuiteName,suiteName)
#define CPPUT_REGISTER_SUITE_RELATIONSHIP(parentSuiteName, childSuiteName)
#define CPPUT_REGISTER_SUITE_RELATIONSHIP_TO_DEFAULT(childSuiteName)
#define CPPUT_REGISTER_TESTFACTORY_TO_DEFAULT(testFactory)
 Register the specified TestFactory in the default Registry suite.
#define CPPUT_REGISTER_TESTFACTORY_IN(testFactory, parentSuiteName)
 Register the specified TestFactory in the specified Registry suite.

Typedefs

typedef CppTL::Functor0R< TestPtr > CppUT::TestFactory
typedef int CppUT::TestFactoryId

Define Documentation

#define CPPUT_REGISTER_NAMED_SUITE_IN ( TestFixtureType,
parentSuiteName,
suiteName   ) 

Value:

static CppUT::SuiteRegisterer< TestFixtureType >                           \
             CPPTL_MAKE_UNIQUE_NAME(cpputSuiteRegisterer )(                  \
                     CppUT::Impl::registerToNamedSuite,                      \
                     parentSuiteName,                                        \
                     suiteName );

#define CPPUT_REGISTER_NAMED_SUITE_TO_DEFAULT ( TestFixtureType,
suiteName   ) 

Value:

static CppUT::SuiteRegisterer< TestFixtureType >                           \
             CPPTL_MAKE_UNIQUE_NAME(cpputSuiteRegisterer )(suiteName);

#define CPPUT_REGISTER_SUITE_IN ( TestFixtureType,
parentSuiteName   ) 

Value:

#define CPPUT_REGISTER_SUITE_RELATIONSHIP ( parentSuiteName,
childSuiteName   ) 

Value:

static ::CppUT::SuiteRelationshipRegisterer                               \
             CPPTL_MAKE_UNIQUE_NAME(cpputSuiteRelationShipRegisterer )(      \
                                            parentSuiteName,                 \
                                            childSuiteName )

#define CPPUT_REGISTER_SUITE_RELATIONSHIP_TO_DEFAULT ( childSuiteName   ) 

Value:

static ::CppUT::SuiteRelationshipRegisterer                               \
             CPPTL_MAKE_UNIQUE_NAME(cpputSuiteRelationShipRegisterer )(      \
                                            childSuiteName )

#define CPPUT_REGISTER_SUITE_TO_DEFAULT ( TestFixtureType   ) 

Value:

#define CPPUT_REGISTER_TESTFACTORY_IN ( testFactory,
parentSuiteName   ) 

Value:

static ::CppUT::TestFactoryRegisterer                                   \
      CPPTL_MAKE_UNIQUE_NAME(cpputTestFactoryRegisterer)( testFactory, parentSuiteName )
Register the specified TestFactory in the specified Registry suite.

#define CPPUT_REGISTER_TESTFACTORY_TO_DEFAULT ( testFactory   ) 

Value:

static ::CppUT::TestFactoryRegisterer                                   \
      CPPTL_MAKE_UNIQUE_NAME(cpputTestFactoryRegisterer)( testFactory )
Register the specified TestFactory in the default Registry suite.


Typedef Documentation

typedef int CppUT::TestFactoryId


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers