blob: 4ab39412c30f5fac2339aaedf7681c67b82f9c8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/********************************************************************
* 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& shouldProduceStyles);
};
#endif /* #if !UCONFIG_NO_TRANSLITERATION */
#endif
|