mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-30 21:50:47 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			370 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			370 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| //
 | |
| // 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
 | 
