mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-29 22:23:27 +01:00
18 lines
325 B
C++
18 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;
|
||
|
}
|