diff --git a/icu4c/source/test/cintltst/custrtrn.c b/icu4c/source/test/cintltst/custrtrn.c index 6c1848d7f3..fb21490dcd 100644 --- a/icu4c/source/test/cintltst/custrtrn.c +++ b/icu4c/source/test/cintltst/custrtrn.c @@ -1,6 +1,6 @@ /******************************************************************** * COPYRIGHT: - * Copyright (c) 2001-2010, International Business Machines Corporation and + * Copyright (c) 2001-2011, International Business Machines Corporation and * others. All Rights Reserved. ********************************************************************/ /******************************************************************************** @@ -1432,6 +1432,8 @@ Test_WCHART_LongString(){ UChar* uDest = NULL; UBool failed = FALSE; + log_verbose("Loaded string of %d UChars\n", uSrcLen); + if(U_FAILURE(status)){ log_data_err("Could not get testinclude resource from testtypes bundle. Error: %s\n",u_errorName(status)); return; @@ -1445,22 +1447,45 @@ Test_WCHART_LongString(){ wDest =(wchar_t*) malloc(sizeof(wchar_t) * (reqLen+1)); wDestLen = reqLen+1; u_strToWCS(wDest,wDestLen,&reqLen,uSrc,-1,&status); + log_verbose("To %d*%d-byte wchar_ts\n", reqLen,sizeof(wchar_t)); } + + { + int j; + for(j=0;j>=0&&j