1 #ifndef CPPUNIT_PLUGIN_TESTPLUGINADAPTER
2 #define CPPUNIT_PLUGIN_TESTPLUGINADAPTER
6 #if !defined(CPPUNIT_NO_TESTPLUGIN)
10 #if CPPUNIT_NEED_DLL_DECL
11 #pragma warning( push )
12 #pragma warning( disable: 4251 4660 ) // X needs to have dll-interface to be used by clients of class Z
55 #if CPPUNIT_NEED_DLL_DECL
56 #pragma warning( pop )
59 #endif // !defined(CPPUNIT_NO_TESTPLUGIN)
61 #endif // CPPUNIT_PLUGIN_TESTPLUGINADAPTER
virtual void uninitialize(CPPUNIT_NS::TestFactoryRegistry *registry)=0
Called just before unloading the dynamic library.
Test plug-in interface.This class define the interface implemented by test plug-in. A pointer to that interface is returned by the function exported by the test plug-in.
Definition: TestPlugIn.h:43
Manages TestListener.A single instance of this class is used when running the test. It is usually created by the test runner (TestRunner).
Definition: TestResult.h:51
Test plug-ins parameters.
Definition: PlugInParameters.h:15
Outputs a TestResultCollector in XML format.Save the test result as a XML stream. ...
Definition: XmlOutputter.h:39
virtual void removeListener(CPPUNIT_NS::TestResult *eventManager)=0
Gives a chance to the plug-in to remove its registered TestListener.
virtual void removeXmlOutputterHooks()=0
Called when the XmlOutputter is destroyed.
Default implementation of test plug-in interface.Override getSuiteName() to specify the suite name...
Definition: TestPlugInDefaultImpl.h:31
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
Registry for TestFactory.Notes that the registry DON'T assumes lifetime control for any registered te...
Definition: TestFactoryRegistry.h:80
virtual void addXmlOutputterHooks(CPPUNIT_NS::XmlOutputter *outputter)=0
Provides a way for the plug-in to register some XmlOutputterHook.
virtual void initialize(CPPUNIT_NS::TestFactoryRegistry *registry, const CPPUNIT_NS::PlugInParameters ¶meters)=0
Called just after loading the dynamic library.
virtual void addListener(CPPUNIT_NS::TestResult *eventManager)=0
Gives a chance to the plug-in to register TestListener.
A Composite of Tests.It runs a collection of test cases. Here is an example.
Definition: TestSuite.h:40
#define CPPUNIT_API
Definition: CppUnitApi.h:27