/external/icu4c/test/intltest/ |
cntabcol.cpp | 32 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 41 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 45 errln("Error: expected %i, got %i\n", i, res); 59 errln("Error setting a non existing contraction error = %i (%s)\n", status, u_errorName(status)); 67 errln("changing a non-existing offset should have resulted in an error\n"); 82 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 91 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 95 errln("Error: expected %i, got %i\n", i, res); 112 errln("Error occurred at position %i, error = %i (%s)\n", i, status, u_errorName(status)); 118 errln("Error constructing table error = %i (%s)\n", status, u_errorName(status)) [all...] |
pptest.cpp | 42 errln(UnicodeString("FAIL: ") + msg + " failed, error " + u_errorName(status)); 56 errln("*** PP getIndex or constructor() result"); 65 errln("*** PP getIndex or constructor(int32_t) result"); 71 errln("*** PP getIndex or setIndex result"); 82 errln("*** PP not equals fails"); 87 errln(UnicodeString("*** PP equals fails (") + pp3.getIndex() + " != " + pp4.getIndex() + ")"); 95 errln("*** PP operator= operator== or operator != result"); 100 errln("ParsePosition.clone() failed"); 112 errln("*** FP constructor(int) or getField"); 119 errln("*** FP Constructor(FP&)") [all...] |
strtest.cpp | 36 errln("TestEndian: U_IS_BIG_ENDIAN needs to be fixed in platform.h"); 42 errln("TestSizeofWCharT: U_SIZEOF_WCHAR_T!=sizeof(wchar_t) - U_SIZEOF_WCHAR_T needs to be fixed in platform.h"); 45 errln("int64_t and uint64_t are undefined."); 48 errln("TestSizeofTypes: 8!=sizeof(int64_t) - int64_t needs to be fixed in platform.h"); 51 errln("TestSizeofTypes: 8!=sizeof(uint64_t) - uint64_t needs to be fixed in platform.h"); 55 errln("8!=sizeof(double) - putil.c code may not work"); 58 errln("4!=sizeof(int32_t)"); 61 errln("4!=sizeof(uint32_t)"); 64 errln("2!=sizeof(int16_t)"); 67 errln("2!=sizeof(uint16_t)") [all...] |
sdtfmtts.cpp | 32 errln("ERROR: Could not set default locale, test may not give correct results"); 67 errln("ERROR: Could not create SimpleDateFormat (pattern) - %s", u_errorName(status)); 73 errln("ERROR: Could not create SimpleDateFormat (pattern French)"); 79 errln("ERROR: Could not create DateFormatSymbols (French)"); 92 errln("ERROR: Could not create SimpleDateFormat (pattern, symbols)"); 99 errln("ERROR: Could not create SimpleDateFormat (pattern, override) - %s", u_errorName(status)); 105 errln("ERROR: Could not create SimpleDateFormat (pattern, override, locale) - %s", u_errorName(status)); 112 errln("ERROR: Should not have been able to create SimpleDateFormat (pattern, override, locale) with a bogus override"); 123 errln("ERROR: Copy constructor (or ==) failed"); 128 errln("ERROR: Assignment (or !=) failed") [all...] |
dcfmapts.cpp | 33 errln((UnicodeString)"ERROR: Could not set default locale, test may not give correct results"); 83 errln((UnicodeString)"ERROR: Could not create DecimalFormat (pattern)"); 90 errln((UnicodeString)"ERROR: Could not create DecimalFormatSymbols (French)"); 97 errln((UnicodeString)"ERROR: Could not create DecimalFormat (pattern, symbols*)"); 103 errln((UnicodeString)"ERROR: Could not create DecimalFormat (pattern, symbols)"); 113 errln((UnicodeString)"ERROR: Copy constructor or == failed"); 118 errln((UnicodeString)"ERROR: Assignment (or !=) failed"); 123 errln((UnicodeString)"ERROR: Clone() failed"); 148 errln((UnicodeString)"ERROR: format(Formattable [double]) failed"); 155 errln((UnicodeString)"ERROR: format(Formattable [long]) failed") [all...] |
itercoll.cpp | 101 errln("Couldn't create a RuleBasedCollator with a contracting sequence."); 118 errln("Couldn't create a RuleBasedCollator with an expanding sequence."); 135 errln("Couldn't create a RuleBasedCollator with both an expanding and a contracting sequence."); 151 errln("Couldn't create a collator"); 163 errln("Couldn't create Japanese collator\n"); 180 errln("Error: After setting offset to 0, we should be at the end " 185 errln("Error: After setting offset to end of the string, we should " 200 errln(msg1 + offset + msg2 + test1.length()); 210 errln("setOffset failed."); 241 errln("iter2->next() returned an error.") [all...] |
citrtest.cpp | 167 errln("Failed: firstPostInc() failed"); 170 errln("Failed: getIndex()."); 173 errln("Failed: getLength()"); 177 errln("Failed: setToStart()."); 181 errln("Failed: setToEnd()."); 184 errln("Failed: startIndex()"); 188 errln("Failed: first32PostInc() failed"); 210 errln("Construction failed: startIndex is negative"); 212 errln("Construction failed: endIndex is greater than the text length"); 214 errln("Construction failed: index is invalid") [all...] |
ustrtest.cpp | 86 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 90 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); 97 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 102 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 111 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); 116 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); 119 errln("length() failed: expected 70, got " + test1.length()); 121 errln("length() failed: expected 30, got " + test2.length()); 126 errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify(test3)); 129 errln("append or length failed for UChar32, expected 2, got " + test3.length()) [all...] |
itutil.cpp | 108 errln("ErrorCode did not initialize properly"); 113 errln("ErrorCode did not format error message string properly"); 117 errln("ErrorCode did not yield a writable reference"); 121 errln("ErrorCode did not yield a writable pointer"); 125 errln("ErrorCode.set() failed"); 130 errln("ErrorCode did not reset properly"); 159 errln("ErrorCode did not initialize properly"); 164 errln("ErrorCode.assertSuccess() called handleFailure() despite success"); 168 errln("ErrorCode did not yield a writable reference"); 172 errln("ErrorCode.assertSuccess() did not handleFailure()") [all...] |
tsdcfmsy.cpp | 52 errln("ERROR: English DecimalFormatSymbols equal to French"); 60 errln("ERROR: get/set ZeroDigit failed"); 66 errln("ERROR: get/set GroupingSeparator failed"); 72 errln("ERROR: get/set DecimalSeparator failed"); 78 errln("ERROR: get/set PerMill failed"); 84 errln("ERROR: get/set Percent failed"); 90 errln("ERROR: get/set Percent failed"); 96 errln("ERROR: get/set PatternSeparator failed"); 103 errln("ERROR: get/set Infinity failed"); 110 errln("ERROR: get/set NaN failed") [all...] |
trnserr.cpp | 76 errln("FAIL: Out of bounds check failed (1)."); 79 errln("FAIL: Transliterate fails and the target string was modified."); 83 errln("FAIL: Out of bounds check failed (2)."); 86 errln("FAIL: Transliterate fails and the target string was modified."); 92 errln("FAIL: Start offset is out of bounds, error not reported.\n"); 99 errln("FAIL: Limit offset is out of bounds, error not reported.\n"); 108 errln("FAIL: Test insertion with string: the transliteration position limit didn't change as expected."); 110 errln("FAIL: Error code wasn't set either."); 120 errln("FAIL: Test insertion with character: the transliteration position limit didn't change as expected."); 122 errln("FAIL: Error code wasn't set either.") [all...] |
dadrfmt.cpp | 130 errln("case %d: No 'locale' line.", n); 135 errln("case %d: No 'spec' line.", n); 140 errln("case %d: No 'date' line.", n); 145 errln("case %d: No 'str' line.", n); 159 errln("case %d: could not create SimpleDateFormat from pattern: %s", n, u_errorName(status)); 164 errln("case %d: could not parse spec as style fields: %s", n, u_errorName(status)); 169 errln("case %d: could not create SimpleDateFormat from styles.", n); 176 errln("case %d: could not create calendar from %s", n, calLoc); 191 errln("case %d: could not parse date as RELATIVE_ADD calendar fields: %s", n, u_errorName(status)); 207 errln("case %d: could not apply date as RELATIVE_ADD calendar fields: %s", n, u_errorName(status)) [all...] |
selfmts.cpp | 111 errln("\nERROR: Unexpected result - SelectFormat Unit Test failed to detect syntax error with pattern: "+checkSyntaxData[i]); 135 errln("ERROR: SelectFormat Unit Test constructor failed in unit tests.- exitting"); 148 errln("ERROR: SelectFormat Unit Test failed to apply pattern- "+patternTestData[i] ); 157 errln("ERROR: SelectFormat Unit test failed in format() with argument: "+ formatArgs[j] + " and error is " + u_errorName(status) ); 160 errln("ERROR: SelectFormat Unit test failed in format() with unexpected result\n with argument: "+ formatArgs[j] + "\n result obtained: " + result + "\n and expected is: " + expFormatResult[i][j] ); 190 errln("ERROR: SelectFormat Unit test failed in format() with keyWord and with an invalid keyword as : "+ 217 errln("ERROR: SelectFormat API test constructor with pattern and status failed! with %s\n", u_errorName(status[0])); 226 errln("ERROR: SelectFormat API test Failed in copy constructor or == operator!"); 236 errln("ERROR: SelectFormat API test clone test failed!"); 239 errln("ERROR: SelectFormat API test clone test failed with NULL!") [all...] |
dadrcal.cpp | 113 errln(caseString+": Unable to get param '"+param+"' " 120 errln(caseString+": Unable to instantiate calendar for " 130 errln(caseString+": Unable to get parameter '"+param+"' " 140 errln(caseString+": Failed to parse '"+param+"' parameter: " 150 errln(caseString+": Unable to get parameter '"+param+"' " 155 errln(caseString+": Failed to parse '"+param+"' parameter: " 166 errln(caseString+": Unable to get parameter '"+param+"' " 172 errln(caseString+": Failed to parse '"+param+"' parameter: " 182 errln(caseString+": Unable to get parameter '"+param+"' " 191 errln(caseString+": Failed to parse '"+param+"' parameter: [all...] |
tsputil.cpp | 87 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 88 errln(UnicodeString(" IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 91 errln(UnicodeString("FAIL: IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 195 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 197 errln(UnicodeString(" max(") + a + ", " + b + ") is " + result + ", expected " + exp); 199 errln(UnicodeString(" min(") + a + ", " + b + ") is " + result + ", expected " + exp); 203 errln(UnicodeString("FAIL: max(") + a + ", " + b + ") is " + result + ", expected " + exp); 205 errln(UnicodeString("FAIL: min(") + a + ", " + b + ") is " + result + ", expected " + exp); 247 errln("FAIL: isInfinite(+Infinity) returned FALSE, should be TRUE."); 251 errln("FAIL: isPositiveInfinity(+Infinity) returned FALSE, should be TRUE.") [all...] |
tstnrapi.cpp | 40 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()!=copy"); 44 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->hashCode()!=copy.hashCode()"); 51 errln("error in Normalizer(Normalizer(CharacterIterator)).clone()->next().hashCode()==copy.hashCode()"); 70 errln("error in Normalizer::(de)compose(): wrong result(s)"); 84 errln("error Normalizer::setText() failed: %s", u_errorName(errorCode)); 92 errln("error in Normalizer::setText() or Normalizer::getText()"); 101 errln("error in Normalizer::setMode() or Normalizer::getUMode()"); 116 errln("error in Normalizer::setText(UChar *, -1)"); 123 errln("error in Normalizer::setOption() or Normalizer::getOption()"); 130 errln("error in Normalizer(1000*U+0308).last()") [all...] |
srchtest.cpp | 61 errln("Collator creation failed with %s", u_errorName(status)); 265 errln("Error setting USEARCH_ELEMENT_COMPARISON attribute %s", u_errorName(status)); 271 errln("Error with the initialization of match start and length"); 281 errln("Text: %s", str); 283 errln("Pattern: %s", str); 284 errln("Error next match found at %d (len:%d); expected %d (len:%d)", 298 errln("Error getting next matched text"); 307 errln("Text: %s", str); 309 errln("Pattern: %s", str); 310 errln("Error next match found at %d (len:%d); expected <NO MATCH>", [all...] |
rbbiapts.cpp | 33 errln("Failure at file %s, line %d, error = %s", __FILE__, __LINE__, u_errorName(status));}} 36 errln("Test Failure at file %s, line %d: \"%s\" is false.\n", __FILE__, __LINE__, #expr);};} 66 errln((UnicodeString)"ERROR:1 RBBI's == and != operator failed."); 70 errln((UnicodeString)"ERROR:2 RBBI's == and != operator failed."); 88 errln((UnicodeString)"FAIL : in construction of default iterator"); 92 errln((UnicodeString)"ERROR: iterators should not compare =="); 96 errln((UnicodeString)"ERROR: iterators should compare =="); 104 errln(UnicodeString("ERROR: strings should not be equal before assignment.")); 108 errln(UnicodeString("ERROR: strings should be equal before assignment.")); 114 errln(UnicodeString("ERROR: iterators behaved differently after assignment.")) [all...] |
plurults.cpp | 108 errln("ERROR: clone plural rules test failed!"); 113 errln("ERROR: clone plural rules test failed!"); 119 errln("ERROR: clone plural rules test failed!"); 134 errln("ERROR: empty plural rules test failed! - exitting"); 151 errln("ERROR: simple plural rules failed! - exitting"); 184 errln("ERROR: complex plural rules failed! - exitting"); 194 errln("ERROR: complex plural rules failed! - exitting"); 218 errln("ERROR: plural rules for decimal fractions test failed!"); 233 errln("ERROR: complex plural rules failed! - exitting"); 243 errln("ERROR: getDynamicClassID() didn't return the expected value") [all...] |
rndmcoll.cpp | 76 errln("TestWbnf is incorrectly implemented.\nThis test should be modeled to use the existing test frame work for naming tests.\n"); 138 errln("This test needs to be fixed.\n"); 142 errln("The test code itself is wrong."); 164 errln( "Could not create Collator for the %d(th) generated rule.\n"
|
tztest.cpp | 84 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); 87 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); 89 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); 93 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); 95 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); 98 if (!(copy == *zone)) errln("FAIL: copy constructor or operator== failed"); 100 if (!(copy == *zoneclone)) errln("FAIL: assignment operator or operator== failed"); 116 errln("FAIL: t_timezone may be incorrect. It is not 28800"); 124 * We downgrade this from errln to infoln. When we see this message, 134 errln("FAIL: createDefault failed") [all...] |
tzrulets.cpp | 158 errln("FAIL: Couldn't create SimpleTimezone."); 179 errln("FAIL: couldn't add AnnualTimeZoneRule 1-1."); 188 errln("FAIL: couldn't add AnnualTimeZoneRule 1-2."); 192 errln("FAIL: couldn't complete RBTZ 1."); 202 errln("FAIL: couldn't add AnnualTimeZoneRule 2-1."); 209 errln("FAIL: couldn't add AnnualTimeZoneRule 2-2."); 213 errln("FAIL: couldn't complete RBTZ 2"); 223 errln("FAIL: couldn't add AnnualTimeZoneRule 3-1."); 230 errln("FAIL: couldn't add AnnualTimeZoneRule 3-2."); 234 errln("FAIL: couldn't complete RBTZ 3") [all...] |
caltest.cpp | 304 if (*zone != cal->getTimeZone()) errln("FAIL: Calendar::getTimeZone failed"); 312 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed"); 313 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed"); 317 U_FAILURE(status)) errln("FAIL: equals/before/after failed"); 329 U_FAILURE(status)) errln("FAIL: equals/before/after failed after setTime(+1000)"); 342 errln("FAIL: equals[%c]/before[%c]/after[%c] failed after roll 1 second [should be T/F/F]", 356 U_FAILURE(status)) errln("FAIL: equals/before/after failed after rollback to January"); 361 errln("FAIL: orphanTimeZone failed"); 368 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed"); 375 if (cal->getFirstDayOfWeek() != i) errln("FAIL: set/getFirstDayOfWeek failed") [all...] |
dtptngts.cpp | 333 errln("ERROR: inconsistency is found in cloned object."); 336 errln("ERROR: inconsistency is found in cloned object."); 340 errln("ERROR: inconsistency is found in cloned object."); 376 errln("ERROR: Simple test in getBestPattern with Locale::getGermany())."); 382 errln("ERROR: Could not addPattern - d\'. von\' MMMM"); 392 errln(UnicodeString("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 406 errln("ERROR: Simple test uses full date format."); 407 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 417 errln("ERROR: Simple test modify the timezone!"); 418 errln(UnicodeString(" Got: ")+ dateReturned + UnicodeString(" Expected: ") + expectedResult) [all...] |
ucaconf.cpp | 29 errln("ERROR - UCAConformanceTest: Unable to open UCA collator!"); 82 errln("Failure creating UCA rule-based collator: %s", u_errorName(status)); 187 errln("Error parsing line %ld (%s): %s\n", 204 errln("Compare result not symmetrical on line %i", line); 208 errln("Difference between ucol_strcoll and sortkey compare on line %i", line); 209 errln(" Previous data line %s", oldLineB); 210 errln(" Current data line %s", lineB); 214 errln("Line %i is not greater or equal than previous line", line); 215 errln(" Previous data line %s", oldLineB); 216 errln(" Current data line %s", lineB) [all...] |