testsuite: according to cppcheck, the function printTests() is not used, remove it.
This commit is contained in:
parent
6feb0faf4c
commit
d9ce61a9d6
|
@ -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;
|
||||
|
|
|
@ -67,7 +67,6 @@ public:
|
|||
TestFixture(const std::string &_name);
|
||||
virtual ~TestFixture() { }
|
||||
|
||||
static void printTests();
|
||||
static std::size_t runTests(const options& args);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue