| CppUnit project page | FAQ | 
Default implementation of test plug-in interface. 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.  More... | |
| void | uninitialize (TestFactoryRegistry *registry) | 
|  Public Member Functions inherited from CppUnitTestPlugIn | |
| virtual void | initialize (CPPUNIT_NS::TestFactoryRegistry *registry, const CPPUNIT_NS::PlugInParameters ¶meters)=0 | 
| Called just after loading the dynamic library.  More... | |
| virtual void | addListener (CPPUNIT_NS::TestResult *eventManager)=0 | 
| Gives a chance to the plug-in to register TestListener.  More... | |
| virtual void | removeListener (CPPUNIT_NS::TestResult *eventManager)=0 | 
| Gives a chance to the plug-in to remove its registered TestListener.  More... | |
| virtual void | addXmlOutputterHooks (CPPUNIT_NS::XmlOutputter *outputter)=0 | 
| Provides a way for the plug-in to register some XmlOutputterHook.  More... | |
| virtual void | uninitialize (CPPUNIT_NS::TestFactoryRegistry *registry)=0 | 
| Called just before unloading the dynamic library.  More... | |
| virtual | ~CppUnitTestPlugIn () | 
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 | ( | ) | 
| 
 | virtual | 
| void TestPlugInDefaultImpl::addListener | ( | TestResult * | eventManager | ) | 
| void TestPlugInDefaultImpl::addXmlOutputterHooks | ( | XmlOutputter * | outputter | ) | 
| void TestPlugInDefaultImpl::initialize | ( | TestFactoryRegistry * | registry, | 
| const PlugInParameters & | parameters | ||
| ) | 
| void TestPlugInDefaultImpl::removeListener | ( | TestResult * | eventManager | ) | 
| 
 | virtual | 
Called when the XmlOutputter is destroyed.
Can be used to free some resources allocated by addXmlOutputterHooks().
Implements CppUnitTestPlugIn.
| void TestPlugInDefaultImpl::uninitialize | ( | TestFactoryRegistry * | registry | ) | 
| Send comments to: CppUnit Developers |