for (std::vector<Collection*>::iterator iter= _collection.begin();
iter != _collection.end();
- iter++)
+ ++iter)
{
delete *iter;
}
{
for (std::vector<Collection*>::iterator iter= _collection.begin();
iter != _collection.end() and (_signal.is_shutdown() == false);
- iter++)
+ ++iter)
{
if (_only_run.empty() == false and
fnmatch(_only_run.c_str(), (*iter)->name(), 0))
}
catch (libtest::fatal& e)
{
+ _failed++;
stream::cerr(e.file(), e.line(), e.func()) << e.mesg();
}
catch (libtest::disconnected& e)
{
+ _failed++;
Error << "Unhandled disconnection occurred:" << e.what();
throw;
}
+ catch (...)
+ {
+ _failed++;
+ throw;
+ }
Outn();
}
uint32_t count= 0;
for (std::vector<Collection*>::iterator iter= _collection.begin();
iter != _collection.end();
- iter++)
+ ++iter)
{
count+= (*iter)->total();
}
uint32_t count= 0;
for (std::vector<Collection*>::iterator iter= _collection.begin();
iter != _collection.end();
- iter++)
+ ++iter)
{
count+= (*iter)->success();
}
uint32_t count= 0;
for (std::vector<Collection*>::iterator iter= _collection.begin();
iter != _collection.end();
- iter++)
+ ++iter)
{
count+= (*iter)->skipped();
}
uint32_t count= 0;
for (std::vector<Collection*>::iterator iter= _collection.begin();
iter != _collection.end();
- iter++)
+ ++iter)
{
count+= (*iter)->failed();
}