CppUnit project page | FAQ | CppUnit home page |
#include <AutoRegisterSuite.h>
Public Member Functions | |
AutoRegisterSuite () | |
Auto-register the suite factory in the global registry. | |
AutoRegisterSuite (const std::string &name) | |
Auto-register the suite factory in the specified registry. | |
~AutoRegisterSuite () | |
Private Attributes | |
TestFactoryRegistry * | m_registry |
TestSuiteFactory< TestCaseType > | m_factory |
You should not use this class directly. Instead, use the following macros:
This object will register the test returned by TestCaseType::suite() when constructed to the test registry.
This object is intented to be used as a static variable.
TestCaseType | Type of the test case which suite is registered. |
CppUnit::TestFactoryRegistry.
|
Auto-register the suite factory in the global registry.
|
|
Auto-register the suite factory in the specified registry.
|
|
|
|
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |