scuffed-code/icu4c/source/test/intltest/reptest.h
Markus Scherer 0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00

45 lines
1.3 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 2001, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
/************************************************************************
* This test program is intended for testing Replaceable class.
*
* Date Name Description
* 11/28/2001 hshih Creation.
*
************************************************************************/
#ifndef REPTEST_H
#define REPTEST_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_TRANSLITERATION
#include "unicode/translit.h"
#include "intltest.h"
/**
* @test
* @summary Testing the Replaceable class
*/
class ReplaceableTest : public IntlTest {
public:
void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par=NULL);
/*Tests the Replaceable class according to the API documentation. */
void TestReplaceableClass(void);
private:
void Check( const UnicodeString& transliteratorName,
const UnicodeString& test,
const UnicodeString& styles,
const UnicodeString& shouldProduceStyles);
};
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
#endif