mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
allow to select long tests to be run from cmdline
This commit is contained in:
@@ -35,11 +35,11 @@ void TestSuite::run(TestResult *result)
|
||||
|
||||
|
||||
// Counts the number of test cases that will be run by this test.
|
||||
int TestSuite::countTestCases()
|
||||
int TestSuite::countTestCases() const
|
||||
{
|
||||
int count = 0;
|
||||
|
||||
for (std::vector<Test*>::iterator it = _tests.begin (); it != _tests.end (); ++it)
|
||||
for (std::vector<Test*>::const_iterator it = _tests.begin (); it != _tests.end (); ++it)
|
||||
count += (*it)->countTestCases();
|
||||
|
||||
return count;
|
||||
|
||||
Reference in New Issue
Block a user