summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '3rdParty/CppUnit/cppunit/extensions/TestFixtureFactory.h')
m---------3rdParty/CppUnit0
-rw-r--r--3rdParty/CppUnit/cppunit/extensions/TestFixtureFactory.h50
2 files changed, 0 insertions, 50 deletions
diff --git a/3rdParty/CppUnit b/3rdParty/CppUnit
new file mode 160000
+Subproject b4c34eb947c6497c6387c55c7581ec875f4e7d4
diff --git a/3rdParty/CppUnit/cppunit/extensions/TestFixtureFactory.h b/3rdParty/CppUnit/cppunit/extensions/TestFixtureFactory.h
deleted file mode 100644
index 45354c6..0000000
--- a/3rdParty/CppUnit/cppunit/extensions/TestFixtureFactory.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
-#define CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
-
-#include <cppunit/Portability.h>
-
-
-CPPUNIT_NS_BEGIN
-
-
-class TestFixture;
-
-/*! \brief Abstract TestFixture factory (Implementation).
- *
- * Implementation detail. Use by HelperMacros to handle TestFixture hierarchy.
- */
-class TestFixtureFactory
-{
-public:
- //! Creates a new TestFixture instance.
- virtual TestFixture *makeFixture() =0;
-
- virtual ~TestFixtureFactory() {}
-};
-
-
-/*! \brief Concret TestFixture factory (Implementation).
- *
- * Implementation detail. Use by HelperMacros to handle TestFixture hierarchy.
- */
-template<class TestFixtureType>
-class ConcretTestFixtureFactory : public CPPUNIT_NS::TestFixtureFactory
-{
- /*! \brief Returns a new TestFixture instance.
- * \return A new fixture instance. The fixture instance is returned by
- * the TestFixtureFactory passed on construction. The actual type
- * is that of the fixture on which the static method suite()
- * was called.
- */
- TestFixture *makeFixture()
- {
- return new TestFixtureType();
- }
-};
-
-
-CPPUNIT_NS_END
-
-
-#endif // CPPUNIT_EXTENSIONS_TESTFIXTUREFACTORY_H
-