ICU-3461 fixed test to reflect collation changes

X-SVN-Rev: 14162
This commit is contained in:
Vladimir Weinstein 2003-12-17 20:50:05 +00:00
parent 636fe34dac
commit 3bd2f3a26c
2 changed files with 4 additions and 4 deletions

View File

@ -277,7 +277,7 @@ void TestProperty()
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;
log_verbose("The property tests begin : \n");
@ -368,7 +368,7 @@ void TestProperty()
buffer[0] = '\0';
log_verbose("ucol_getRulesEx() testing ...\n");
tempLength = ucol_getRulesEx(col,UCOL_TAILORING_ONLY,buffer,bufLen );
doAssert( tempLength == 0, "getRulesEx() result incorrect" );
doAssert( tempLength == 0x0f, "getRulesEx() result incorrect" );
log_verbose("getRules tests end.\n");
log_verbose("ucol_getRulesEx() testing ...\n");
@ -1113,7 +1113,7 @@ void TestGetLocale() {
} testStruct[] = {
{ "sr_YU", "sr_YU", "ru" },
{ "sh_YU", "sh_YU", "sh" },
{ "en_US_CALIFORNIA", "en_US", "root" },
{ "en_US_CALIFORNIA", "en_US", "en" },
{ "fr_FR_NONEXISTANT", "fr_FR", "fr" }
};

View File

@ -240,9 +240,9 @@ const static UChar testAcute[][MAX_TOKEN_LEN] = {
static const UChar testMore[][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},