Lines Matching refs:log_err
54 log_err("sizeof(void*)=%d hasn't been tested before", (int)sizeof(void*)); in TestString()
62 log_err("%%d Got: %d, Expected: %d\n", *newValuePtr, *n); in TestString()
69 log_err("%%i Got: %i, Expected: %i\n", *newValuePtr, *n); in TestString()
76 log_err("%%o Got: %o, Expected: %o\n", *newValuePtr, *n); in TestString()
83 log_err("%%u Got: %u, Expected: %u\n", *newValuePtr, *n); in TestString()
90 log_err("%%x Got: %x, Expected: %x\n", *newValuePtr, *n); in TestString()
97 log_err("%%X Got: %X, Expected: %X\n", *newValuePtr, *n); in TestString()
104 log_err("%%f Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
111 log_err("%%e Got: %e, Expected: %e\n", *newDoubleValuePtr, myFloat); in TestString()
118 log_err("%%E Got: %E, Expected: %E\n", *newDoubleValuePtr, myFloat); in TestString()
125 log_err("%%g Got: %g, Expected: %g\n", *newDoubleValuePtr, myFloat); in TestString()
132 log_err("%%G Got: %G, Expected: %G\n", *newDoubleValuePtr, myFloat); in TestString()
139 log_err("%%p Got: %p, Expected: %p\n", ptr, origPtr); in TestString()
145 log_err("%%c Got: %c, Expected: A\n", *myString); in TestString()
151 log_err("%%C Got: %C, Expected: A\n", *myUString); in TestString()
157 log_err("%%s Got: %s, Expected: My-String\n", myString); in TestString()
160 log_err("String not terminated. Got %c\n", uStringBuf[20] ); in TestString()
165 log_err("%%s Got: %s, Expected: My-String\n", myString); in TestString()
172 log_err("%%S Got: %s, Expected: My String\n", myString); in TestString()
179 log_err("%%S Got: %s, Expected: (null)\n", myString); in TestString()
186 log_err("%%P Got: %P, Expected: %P\n", *newDoubleValuePtr, myFloat); in TestString()
193 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
199 log_err("%%V Got: %f, Expected: %f\n", *newDoubleValuePtr, myFloat); in TestString()
210 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
213 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
219 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
222 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
228 log_err("%%S Long strings differ. Expected: %s\n", longStr); in TestString()
234 log_err("%%S Long strings differ. Expected: %s\n", longStr + 10); in TestString()
237 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
244 log_err("%%S Long strings differ. Expected the first 10 characters of %s\n", longStr); in TestString()
260 log_err("u_fstropen failed to work\n"); in TestLocalizedString()
269 log_err("u_fprintf failed to work on an en string Got: %s\n", cBuffer); in TestLocalizedString()
272 log_err("u_fscanf failed to work on an en string Got: %d\n", numResult); in TestLocalizedString()
278 log_err("u_fgetlocale didn't return \"en\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
283 log_err("u_fgetlocale didn't return \"de\" Got: %d\n", u_fgetlocale(strFile)); in TestLocalizedString()
294 log_err("u_fprintf failed to work on a de string Got: %s\n", cBuffer); in TestLocalizedString()
297 log_err("u_fscanf failed to work on a de string Got: %d\n", numResult); in TestLocalizedString()
307 …log_err("u_fscanf failed to work on a default locale string Got: %d, Expected: 1234\n", numResult); in TestLocalizedString()
310 log_err("u_fstropen returned a UFILE* on a negative buffer size\n", numResult); in TestLocalizedString()
321 log_err("Unexpected formatting. size=%d expectedSize=%d cTestResult=%s expectedStr=%s\n",\
370 log_err("%" uFormat " Got: \"%s\", Expected: \"%s\"\n", compBuffer, buffer);\
373 log_err("%" uFormat " number printed Got: %d, Expected: %d\n", uNumPrinted, cNumPrinted);\
376 log_err("%" uFormat " too much stored\n");\
502 log_err("%s Got: \"%s\", Expected: \"%s\"\n", reorderFormat, compBuffer, buffer); in TestSprintfFormat()
526 log_err("%%x Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
533 log_err("%%X Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
540 log_err("%%o Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
548 log_err("%%d Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
555 log_err("%%i Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
562 log_err("%%f Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
583 log_err("%%g Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
590 log_err("%%G Got: \"%s\", Expected: \"%s\"\n", myString, testBuf); in TestStringCompatibility()
601 log_err("%%c Got: 0x%x, Expected: 0x%x\n", myString[0], testBuf[0]); in TestStringCompatibility()
626 log_err("%s Got: \"%s\", Expected: \"%s\"\n", format, compBuffer, buffer); in TestSScanSetFormat()
629 log_err("%s number scanned Got: %d, Expected: %d\n", format, uNumScanned, cNumScanned); in TestSScanSetFormat()
632 log_err("%s too much stored\n", format); in TestSScanSetFormat()
637 log_err("%s too much stored on a failure\n", format); in TestSScanSetFormat()
699 log_err("%s too much stored on a failure\n", format); in TestBadSScanfFormat()
726 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); in Test_u_vfprintf()
735 log_err("Got two different results for \"%s\" expected \"%s\"\n", format, expectedResult); in Test_u_vfprintf()
756 log_err("test 1: scanf did not return 0\n"); in TestCount()
759 log_err("test 1: scanf returned %hd instead of 3\n", i32); in TestCount()
762 log_err("test 2: scanf did not return 0\n"); in TestCount()
765 log_err("test 2: scanf returned %d instead of 4\n", i16); in TestCount()
768 log_err("test 3: scanf did not return 0\n"); in TestCount()
771 log_err("test 3: scanf did not return 10\n", i64); in TestCount()
775 log_err("scanf should return 2, but returned %d\n", actual_result); in TestCount()
778 log_err("scanf should return 0x78 for the character, but returned %X\n", character); in TestCount()
781 log_err("scanf should return 15 for the number, but returned %d\n", i32); in TestCount()
784 log_err("scanf should return 3 for actual_count, but returned %d\n", actual_count); in TestCount()