]>
Commit | Line | Data |
---|---|---|
374ca955 A |
1 | /******************************************************************** |
2 | * COPYRIGHT: | |
73c04bcf | 3 | * Copyright (c) 2004-2006, International Business Machines Corporation and |
374ca955 A |
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" | |
73c04bcf | 15 | #include "unicode/testtype.h" |
374ca955 A |
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 | */ | |
73c04bcf | 21 | class T_CTEST_EXPORT_API TestLog { |
374ca955 | 22 | public: |
73c04bcf | 23 | virtual ~TestLog(); |
374ca955 A |
24 | virtual void errln( const UnicodeString &message ) = 0; |
25 | virtual const char* getTestDataPath(UErrorCode& err) = 0; | |
26 | }; | |
27 | ||
28 | ||
29 | #endif |