source: trunk/contrib/cppunit-1.12.2/include/cppunit/extensions/TestFactory.h @ 876

Last change on this file since 876 was 876, checked in by sam, 9 years ago

contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.

File size: 409 bytes
Line 
1#ifndef CPPUNIT_EXTENSIONS_TESTFACTORY_H
2#define CPPUNIT_EXTENSIONS_TESTFACTORY_H
3
4#include <cppunit/Portability.h>
5
6CPPUNIT_NS_BEGIN
7
8
9class Test;
10
11/*! \brief Abstract Test factory.
12 */
13class CPPUNIT_API TestFactory
14{
15public:
16  virtual ~TestFactory() {}
17
18  /*! Makes a new test.
19   * \return A new Test.
20   */
21  virtual Test* makeTest() = 0;
22};
23
24
25CPPUNIT_NS_END
26
27#endif  // CPPUNIT_EXTENSIONS_TESTFACTORY_H
Note: See TracBrowser for help on using the repository browser.