scuffed-code/icu4c/source/tools/ctestfw/unicode/testlog.h

28 lines
765 B
C
Raw Normal View History

/********************************************************************
* COPYRIGHT:
* Copyright (c) 2004, 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"
/** 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 TestLog {
public:
virtual void errln( const UnicodeString &message ) = 0;
virtual const char* getTestDataPath(UErrorCode& err) = 0;
};
#endif