Index: source/test/cintltst/nucnvtst.c |
diff --git a/source/test/cintltst/nucnvtst.c b/source/test/cintltst/nucnvtst.c |
index 5398cdeda68de0eb16987ad3484c4850b8b0b474..3fac61854fc71640a1f334274f19aec179fd4f19 100644 |
--- a/source/test/cintltst/nucnvtst.c |
+++ b/source/test/cintltst/nucnvtst.c |
@@ -1,11 +1,11 @@ |
/******************************************************************** |
* COPYRIGHT: |
- * Copyright (c) 1997-2014, International Business Machines Corporation and |
+ * Copyright (c) 1997-2015, International Business Machines Corporation and |
* others. All Rights Reserved. |
********************************************************************/ |
/******************************************************************************* |
* |
-* File CCONVTST.C |
+* File nucnvtst.c |
* |
* Modification History: |
* Name Description |
@@ -1828,7 +1828,7 @@ static void TestUTF7() { |
UErrorCode errorCode=U_ZERO_ERROR; |
UConverter *cnv=ucnv_open("UTF-7", &errorCode); |
if(U_FAILURE(errorCode)) { |
- log_err("Unable to open a UTF-7 converter: %s\n", u_errorName(errorCode)); /* sholdn't be a data err */ |
+ log_data_err("Unable to open a UTF-7 converter: %s\n", u_errorName(errorCode)); |
return; |
} |
TestNextUChar(cnv, source, limit, results, "UTF-7"); |
@@ -1871,7 +1871,7 @@ static void TestIMAP() { |
UErrorCode errorCode=U_ZERO_ERROR; |
UConverter *cnv=ucnv_open("IMAP-mailbox-name", &errorCode); |
if(U_FAILURE(errorCode)) { |
- log_err("Unable to open a IMAP-mailbox-name converter: %s\n", u_errorName(errorCode)); /* sholdn't be a data err */ |
+ log_data_err("Unable to open a IMAP-mailbox-name converter: %s\n", u_errorName(errorCode)); |
return; |
} |
TestNextUChar(cnv, source, limit, results, "IMAP-mailbox-name"); |
@@ -2004,7 +2004,7 @@ static void TestCESU8() { |
UErrorCode errorCode=U_ZERO_ERROR; |
UConverter *cnv=ucnv_open("CESU-8", &errorCode); |
if(U_FAILURE(errorCode)) { |
- log_err("Unable to open a CESU-8 converter: %s\n", u_errorName(errorCode)); |
+ log_data_err("Unable to open a CESU-8 converter: %s\n", u_errorName(errorCode)); |
return; |
} |
TestNextUChar(cnv, source, limit, results, "CESU-8"); |
@@ -2224,7 +2224,7 @@ static void TestUTF32() { |
UErrorCode errorCode=U_ZERO_ERROR; |
UConverter *cnv=ucnv_open("UTF-32", &errorCode); |
if(U_FAILURE(errorCode)) { |
- log_err("Unable to open a UTF-32 converter: %s\n", u_errorName(errorCode)); |
+ log_data_err("Unable to open a UTF-32 converter: %s\n", u_errorName(errorCode)); |
return; |
} |
@@ -2300,7 +2300,7 @@ TestUTF32BE() { |
UErrorCode errorCode=U_ZERO_ERROR; |
UConverter *cnv=ucnv_open("UTF-32BE", &errorCode); |
if(U_FAILURE(errorCode)) { |
- log_err("Unable to open a UTF-32BE converter: %s\n", u_errorName(errorCode)); |
+ log_data_err("Unable to open a UTF-32BE converter: %s\n", u_errorName(errorCode)); |
return; |
} |
TestNextUChar(cnv, source, limit, results, "UTF-32BE"); |
@@ -2371,7 +2371,7 @@ TestUTF32LE() { |
UErrorCode errorCode=U_ZERO_ERROR; |
UConverter *cnv=ucnv_open("UTF-32LE", &errorCode); |
if(U_FAILURE(errorCode)) { |
- log_err("Unable to open a UTF-32LE converter: %s\n", u_errorName(errorCode)); |
+ log_data_err("Unable to open a UTF-32LE converter: %s\n", u_errorName(errorCode)); |
return; |
} |
TestNextUChar(cnv, source, limit, results, "UTF-32LE"); |
@@ -5537,7 +5537,7 @@ static void TestJB5275(){ |
const UChar* exp = expected; |
ucnv_toUnicode(conv, &target, targetLimit, &source, sourceLimit, NULL, TRUE, &status); |
if(U_FAILURE(status)){ |
- log_err("conversion failed: %s \n", u_errorName(status)); |
+ log_data_err("conversion failed: %s \n", u_errorName(status)); |
} |
targetLimit = target; |
target = dest; |