arabica/tests/CppUnit/framework/TestResult.cpp

18 lines
325 B
C++
Raw Normal View History

2005-08-04 23:23:48 +02:00
#include "TestResult.h"
// Destroys a test result
TestResult::~TestResult ()
{
std::vector<TestFailure *>::iterator it;
for (it = m_errors.begin (); it != m_errors.end (); ++it)
delete *it;
for (it = m_failures.begin (); it != m_failures.end (); ++it)
delete *it;
delete m_syncObject;
}