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