diff options
Diffstat (limited to 'src/cppunit/TestSuite.cpp')
| -rw-r--r-- | src/cppunit/TestSuite.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/cppunit/TestSuite.cpp b/src/cppunit/TestSuite.cpp index e776cb2..33ea2ce 100644 --- a/src/cppunit/TestSuite.cpp +++ b/src/cppunit/TestSuite.cpp @@ -1,8 +1,5 @@ #include "cppunit/TestSuite.h" #include "cppunit/TestResult.h" -#ifdef USE_TYPEINFO -#include "TypeInfoHelper.h" -#endif // USE_TYPEINFO namespace CppUnit { @@ -16,7 +13,6 @@ void TestSuite::deleteContents () m_tests.clear(); } - /// Runs the tests and collects their result in a TestResult. void TestSuite::run (TestResult *result) { @@ -47,33 +43,18 @@ int TestSuite::countTestCases () const } - - /// Default constructor TestSuite::TestSuite (std::string name) : m_name (name) { } -#ifdef USE_TYPEINFO -/** Constructs a test suite named after the specified type_info. - * \param info type_info used to name the suite. The 'class' prefix - * is stripped from the name. - */ -TestSuite::TestSuite(const std::type_info &info ) : - m_name( TypeInfoHelper::getClassName( info ) ) -{ -} -#endif // USE_TYPEINFO - - /// Destructor TestSuite::~TestSuite () { deleteContents (); } - /// Adds a test to the suite. void TestSuite::addTest (Test *test) |
