~ubuntu-branches/ubuntu/wily/psi/wily

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/extensions/TestFactory.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef CPPUNIT_EXTENSIONS_TESTFACTORY_H
2
 
#define CPPUNIT_EXTENSIONS_TESTFACTORY_H
3
 
 
4
 
#include <cppunit/Portability.h>
5
 
 
6
 
CPPUNIT_NS_BEGIN
7
 
 
8
 
 
9
 
class Test;
10
 
 
11
 
/*! \brief Abstract Test factory.
12
 
 */
13
 
class CPPUNIT_API TestFactory 
14
 
{
15
 
public:
16
 
  virtual ~TestFactory() {}
17
 
 
18
 
  /*! Makes a new test.
19
 
   * \return A new Test.
20
 
   */
21
 
  virtual Test* makeTest() = 0;
22
 
};
23
 
 
24
 
 
25
 
CPPUNIT_NS_END
26
 
 
27
 
#endif  // CPPUNIT_EXTENSIONS_TESTFACTORY_H