ICU-447 Added test for improving code coverage in ucnv_bld.c
X-SVN-Rev: 2030
This commit is contained in:
parent
d27fbfa1f1
commit
2756f4ce2a
@ -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()*/
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user