ICU-868 The list of available converters has changed meaning.

X-SVN-Rev: 8866
This commit is contained in:
George Rhoten 2002-06-12 22:17:48 +00:00
parent 7eb6c209a2
commit a71fad5899
2 changed files with 4 additions and 3 deletions

View file

@ -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 */

View file

@ -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);