diff options
| author | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-06 16:21:31 +0000 |
|---|---|---|
| committer | Bastiaan Bakker <bastiaan.bakker@lifeline.nl> | 2001-05-06 16:21:31 +0000 |
| commit | c29893f76ae8c37e14eb99f25d517535c1d37b42 (patch) | |
| tree | e32a57e2fb34631739510a726e3865d3f3db9a32 /src/cppunit/TestSuite.cpp | |
| parent | 92c488aa6f744a1f0f0bbc92ad485d5cc715736a (diff) | |
| download | cppunit-c29893f76ae8c37e14eb99f25d517535c1d37b42.tar.gz | |
Removed unnecessary #include's of TestSuiteBuilder.h
Removed RTTI dependent stuff from TestSuite and TestSuiteBuilder.
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) |
