summaryrefslogtreecommitdiff
path: root/include/cppunit/extensions/AbstractTestFactory.h
blob: 14a27c86dccfd7b2a019cc0f3237715e3fc0b6e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef CPPUNIT_ABSTRACTTESTFACTORY_H
#define CPPUNIT_ABSTRACTTESTFACTORY_H



namespace CppUnit {

  class Test;

  /** This class represents an abstract Test factory.
   */
  class AbstractTestFactory 
  {
  public:
    virtual ~AbstractTestFactory() {}

    /** Makes a new test.
     * \return A new Test.
     */
    virtual Test *makeTest() =0;
  };

}  // namespace CppUnit

#endif  // CPPUNIT_ABSTRACTTESTFACTORY_H