CppUnit - The Unit Testing Library

CppUnit project page | FAQ

Public Member Functions | List of all members
TestPlugInInterface Class Referenceabstract

Abstract TestPlugIn for DLL. More...

`#include <TestPlugInInterface.h>`

## Public Member Functions
virtual | ~TestPlugInInterface ()
virtual CppUnit::Test * | makeTest ()=0

## Detailed Description

Abstract TestPlugIn for DLL.

Deprecated:
  Use CppUnitTestPlugIn instead.

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.

## Constructor & Destructor Documentation

## § ~TestPlugInInterface()

virtual TestPlugInInterface::~TestPlugInInterface | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## § makeTest()

virtual CppUnit::Test* TestPlugInInterface::makeTest | ( |  | ) |
| pure virtual

Returns an instance of the "All Tests" suite.

Returns
  Instance of the top-level suite that contains all test. Ownership is granted to the method caller.

The documentation for this class was generated from the following file:

- TestPlugInInterface.h

| Send comments to: CppUnit Developers