Lines Matching refs:log_err
51 log_err("Can't write test file.\n"); in TestFileFromICU()
68 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestFileFromICU()
94 log_err("Got feof while writing the file.\n"); in TestFileFromICU()
109 log_err("Can't read test file."); in TestFileFromICU()
114 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU()
119 log_err("u_fgetc 1 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
124 log_err("u_fgetc 2 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
129 log_err("u_fgetc 3 returned %X. Expected 'S'.", myString[0]); in TestFileFromICU()
136 …log_err("u_fgetcx returned \\u%04X\\u%04X\\u%04X. Expected 'Sin'.", myString[0], myString[1], mySt… in TestFileFromICU()
147 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestFileFromICU()
152 log_err("%%i Got: %i, Expected: %i\n", *newValuePtr, *n); in TestFileFromICU()
157 log_err("%%o Got: %o, Expected: %o\n", *newValuePtr, *n); in TestFileFromICU()
162 log_err("%%u Got: %u, Expected: %u\n", *newValuePtr, *n); in TestFileFromICU()
167 log_err("%%x Got: %x, Expected: %x\n", *newValuePtr, *n); in TestFileFromICU()
172 log_err("%%X Got: %X, Expected: %X\n", *newValuePtr, *n); in TestFileFromICU()
177 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
182 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
187 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
192 log_err("%%g Got: %g, Expected: %g\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
197 log_err("%%G Got: %G, Expected: %G\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
202 log_err("%%p Got: %p, Expected: %p\n", ptr, origPtr); in TestFileFromICU()
206 log_err("%%c Got: %c, Expected: A\n", *myString); in TestFileFromICU()
210 log_err("%%C Got: %C, Expected: A\n", *myUString); in TestFileFromICU()
214 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
218 log_err("%%s Got: %s, Expected: My String\n", myString); in TestFileFromICU()
223 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
228 log_err("%%S Got: %S, Expected: My String\n", myUString); in TestFileFromICU()
233 log_err("%%P Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
238 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestFileFromICU()
246 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
250 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
254 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
258 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
262 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
266 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
270 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
274 log_err("u_fgets got \"%s\" and it should have returned NULL\n", myString); in TestFileFromICU()
278 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
282 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
286 log_err("u_fgets did not return myUString\n"); in TestFileFromICU()
290 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
296 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
300 log_err("Got feof while reading the file and not at the end of the file.\n"); in TestFileFromICU()
305 log_err("u_fgets got \"%s\"\n", myString); in TestFileFromICU()
308 log_err("Did not get feof while reading the end of the file.\n"); in TestFileFromICU()
311 log_err("u_fscanf read data while reading the end of the file.\n"); in TestFileFromICU()
368 log_err("Can't write test file.\n"); in TestCodepageAndLocale()
374 log_err("Didn't get the proper default codepage. Got %s expected: %s\n", in TestCodepageAndLocale()
381 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
391 log_err("Didn't get the proper default codepage for \"es\". Got %s expected: iso-8859-1\n", in TestCodepageAndLocale()
398 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
408 log_err("Didn't get the proper default codepage for \"en\". Got %s expected: iso-8859-1\n", in TestCodepageAndLocale()
415 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
425 log_err("Didn't get the proper default codepage for \"en\". Got %s expected: iso-8859-1\n", in TestCodepageAndLocale()
432 log_err("Didn't get the proper default locale. Got %s expected: %s\n", in TestCodepageAndLocale()
450 log_err("Can't write test file.\n"); in TestfgetsBuffers()
456 log_err("u_fputc should return U_EOF for 0x110000.\n"); in TestfgetsBuffers()
459 log_err("u_fputc should return U_EOF for 0xFFFFFFFF.\n"); in TestfgetsBuffers()
474 log_err("The first character is wrong\n"); in TestfgetsBuffers()
477 log_err("The second character is wrong\n"); in TestfgetsBuffers()
480 log_err("Didn't get the buffer back\n"); in TestfgetsBuffers()
485 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
488 log_err("u_fgets wrote too much data\n"); in TestfgetsBuffers()
491 log_err("Did get expected string back\n"); in TestfgetsBuffers()
494 log_err("Got %s instead of UTF-16\n", u_fgetcodepage(myFile)); in TestfgetsBuffers()
516 log_err("Got %s instead of UTF-8\n", u_fgetcodepage(myFile)); in TestfgetsBuffers()
519 log_err("The first character is wrong\n"); in TestfgetsBuffers()
522 log_err("The second character is wrong\n"); in TestfgetsBuffers()
525 log_err("Didn't get the buffer back\n"); in TestfgetsBuffers()
530 …log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitio… in TestfgetsBuffers()
533 log_err("u_fgets wrote too much data\n"); in TestfgetsBuffers()
536 log_err("Did get expected string back\n"); in TestfgetsBuffers()
558 log_err("Didn't get the buffer back\n"); in TestfgetsBuffers()
563 log_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), 1); in TestfgetsBuffers()
566 log_err("Did get expected string back\n"); in TestfgetsBuffers()
569 log_err("u_fgets wrote too much data\n"); in TestfgetsBuffers()
591 log_err("u_file_read read too much or not enough data\n"); in TestFileReadBuffering()
608 log_err("Can't write test file.\n"); in TestfgetsLineCount()
637 log_err("Didn't get the charBuffer back\n"); in TestfgetsLineCount()
642 log_err("Didn't get the buffer back\n"); in TestfgetsLineCount()
646 log_err("buffers are different\n"); in TestfgetsLineCount()
649 log_err("u_fgets wrote too much\n"); in TestfgetsLineCount()
695 log_err("Can't write test file.\n"); in TestfgetsNewLineHandling()
716 log_err("buffers are different at index = %d\n", lineIdx); in TestfgetsNewLineHandling()
719 log_err("u_fgets wrote too much\n"); in TestfgetsNewLineHandling()
723 log_err("u_fgets read too much\n"); in TestfgetsNewLineHandling()
726 log_err("u_file_write wrote too much\n"); in TestfgetsNewLineHandling()
741 log_err("Can't write test file.\n"); in TestLineCount()
753 log_err("Can't read test file.\n"); in TestLineCount()
761 log_err("prefix buffer is different. prefix=\"%s\"\n", prefixLine); in TestLineCount()
775 log_err("buffers are different at count %d\n", repetitions); in TestLineCount()
778 log_err("u_fgets wrote too much\n"); in TestLineCount()
782 log_err("got wrong number of lines. got=%d expected=%d\n", repetitions, numRepititions); in TestLineCount()
805 log_err("Can't write test file.\n"); in TestFgetsLineBuffering()
818 log_err("Can't read test file.\n"); in TestFgetsLineBuffering()
825 log_err("Line is wrong length. Got %d. Expected %d.\n", in TestFgetsLineBuffering()
830 log_err("Too much data was written\n"); in TestFgetsLineBuffering()
849 log_err("Recieved a UFILE * with an invalid codepage parameter\n"); in TestCodepage()
855 log_err("Can't write test file for iso-8859-1.\n"); in TestCodepage()
859 log_err("Couldn't get ISO-8859-1 back as opened codepage\n"); in TestCodepage()
867 log_err("u_fsetcodepage didn't set the codepage\n"); in TestCodepage()
871 log_err("The test data was read and written differently!\n"); in TestCodepage()
874 …log_err("The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strAB… in TestCodepage()
881 log_err("u_fgetConverter returned %s\n", ucnv_getName(u_fgetConverter(myFile), &status)); in TestCodepage()
884 log_err("u_fsetcodepage didn't set the codepage to UTF-8\n"); in TestCodepage()
887 log_err("u_fgetConverter returned %s\n", ucnv_getName(u_fgetConverter(myFile), &status)); in TestCodepage()
891 log_err("The test data wasn't subsituted as expected\n"); in TestCodepage()
900 log_err("u_fsetcodepage set the codepage after reading a byte\n"); in TestCodepage()
904 log_err("u_fsetcodepage changed the codepages after writing data\n"); in TestCodepage()
907 …log_err("The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strAB… in TestCodepage()
912 log_err("The test data was read and written differently!\n"); in TestCodepage()
915 …log_err("The test data returned different lengths. Got: %d, Expected %d\n", retVal, u_strlen(strAB… in TestCodepage()
935 log_err("Can't write test file %s\n", STANDARD_TEST_FILE); in TestCodepageFlush()
945 log_err("Can't read test file."); in TestCodepageFlush()
953 log_err("Failed during read of test file."); in TestCodepageFlush()
967 log_err("Err: shift was unchanged\n"); in TestCodepageFlush()
969 log_err("Err: at end of string, we were still shifted out (SO, 0x0E).\n"); in TestCodepageFlush()
975 log_err("Expected 12 bytes, read %d\n", inLen); in TestCodepageFlush()
996 log_err("Can't write test file.\n"); in TestFilePrintCompatibility()
1001 log_err("Got %s instead of en_US_POSIX for locale\n", u_fgetlocale(myFile)); in TestFilePrintCompatibility()
1029 log_err("Can't read test file."); in TestFilePrintCompatibility()
1038 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1044 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1050 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1057 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1063 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1069 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1087 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1093 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", readBuf, testBuf); in TestFilePrintCompatibility()
1101 log_err("OS newline error\n"); in TestFilePrintCompatibility()
1107 log_err("ustdio newline error\n"); in TestFilePrintCompatibility()
1115 log_err("%%c Got: 0x%x, Expected: 0x%x\n", cVal, num); in TestFilePrintCompatibility()
1126 log_err("Can't write test file for %s.\n", uFormat);\
1141 log_err("%" uFormat " Got: \"%s\", Expected: \"%s\"\n", compBuffer, buffer);\
1144 log_err("%" uFormat " number printed Got: %d, Expected: %d\n", uNumPrinted, cNumPrinted);\
1147 log_err("%" uFormat " too much stored\n");\
1279 log_err("%%d %% d %%d Got: \"%s\", Expected: \"%s\"\n", compBuffer, buffer); in TestFprintfFormat()
1282 log_err("%%d %% d %%d number printed Got: %d, Expected: %d\n", uNumPrinted, cNumPrinted); in TestFprintfFormat()
1285 log_err("%%d %% d %%d too much stored\n"); in TestFprintfFormat()
1303 log_err("Can't write test file for %s.\n", format); in TestFScanSetFormat()
1321 log_err("%s Got: \"%s\", Expected: \"%s\"\n", format, compBuffer, buffer); in TestFScanSetFormat()
1324 log_err("%s number printed Got: %d, Expected: %d\n", format, uNumScanned, cNumScanned); in TestFScanSetFormat()
1327 log_err("%s too much stored\n", format); in TestFScanSetFormat()
1332 log_err("%s too much stored on a failure\n", format); in TestFScanSetFormat()
1390 log_err("Can't write test file for %s.\n", format); in TestBadFScanfFormat()
1403 log_err("%s too much stored on a failure\n", format); in TestBadFScanfFormat()
1425 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1439 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1445 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); in Test_u_vfprintf()
1452 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1466 log_err("Test file can't be opened\n"); in Test_u_vfprintf()
1472 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); in Test_u_vfprintf()
1495 log_err("Test file can't be opened\n"); in TestUnicodeFormat()
1503 log_err("Test file can't be opened\n"); in TestUnicodeFormat()
1509 log_err("u_fscanf_u doesn't work.\n"); in TestUnicodeFormat()
1527 log_err("Out of memory\n"); in TestFileWriteRetval()
1535 log_err("Test file can't be opened for write\n"); in TestFileWriteRetval()
1543 log_err("u_file_write returned incorrect number of characters written\n"); in TestFileWriteRetval()
1553 log_err("Test file can't be opened for read\n"); in TestFileWriteRetval()
1559 … log_err("u_fgetc returned unexpected character U+%04X expected U+%04X\n", gotChar, testChar); in TestFileWriteRetval()
1565 log_err("u_fgetc did not return expected EOF\n"); in TestFileWriteRetval()