mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-22 16:40:21 +02:00
30 lines
424 B
C++
30 lines
424 B
C++
//
|
|
// TestResult.cpp
|
|
//
|
|
// $Id: //poco/Main/CppUnit/src/TestResult.cpp#6 $
|
|
//
|
|
|
|
|
|
#include "CppUnit/TestResult.h"
|
|
|
|
|
|
namespace CppUnit {
|
|
|
|
|
|
// Destroys a test result
|
|
TestResult::~TestResult()
|
|
{
|
|
std::vector<TestFailure*>::iterator it;
|
|
|
|
for (it = _errors.begin(); it != _errors.end(); ++it)
|
|
delete *it;
|
|
|
|
for (it = _failures.begin(); it != _failures.end(); ++it)
|
|
delete *it;
|
|
|
|
delete _syncObject;
|
|
}
|
|
|
|
|
|
} // namespace CppUnit
|