blob: 0e35d7dec0c615c1b6e52765e2333c50120c47d4 (
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
|
/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2006, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#ifndef CONTRACTIONTABLETEST_H
#define CONTRACTIONTABLETEST_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_COLLATION
#include "tscoll.h"
#include "ucol_cnt.h"
#include "utrie.h"
class ContractionTableTest: public IntlTestCollator {
public:
ContractionTableTest();
virtual ~ContractionTableTest();
void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
// performs test with strength TERIARY
void TestGrowTable(/* char* par */);
void TestSetContraction();
void TestAddATableElement();
void TestClone();
void TestChangeContraction();
void TestChangeLastCE();
void TestErrorCodeChecking();
private:
CntTable *testTable, *testClone;
/*CompactEIntArray *testMapping;*/
UNewTrie *testMapping;
};
#endif /* #if !UCONFIG_NO_COLLATION */
#endif
|