/external/icu4c/test/intltest/ |
H A D | 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("Erro [all...] |
H A D | 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("*** F [all...] |
H A D | 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(" [all...] |
H A D | 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("ERRO [all...] |
H A D | 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((UnicodeStrin [all...] |
H A D | 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("iter [all...] |
H A D | 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("Constructio [all...] |
H A D | itutil.cpp | 90 errln("ErrorCode did not initialize properly"); 95 errln("ErrorCode did not format error message string properly"); 99 errln("ErrorCode did not yield a writable reference"); 103 errln("ErrorCode did not yield a writable pointer"); 107 errln("ErrorCode.set() failed"); 112 errln("ErrorCode did not reset properly"); 141 errln("ErrorCode did not initialize properly"); 146 errln("ErrorCode.assertSuccess() called handleFailure() despite success"); 150 errln("ErrorCode did not yield a writable reference"); 154 errln("ErrorCod [all...] |
H A D | ustrtest.cpp | 81 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 85 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); 92 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 97 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 106 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); 111 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); 114 errln("length() failed: expected 70, got " + test1.length()); 116 errln("length() failed: expected 30, got " + test2.length()); 121 errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify(test3)); 124 errln("appen [all...] |
H A D | 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("FAI [all...] |
H A D | 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("cas [all...] |
H A D | selfmts.cpp | 125 errln("\nERROR: Unexpected result - SelectFormat Unit Test failed to detect syntax error with pattern: "+checkSyntaxData[i]+" and expected status="+ u_errorName(expErrorCodes[i]) + " and resulted status="+u_errorName(status)); 137 errln("ERROR: SelectFormat Unit Test constructor failed in unit tests.- exitting"); 150 errln("ERROR: SelectFormat Unit Test failed to apply pattern- "+patternTestData[i] ); 159 errln("ERROR: SelectFormat Unit test failed in format() with argument: "+ formatArgs[j] + " and error is " + u_errorName(status) ); 162 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] ); 189 errln("ERROR: SelectFormat Unit test failed in format() with keyWord and with an invalid keyword as : "+ keywords[i]); 215 errln("ERROR: SelectFormat API test constructor with pattern and status failed! with %s\n", u_errorName(status[0])); 224 errln("ERROR: SelectFormat API test Failed in copy constructor or == operator!"); 234 errln("ERROR: SelectFormat API test clone test failed!"); 237 errln("ERRO [all...] |
H A D | 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(caseStrin [all...] |
H A D | 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("FAI [all...] |
H A D | 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("erro [all...] |
H A D | 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("ERRO [all...] |
H A D | rbbiapts.cpp | 32 errln("Failure at file %s, line %d, error = %s", __FILE__, __LINE__, u_errorName(status));}} 35 errln("Test Failure at file %s, line %d", __FILE__, __LINE__);}} 65 errln((UnicodeString)"ERROR:1 RBBI's == and != operator failed."); 69 errln((UnicodeString)"ERROR:2 RBBI's == and != operator failed."); 87 errln((UnicodeString)"FAIL : in construction of default iterator"); 91 errln((UnicodeString)"ERROR: iterators should not compare =="); 95 errln((UnicodeString)"ERROR: iterators should compare =="); 103 errln(UnicodeString("ERROR: strings should not be equal before assignment.")); 107 errln(UnicodeString("ERROR: strings should be equal before assignment.")); 113 errln(UnicodeStrin [all...] |
H A D | srchtest.cpp | 61 errln("Collator creation failed with %s", u_errorName(status)); 264 errln("Error setting USEARCH_ELEMENT_COMPARISON attribute %s", u_errorName(status)); 270 errln("Error with the initialization of match start and length"); 279 errln("Text: %s", str); 296 errln("Error getting following matched text"); 305 errln("Text: %s", str); 307 errln("Pattern: %s", str); 308 errln("Error following match found at %d %d", 321 errln("Text: %s", str); 323 errln("Patter [all...] |
H A D | 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"
|
H A D | tmsgfmt.cpp | 130 errln("Err: Number Format "); 143 errln("Err: Number Format parse"); 161 errln("ChoiceFormat cmp in testBug1"); 176 errln("MessageFormat pattern creation failed."); 181 errln("MessageFormat::toPattern() failed."); 302 errln(UnicodeString("TestMessageFormat::PatternTest failed test #2, i = ") + i); 304 errln(((UnicodeString)" Orig: ") + testCases[i]); 305 errln(((UnicodeString)" Exp: ") + testResultPatterns[i]); 306 errln(((UnicodeString)" Got: ") + buffer); 320 errln("TestMessageForma [all...] |
H A D | 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("FAI [all...] |
H A D | dtptngts.cpp | 323 errln("ERROR: inconsistency is found in cloned object."); 326 errln("ERROR: inconsistency is found in cloned object."); 330 errln("ERROR: inconsistency is found in cloned object."); 366 errln("ERROR: Simple test in getBestPattern with Locale::getGermany())."); 372 errln("ERROR: Could not addPattern - d\'. von\' MMMM"); 382 errln(UnicodeString("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 396 errln("ERROR: Simple test uses full date format."); 397 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 407 errln("ERROR: Simple test modify the timezone!"); 408 errln(UnicodeStrin [all...] |
H A D | caltest.cpp | 289 if (*zone != cal->getTimeZone()) errln("FAIL: Calendar::getTimeZone failed"); 297 if (!(*cal == *cal2)) errln("FAIL: Calendar::operator== failed"); 298 if ((*cal != *cal2)) errln("FAIL: Calendar::operator!= failed"); 302 U_FAILURE(status)) errln("FAIL: equals/before/after failed"); 314 U_FAILURE(status)) errln("FAIL: equals/before/after failed after setTime(+1000)"); 327 errln("FAIL: equals[%c]/before[%c]/after[%c] failed after roll 1 second [should be T/F/F]", 341 U_FAILURE(status)) errln("FAIL: equals/before/after failed after rollback to January"); 346 errln("FAIL: orphanTimeZone failed"); 353 if (lenient != cal->isLenient()) errln("FAIL: setLenient/isLenient failed"); 360 if (cal->getFirstDayOfWeek() != i) errln("FAI [all...] |
H A D | 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(" Curren [all...] |
H A D | dcfmtest.cpp | 80 #define DF_ASSERT(expr) {if ((expr)==FALSE) {errln("DecimalFormatTest failure at line %d.\n", __LINE__);};} 86 #define DF_CHECK_STATUS_L(line) {if (U_FAILURE(status)) {errln( \ 90 errln("DecimalFormatTest failure at line %d, from %d.", __LINE__, (line)); return;}} 237 errln("File dcfmtest.txt, line %d: ICU Error \"%s\"", lineNum, u_errorName(status)); 290 errln("Badly formed test case at line %d.\n%s\n", 315 errln("file dcfmtest.txt, line %d: %s error creating the formatter.", 326 errln("file dcfmtest.txt, line %d: Expected parse position afeter parsing: %d. " 339 errln("file dcfmtest.tx, line %d: unrecongized expected type \"%s\"", 344 errln("file dcfmtest.txt, line %d: expectedParseType(%s) != actual parseType(%s)", 351 errln("Fil [all...] |