1 /********************************************************************
3 * Copyright (c) 2004-2008, International Business Machines Corporation and
4 * others. All Rights Reserved.
5 ********************************************************************/
7 /* Created by grhoten 03/17/2004 */
9 /* Base class for data driven tests */
11 #ifndef U_TESTFW_TESTLOG
12 #define U_TESTFW_TESTLOG
14 #include "unicode/unistr.h"
15 #include "unicode/testtype.h"
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.
21 class T_CTEST_EXPORT_API 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;