ICU-1594 collation now uses generalized utrie data structure - test update

X-SVN-Rev: 7353
This commit is contained in:
Vladimir Weinstein 2001-12-19 07:02:47 +00:00
parent b310fd38da
commit 81befd9d61
2 changed files with 7 additions and 3 deletions

View file

@ -9,11 +9,13 @@ U_NAMESPACE_USE
ContractionTableTest::ContractionTableTest() {
status = U_ZERO_ERROR;
testMapping = ucmpe32_open(0, 0, 0, &status);
/*testMapping = ucmpe32_open(0, 0, 0, &status);*/
testMapping = utrie_open(NULL, NULL, 0, 0, TRUE);
}
ContractionTableTest::~ContractionTableTest() {
ucmpe32_close(testMapping);
/*ucmpe32_close(testMapping);*/
utrie_close(testMapping);
}
void ContractionTableTest::TestGrowTable(/* char* par */) {

View file

@ -10,6 +10,7 @@
#include "tscoll.h"
#include "ucol_cnt.h"
#include "utrie.h"
class ContractionTableTest: public IntlTestCollator {
public:
@ -26,7 +27,8 @@ public:
void TestChangeLastCE();
private:
CntTable *testTable, *testClone;
CompactEIntArray *testMapping;
/*CompactEIntArray *testMapping;*/
UNewTrie *testMapping;
UErrorCode status;
};
#endif