ICU-447 Added test for improving code coverage in ucnv_bld.c

X-SVN-Rev: 2030
This commit is contained in:
Madhu K 2000-07-24 22:07:39 +00:00
parent d27fbfa1f1
commit 2756f4ce2a

View File

@ -310,6 +310,17 @@ void TestConvert()
}
err=U_ZERO_ERROR;
}
log_verbose("Testing ucnv_open() with converter name greater than 7 characters\n");
{
UConverter *cnv=NULL;
err=U_ZERO_ERROR;
cnv=ucnv_open("ibm-949,Madhu", &err);
if(U_FAILURE(err)){
log_err("FAILURE! ucnv_open(\"ibm-949,Madhu\", err) failed. %s\n", myErrorName(err));
}
ucnv_close(cnv);
}
/*Testing ucnv_convert()*/
{