]>
Commit | Line | Data |
---|---|---|
b75a7d8f A |
1 | /******************************************************************** |
2 | * COPYRIGHT: | |
3 | * Copyright (c) 2001, International Business Machines Corporation and | |
4 | * others. All Rights Reserved. | |
5 | ********************************************************************/ | |
6 | /************************************************************************ | |
7 | * This test program is intended for testing Replaceable class. | |
8 | * | |
9 | * Date Name Description | |
10 | * 11/28/2001 hshih Creation. | |
11 | * | |
12 | ************************************************************************/ | |
13 | ||
14 | ||
15 | #ifndef REPTEST_H | |
16 | #define REPTEST_H | |
17 | ||
18 | #include "unicode/utypes.h" | |
19 | ||
20 | #if !UCONFIG_NO_TRANSLITERATION | |
21 | ||
22 | #include "unicode/translit.h" | |
23 | #include "intltest.h" | |
24 | ||
25 | /** | |
26 | * @test | |
27 | * @summary Testing the Replaceable class | |
28 | */ | |
29 | class ReplaceableTest : public IntlTest { | |
30 | public: | |
31 | void runIndexedTest(int32_t index, UBool exec, const char* &name, char* par=NULL); | |
32 | ||
33 | /*Tests the Replaceable class according to the API documentation. */ | |
34 | void TestReplaceableClass(void); | |
35 | private: | |
36 | void check( const UnicodeString& transliteratorName, | |
37 | const UnicodeString& test, | |
38 | const UnicodeString& shouldProduceStyles); | |
39 | }; | |
40 | ||
41 | #endif /* #if !UCONFIG_NO_TRANSLITERATION */ | |
42 | ||
43 | #endif |