blob: a6c8f0d1f0c9c4ee98ed6a1094c252b1aaf104f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/********************************************************************
* COPYRIGHT:
* Copyright (c) 2004-2006, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/* Created by grhoten 03/17/2004 */
/* Base class for data driven tests */
#ifndef U_TESTFW_TESTLOG
#define U_TESTFW_TESTLOG
#include "unicode/unistr.h"
#include "unicode/testtype.h"
/** Facilitates internal logging of data driven test service
* It would be interesting to develop this into a full
* fledged control system as in Java.
*/
class T_CTEST_EXPORT_API TestLog {
public:
virtual ~TestLog();
virtual void errln( const UnicodeString &message ) = 0;
virtual const char* getTestDataPath(UErrorCode& err) = 0;
};
#endif
|