Lines Matching refs:log_err
64 log_err("Can't %s test file.\n", description); in TestFileFromICU()
82 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestFileFromICU()
108 log_err("Got feof while writing the file.\n"); in TestFileFromICU()
123 log_err("Can't read test file."); in TestFileFromICU()
128 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU()
133 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
138 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
143 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
150 …log_err("u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], mySt… in TestFileFromICU()
161 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestFileFromICU()
166 log_err("%%i Got: %i, Expected: %i\n", *newValuePtr, *n); in TestFileFromICU()
171 log_err("%%o Got: %o, Expected: %o\n", *newValuePtr, *n); in TestFileFromICU()
176 log_err("%%u Got: %u, Expected: %u\n", *newValuePtr, *n); in TestFileFromICU()
181 log_err("%%x Got: %x, Expected: %x\n", *newValuePtr, *n); in TestFileFromICU()
186 log_err("%%X Got: %X, Expected: %X\n", *newValuePtr, *n); in TestFileFromICU()
191 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
196 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
201 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
206 log_err("%%g Got: %g, Expected: %g\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
211 log_err("%%G Got: %G, Expected: %G\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
216 log_err("%%p Got: %p, Expected: %p\n", ptr, origPtr); in TestFileFromICU()
220 log_err("%%c Got: %c, Expected: A\n", *myString); in TestFileFromICU()
224 log_err("%%C Got: %C, Expected: A\n", *myUString); in TestFileFromICU()
228 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
232 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
237 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
242 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
247 log_err("%%P Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
252 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
260 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
264 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
268 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
272 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
276 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
280 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
284 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
288 log_err("u_fgets got \"%s\" and it should have returned NULL\n", myString); in TestFileFromICU()
292 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
296 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
300 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
304 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
310 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
314 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU()
319 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
322 log_err("Did not get feof while reading the end of the file.\n"); in TestFileFromICU()
325 log_err("u_fscanf read data while reading the end of the file.\n"); in TestFileFromICU()
396 log_err("Can't write test file.\n"); in TestCodepageAndLocale()
402 log_err("Didn't get the proper default codepage. Got %s expected: %s\n", in TestCodepageAndLocale()
409 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
419 log_err("Didn't get the proper default codepage for \"es\". Got %s expected: iso-8859-1\n", in TestCodepageAndLocale()
426 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
436 log_err("Didn't get the proper default codepage for \"en\". Got %s expected: iso-8859-1\n", in TestCodepageAndLocale()
443 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
453 log_err("Didn't get the proper default codepage for \"en\". Got %s expected: iso-8859-1\n", in TestCodepageAndLocale()
460 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
478 log_err("Can't write test file.\n"); in TestfgetsBuffers()
484 log_err("u_fputc should return U_EOF for 0x110000.\n"); in TestfgetsBuffers()
487 log_err("u_fputc should return U_EOF for 0xFFFFFFFF.\n"); in TestfgetsBuffers()
502 log_err("The first character is wrong\n"); in TestfgetsBuffers()
505 log_err("The second character is wrong\n"); in TestfgetsBuffers()
508 log_err("Didn't get the buffer back\n"); in TestfgetsBuffers()
513 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
516 log_err("u_fgets wrote too much data\n"); in TestfgetsBuffers()
519 log_err("Did get expected string back\n"); in TestfgetsBuffers()
522 log_err("Got %s instead of UTF-16\n", u_fgetcodepage(myFile)); in TestfgetsBuffers()
544 log_err("Got %s instead of UTF-8\n", u_fgetcodepage(myFile)); in TestfgetsBuffers()
547 log_err("The first character is wrong\n"); in TestfgetsBuffers()
550 log_err("The second character is wrong\n"); in TestfgetsBuffers()
553 log_err("Didn't get the buffer back\n"); in TestfgetsBuffers()
558 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
561 log_err("u_fgets wrote too much data\n"); in TestfgetsBuffers()
564 log_err("Did get expected string back\n"); in TestfgetsBuffers()
586 log_err("Didn't get the buffer back\n"); in TestfgetsBuffers()
591 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1); in TestfgetsBuffers()
594 log_err("Did get expected string back\n"); in TestfgetsBuffers()
597 log_err("u_fgets wrote too much data\n"); in TestfgetsBuffers()
619 log_err("u_file_read read too much or not enough data\n"); in TestFileReadBuffering()
636 log_err("Can't write test file.\n"); in TestfgetsLineCount()
665 log_err("Didn't get the charBuffer back\n"); in TestfgetsLineCount()
670 log_err("Didn't get the buffer back\n"); in TestfgetsLineCount()
674 log_err("buffers are different\n"); in TestfgetsLineCount()
677 log_err("u_fgets wrote too much\n"); in TestfgetsLineCount()
723 log_err("Can't write test file.\n"); in TestfgetsNewLineHandling()
744 log_err("buffers are different at index = %d\n", lineIdx); in TestfgetsNewLineHandling()
747 log_err("u_fgets wrote too much\n"); in TestfgetsNewLineHandling()
751 log_err("u_fgets read too much\n"); in TestfgetsNewLineHandling()
754 log_err("u_file_write wrote too much\n"); in TestfgetsNewLineHandling()
769 log_err("Can't write test file.\n"); in TestLineCount()
781 log_err("Can't read test file.\n"); in TestLineCount()
789 log_err("prefix buffer is different. prefix=\"%s\"\n", prefixLine); in TestLineCount()
803 log_err("buffers are different at count %d\n", repetitions); in TestLineCount()
806 log_err("u_fgets wrote too much\n"); in TestLineCount()
810 log_err("got wrong number of lines. got=%d expected=%d\n", repetitions, numRepititions); in TestLineCount()
833 log_err("Can't write test file.\n"); in TestFgetsLineBuffering()
846 log_err("Can't read test file.\n"); in TestFgetsLineBuffering()
853 log_err("Line is wrong length. Got %d. Expected %d.\n", in TestFgetsLineBuffering()
858 log_err("Too much data was written\n"); in TestFgetsLineBuffering()
877 log_err("Recieved a UFILE * with an invalid codepage parameter\n"); in TestCodepage()
883 log_err("Can't write test file for iso-8859-1.\n"); in TestCodepage()
887 log_err("Couldn't get ISO-8859-1 back as opened codepage\n"); in TestCodepage()
895 log_err("u_fsetcodepage didn't set the codepage\n"); in TestCodepage()
899 log_err("The test data was read and written differently!\n"); in TestCodepage()
902 …log_err("The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strAB… in TestCodepage()
909 log_err("u_fgetConverter returned %s\n", ucnv_getName(u_fgetConverter(myFile), &status)); in TestCodepage()
912 log_err("u_fsetcodepage didn't set the codepage to UTF-8\n"); in TestCodepage()
915 log_err("u_fgetConverter returned %s\n", ucnv_getName(u_fgetConverter(myFile), &status)); in TestCodepage()
919 log_err("The test data wasn't subsituted as expected\n"); in TestCodepage()
928 log_err("u_fsetcodepage set the codepage after reading a byte\n"); in TestCodepage()
932 log_err("u_fsetcodepage changed the codepages after writing data\n"); in TestCodepage()
935 …log_err("The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strAB… in TestCodepage()
940 log_err("The test data was read and written differently!\n"); in TestCodepage()
943 …log_err("The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strAB… in TestCodepage()
963 log_err("Can't write test file %s\n", STANDARD_TEST_FILE); in TestCodepageFlush()
973 log_err("Can't read test file."); in TestCodepageFlush()
981 log_err("Failed during read of test file."); in TestCodepageFlush()
995 log_err("Err: shift was unchanged\n"); in TestCodepageFlush()
997 log_err("Err: at end of string, we were still shifted out (SO, 0x0E).\n"); in TestCodepageFlush()
1003 log_err("Expected 12 bytes, read %d\n", inLen); in TestCodepageFlush()
1024 log_err("Can't write test file.\n"); in TestFilePrintCompatibility()
1029 log_err("Got %s instead of en_US_POSIX for locale\n", u_fgetlocale(myFile)); in TestFilePrintCompatibility()
1057 log_err("Can't read test file."); in TestFilePrintCompatibility()
1066 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1072 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1078 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1085 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1091 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1097 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1115 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1121 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1129 log_err("OS newline error\n"); in TestFilePrintCompatibility()
1135 log_err("ustdio newline error\n"); in TestFilePrintCompatibility()
1143 log_err("%%c Got: 0x%x, Expected: 0x%x\n", cVal, num); in TestFilePrintCompatibility()
1154 log_err("Can't write test file for %s.\n", uFormat);\
1169 log_err("%" uFormat " Got: \"%s\", Expected: \"%s\"\n", compBuffer, buffer);\
1172 log_err("%" uFormat " number printed Got: %d, Expected: %d\n", uNumPrinted, cNumPrinted);\
1175 log_err("%" uFormat " too much stored\n");\
1308 log_err("%%d %% d %%d Got: \"%s\", Expected: \"%s\"\n", compBuffer, buffer); in TestFprintfFormat()
1311 log_err("%%d %% d %%d number printed Got: %d, Expected: %d\n", uNumPrinted, cNumPrinted); in TestFprintfFormat()
1314 log_err("%%d %% d %%d too much stored\n"); in TestFprintfFormat()
1332 log_err("Can't write test file for %s.\n", format); in TestFScanSetFormat()
1350 log_err("%s Got: \"%s\", Expected: \"%s\"\n", format, compBuffer, buffer); in TestFScanSetFormat()
1353 log_err("%s number printed Got: %d, Expected: %d\n", format, uNumScanned, cNumScanned); in TestFScanSetFormat()
1356 log_err("%s too much stored\n", format); in TestFScanSetFormat()
1361 log_err("%s too much stored on a failure\n", format); in TestFScanSetFormat()
1420 log_err("Can't write test file for %s.\n", format); in TestBadFScanfFormat()
1433 log_err("%s too much stored on a failure\n", format); in TestBadFScanfFormat()
1455 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1469 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1475 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); in Test_u_vfprintf()
1482 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1496 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1502 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); in Test_u_vfprintf()
1525 log_err("Test file can't be opened\n"); in TestUnicodeFormat()
1533 log_err("Test file can't be opened\n"); in TestUnicodeFormat()
1539 log_err("u_fscanf_u doesn't work.\n"); in TestUnicodeFormat()
1557 log_err("Out of memory\n"); in TestFileWriteRetval()
1565 log_err("Test file can't be opened for write\n"); in TestFileWriteRetval()
1573 log_err("u_file_write returned incorrect number of characters written\n"); in TestFileWriteRetval()
1583 log_err("Test file can't be opened for read\n"); in TestFileWriteRetval()
1589 … log_err("u_fgetc returned unexpected character U+%04X expected U+%04X\n", gotChar, testChar); in TestFileWriteRetval()
1595 log_err("u_fgetc did not return expected EOF\n"); in TestFileWriteRetval()