1/*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef TEST_ERROR_H
6#define TEST_ERROR_H
7
8
9#include <SupportDefs.h>
10
11
12class Test;
13
14
15class TestError {
16public:
17								TestError(Test* test, char* message);
18								~TestError();
19
20			Test*				GetTest() const	{ return fTest; }
21			const char*			Message() const	{ return fMessage; }
22
23			TestError*&			ListLink()	{ return fNext; }
24
25private:
26			TestError*			fNext;
27			Test*				fTest;
28			char*				fMessage;
29};
30
31
32#endif	// TEST_ERROR_H
33