1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-03-04 19:27:29 +01:00
SqMod/vendor/POCO/CppUnit/src/TestResult.cpp

28 lines
370 B
C++
Raw Normal View History

//
// TestResult.cpp
//
#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