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

42 lines
1.1 KiB
C++

/********************************************************************
* COPYRIGHT:
* Copyright (c) 1997-2001, 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();
private:
CntTable *testTable, *testClone;
/*CompactEIntArray *testMapping;*/
UNewTrie *testMapping;
UErrorCode status;
};
#endif /* #if !UCONFIG_NO_COLLATION */
#endif