]> git.saurik.com Git - apple/icu.git/blame - icuSources/test/intltest/cntabcol.h
ICU-511.27.tar.gz
[apple/icu.git] / icuSources / test / intltest / cntabcol.h
CommitLineData
b75a7d8f
A
1/********************************************************************
2 * COPYRIGHT:
73c04bcf 3 * Copyright (c) 1997-2006, International Business Machines Corporation and
b75a7d8f
A
4 * others. All Rights Reserved.
5 ********************************************************************/
6
7
8#ifndef CONTRACTIONTABLETEST_H
9#define CONTRACTIONTABLETEST_H
10
11#include "unicode/utypes.h"
12
13#if !UCONFIG_NO_COLLATION
14
15#include "tscoll.h"
16#include "ucol_cnt.h"
17#include "utrie.h"
18
19class ContractionTableTest: public IntlTestCollator {
20public:
21 ContractionTableTest();
22 virtual ~ContractionTableTest();
23 void runIndexedTest( int32_t index, UBool exec, const char* &name, char* par = NULL );
24
25 // performs test with strength TERIARY
26 void TestGrowTable(/* char* par */);
27 void TestSetContraction();
28 void TestAddATableElement();
29 void TestClone();
30 void TestChangeContraction();
31 void TestChangeLastCE();
73c04bcf 32 void TestErrorCodeChecking();
b75a7d8f
A
33private:
34 CntTable *testTable, *testClone;
35 /*CompactEIntArray *testMapping;*/
36 UNewTrie *testMapping;
b75a7d8f
A
37};
38
39#endif /* #if !UCONFIG_NO_COLLATION */
40
41#endif