testsuite: according to cppcheck, the function printTests() is not used, remove it.

This commit is contained in:
Matthias Krüger 2014-01-06 17:19:08 +01:00
parent 6feb0faf4c
commit d9ce61a9d6
2 changed files with 0 additions and 10 deletions

View File

@ -220,15 +220,6 @@ void TestFixture::assertThrowFail(const char *filename, unsigned int linenr) con
}
}
void TestFixture::printTests()
{
const std::list<TestFixture *> &tests = TestRegistry::theInstance().tests();
for (std::list<TestFixture *>::const_iterator it = tests.begin(); it != tests.end(); ++it) {
std::cout << (*it)->classname << std::endl;
}
}
void TestFixture::run(const std::string &str)
{
testToRun = str;

View File

@ -67,7 +67,6 @@ public:
TestFixture(const std::string &_name);
virtual ~TestFixture() { }
static void printTests();
static std::size_t runTests(const options& args);
};