CppUnit project page | FAQ | CppUnit home page |
Default implementation of test plug-in interface.Override getSuiteName() to specify the suite name. Default is "All Tests". More...
#include <TestPlugInDefaultImpl.h>
Public Member Functions | |
TestPlugInDefaultImpl () | |
virtual | ~TestPlugInDefaultImpl () |
void | initialize (TestFactoryRegistry *registry, const PlugInParameters ¶meters) |
void | addListener (TestResult *eventManager) |
void | removeListener (TestResult *eventManager) |
void | addXmlOutputterHooks (XmlOutputter *outputter) |
void | removeXmlOutputterHooks () |
Called when the XmlOutputter is destroyed. | |
void | uninitialize (TestFactoryRegistry *registry) |
Default implementation of test plug-in interface.
Override getSuiteName() to specify the suite name. Default is "All Tests".
CppUnitTestPlugIn::getTestSuite() returns a suite that contains all the test registered to the default test factory registry ( TestFactoryRegistry::getRegistry() ).
CPPUNIT_NS_BEGIN TestPlugInDefaultImpl::TestPlugInDefaultImpl | ( | ) |
TestPlugInDefaultImpl::~TestPlugInDefaultImpl | ( | ) | [virtual] |
void TestPlugInDefaultImpl::addListener | ( | TestResult * | eventManager | ) |
void TestPlugInDefaultImpl::addXmlOutputterHooks | ( | XmlOutputter * | outputter | ) |
void TestPlugInDefaultImpl::initialize | ( | TestFactoryRegistry * | registry, |
const PlugInParameters & | parameters | ||
) |
void TestPlugInDefaultImpl::removeListener | ( | TestResult * | eventManager | ) |
void TestPlugInDefaultImpl::removeXmlOutputterHooks | ( | ) | [virtual] |
Called when the XmlOutputter is destroyed.
Can be used to free some resources allocated by addXmlOutputterHooks().
Implements CppUnitTestPlugIn.
void TestPlugInDefaultImpl::uninitialize | ( | TestFactoryRegistry * | registry | ) |
|
hosts this site. |
Send comments to: CppUnit Developers |