diff options
| author | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-06 17:19:04 +0000 |
|---|---|---|
| committer | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-06 17:19:04 +0000 |
| commit | f3bd175af8c96708a3a629118fc59749444bb753 (patch) | |
| tree | 58e90f62df12bfbe88b6bc8013b2a6d035a607bc /include/cppunit/extensions/TestFactory.h | |
| parent | c29893f76ae8c37e14eb99f25d517535c1d37b42 (diff) | |
| download | cppunit-f3bd175af8c96708a3a629118fc59749444bb753.tar.gz | |
Renamed AbstractTestFactory to TestFactory.
Diffstat (limited to 'include/cppunit/extensions/TestFactory.h')
| -rw-r--r-- | include/cppunit/extensions/TestFactory.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/cppunit/extensions/TestFactory.h b/include/cppunit/extensions/TestFactory.h new file mode 100644 index 0000000..a648243 --- /dev/null +++ b/include/cppunit/extensions/TestFactory.h @@ -0,0 +1,23 @@ +#ifndef CPPUNIT_EXTENSIONS_TESTFACTORY_H +#define CPPUNIT_EXTENSIONS_TESTFACTORY_H + +namespace CppUnit { + + class Test; + + /** This class represents an abstract Test factory. + */ + class TestFactory + { + public: + virtual ~TestFactory() {} + + /** Makes a new test. + * \return A new Test. + */ + virtual Test* makeTest() = 0; + }; + +} // namespace CppUnit + +#endif // CPPUNIT_EXTENSIONS_ABSTRACTTESTFACTORY_H |
