mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-868 The list of available converters has changed meaning.
X-SVN-Rev: 8866
This commit is contained in:
parent
7eb6c209a2
commit
a71fad5899
2 changed files with 4 additions and 3 deletions
|
@ -174,7 +174,7 @@ static void TestConvert()
|
|||
log_verbose("Testing ucnv_countAvailable()...");
|
||||
|
||||
testLong1=ucnv_countAvailable();
|
||||
log_verbose("Number of available Codepages: %d\n", testLong1);
|
||||
log_info("Number of available Codepages: %d\n", testLong1);
|
||||
|
||||
log_verbose("\n---Testing ucnv_getAvailableName.."); /*need to check this out */
|
||||
|
||||
|
|
|
@ -697,8 +697,9 @@ static void TestUDataGetMemory() {
|
|||
}
|
||||
table=(const uint16_t *)udata_getMemory(result);
|
||||
|
||||
if(ucnv_countAvailable() != table[1+2*(*table)]) /*???*/
|
||||
log_err("FAIL: udata_getMemory() failed ucnv_countAvailable returned = %d, expected = %d ", ucnv_countAvailable(), table[1+2*(*table)]);
|
||||
/* The alias table may list more converters than what's actually available now. [grhoten] */
|
||||
if(ucnv_countAvailable() > table[1+2*(*table)]) /*???*/
|
||||
log_err("FAIL: udata_getMemory() failed ucnv_countAvailable returned = %d, expected = %d\n", ucnv_countAvailable(), table[1+2*(*table)]);
|
||||
|
||||
udata_close(result);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue