mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-1594 collation now uses generalized utrie data structure - test update
X-SVN-Rev: 7353
This commit is contained in:
parent
b310fd38da
commit
81befd9d61
2 changed files with 7 additions and 3 deletions
|
@ -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 */) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue