arabica/tests/CppUnit/framework/TestResult.cpp
2007-07-19 17:43:13 +00:00

17 lines
325 B
C++

#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;
}