arabica/examples/SAX2DOM/CppUnit/framework/TestResult.cpp

18 lines
325 B
C++
Raw Normal View History

2002-06-21 13:16:28 +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;
}