1/* 2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7#include "TestError.h" 8 9#include <stdlib.h> 10 11 12TestError::TestError(Test* test, char* message) 13 : 14 fTest(test), 15 fMessage(message) 16{ 17} 18 19 20TestError::~TestError() 21{ 22 free(fMessage); 23} 24