Name

TestFixtureFactory

Description

The abstract class TestFixtureFactory (see Figure C-24) defines the interface for a factory to produce TestFixture objects.

TestFixtureFactory belongs to the namespace CppUnit. It is declared in extensions/HelperMacros.h. It is abstract and has no implementation.

The abstract class TestFixtureFactory
Figure C-24. The abstract class TestFixtureFactory

Declaration

class TestFixtureFactory

Constructors/Destructors

None.

Public Methods

virtual TestFixture *makeFixture( ) = 0

A pure virtual method to create a TestFixture.

Protected/Private Methods

None.

Attributes

None.

Get Unit Test Frameworks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.