ICU-3461 fixed tests to reflect collation changes

X-SVN-Rev: 14163
This commit is contained in:
Vladimir Weinstein 2003-12-17 21:04:12 +00:00
parent 3bd2f3a26c
commit 937e0d7702
2 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ CollationAPITest::TestProperty(/* char* par */)
ICU 2.4 currVersionArray = {0x21, 0x40, 0x04, 0x04};
ICU 2.6 currVersionArray = {0x21, 0x40, 0x03, 0x03};
*/
UVersionInfo currVersionArray = {0x21, 0x40, 0x04, 0x04};
UVersionInfo currVersionArray = {0x21, 0x40, 0x01, 0x04};
UVersionInfo versionArray;
int i = 0;
@ -355,7 +355,7 @@ CollationAPITest::TestRules()
}
coll->getRules(UCOL_TAILORING_ONLY, rules);
if (rules.length() != 0) {
if (rules.length() != 0x0f) {
errln("English tailored rules failed");
}

View file

@ -231,9 +231,9 @@ const UChar CollationEnglishTest::testAcute[][CollationEnglishTest::MAX_TOKEN_LE
static const UChar testMore[][CollationEnglishTest::MAX_TOKEN_LEN] = {
{(UChar)0x0061 /* 'a' */, (UChar)0x0065 /* 'e' */, 0},
{(UChar)0x0061 /* 'a' */, (UChar)0x0066 /* 'f' */, 0},
{ 0x00E6, 0},
{ 0x00C6, 0},
{(UChar)0x0061 /* 'a' */, (UChar)0x0066 /* 'f' */, 0},
{(UChar)0x006F /* 'o' */, (UChar)0x0065 /* 'e' */, 0},
{ 0x0153, 0},
{ 0x0152, 0},