CppUnit project page | FAQ | CppUnit home page |
Abstract TestPlugIn for DLL. More...
#include <TestPlugInInterface.h>
Public Member Functions | |
virtual | ~TestPlugInInterface () |
virtual CppUnit::Test * | makeTest ()=0 |
Abstract TestPlugIn for DLL.
A Test plug-in DLL must subclass this class and "publish" an instance using the following exported function:
extern "C" { __declspec(dllimport) TestPlugInInterface *GetTestPlugInInterface(); }
When loading the DLL, the TestPlugIn runner look-up this function and retreives the
See the TestPlugIn example for VC++ for details.
virtual TestPlugInInterface::~TestPlugInInterface | ( | ) | [inline, virtual] |
virtual CppUnit::Test* TestPlugInInterface::makeTest | ( | ) | [pure virtual] |
Returns an instance of the "All Tests" suite.
|
hosts this site. |
Send comments to: CppUnit Developers |