/external/icu4c/test/intltest/ |
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...] |
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...] |
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 | 168 errln("Failed: firstPostInc() failed"); 171 errln("Failed: getIndex()."); 174 errln("Failed: getLength()"); 178 errln("Failed: setToStart()."); 182 errln("Failed: setToEnd()."); 185 errln("Failed: startIndex()"); 189 errln("Failed: first32PostInc() failed"); 211 errln("Construction failed: startIndex is negative"); 213 errln("Construction failed: endIndex is greater than the text length"); 215 errln("Construction failed: index is invalid") [all...] |
ustrtest.cpp | 83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); 94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 99 errln("replace() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); 108 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); 113 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); 116 errln("length() failed: expected 70, got " + test1.length()); 118 errln("length() failed: expected 30, got " + test2.length()); 123 errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify(test3)); 126 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...] |
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 | 86 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 87 errln(UnicodeString(" IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 90 errln(UnicodeString("FAIL: IEEEremainder(") + x + ", " + y + ") is " + result + ", expected " + exp); 194 errln(UnicodeString("FAIL: got NaN as result without NaN as argument")); 196 errln(UnicodeString(" max(") + a + ", " + b + ") is " + result + ", expected " + exp); 198 errln(UnicodeString(" min(") + a + ", " + b + ") is " + result + ", expected " + exp); 202 errln(UnicodeString("FAIL: max(") + a + ", " + b + ") is " + result + ", expected " + exp); 204 errln(UnicodeString("FAIL: min(") + a + ", " + b + ") is " + result + ", expected " + exp); 246 errln("FAIL: isInfinite(+Infinity) returned FALSE, should be TRUE."); 250 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...] |
dadrfmt.cpp | 132 errln("case %d: No 'locale' line.", n); 137 errln("case %d: No 'zone' line.", n); 142 errln("case %d: No 'spec' line.", n); 147 errln("case %d: No 'date' line.", n); 152 errln("case %d: No 'str' line.", n); 166 errln("case %d: could not create SimpleDateFormat from pattern: %s", n, u_errorName(status)); 171 errln("case %d: could not parse spec as style fields: %s", n, u_errorName(status)); 176 errln("case %d: could not create SimpleDateFormat from styles.", n); 183 errln("case %d: could not create calendar from %s", n, calLoc); 205 errln("case %d: could not parse date as RELATIVE_ADD calendar fields: %s", n, u_errorName(status)) [all...] |
plurults.cpp | 108 errln("ERROR: clone plural rules test failed!"); 112 errln("ERROR: clone plural rules test failed!"); 118 errln("ERROR: clone plural rules test failed!"); 130 errln("ERROR: empty plural rules test failed! - exitting"); 144 errln("ERROR: simple plural rules failed! - exitting"); 172 errln("ERROR: complex plural rules failed! - exitting"); 177 errln("ERROR: complex plural rules failed! - exitting"); 195 errln("ERROR: plural rules for decimal fractions test failed!"); 203 errln("ERROR: complex plural rules failed! - exitting"); 212 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 | 91 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); 94 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); 96 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); 100 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); 102 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); 105 if (!(copy == *zone)) errln("FAIL: copy constructor or operator== failed"); 107 if (!(copy == *zoneclone)) errln("FAIL: assignment operator or operator== failed"); 123 errln("FAIL: t_timezone may be incorrect. It is not 28800"); 131 * We downgrade this from errln to infoln. When we see this message, 141 errln("FAIL: createDefault failed") [all...] |
tzrulets.cpp | 159 errln("FAIL: Couldn't create SimpleTimezone."); 180 errln("FAIL: couldn't add AnnualTimeZoneRule 1-1."); 189 errln("FAIL: couldn't add AnnualTimeZoneRule 1-2."); 193 errln("FAIL: couldn't complete RBTZ 1."); 203 errln("FAIL: couldn't add AnnualTimeZoneRule 2-1."); 210 errln("FAIL: couldn't add AnnualTimeZoneRule 2-2."); 214 errln("FAIL: couldn't complete RBTZ 2"); 224 errln("FAIL: couldn't add AnnualTimeZoneRule 3-1."); 231 errln("FAIL: couldn't add AnnualTimeZoneRule 3-2."); 235 errln("FAIL: couldn't complete RBTZ 3") [all...] |
thcoll.cpp | 78 errln("Error: could not construct Thai collator"); 125 errln("Error: could not construct Thai collator"); 172 errln((UnicodeString)"Fail: getCollationKey returned " + u_errorName(status)); 177 errln(msg); 188 errln((UnicodeString)"Too many failures; only the first " + 191 errln((UnicodeString)"Summary: " + failed + " of " + (riwords.getLineNumber() - 1) + 244 errln("Error: could not construct Thai collator"); 267 errln((UnicodeString)"Error: unknown operator " + tests[i+1]); 282 errln(UnicodeString("") + 291 errln((UnicodeString)"Fail: getCollationKey returned " + u_errorName(status)) [all...] |
dtptngts.cpp | 381 errln("ERROR: inconsistency is found in cloned object."); 384 errln("ERROR: inconsistency is found in cloned object."); 388 errln("ERROR: inconsistency is found in cloned object."); 424 errln("ERROR: Simple test in getBestPattern with Locale::getGermany())."); 430 errln("ERROR: Could not addPattern - d\'. von\' MMMM"); 440 errln(UnicodeString("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 454 errln("ERROR: Simple test uses full date format."); 455 errln(UnicodeString(" Got: ") + dateReturned + UnicodeString(" Expected: ") + expectedResult); 465 errln("ERROR: Simple test modify the timezone!"); 466 errln(UnicodeString(" Got: ")+ dateReturned + UnicodeString(" Expected: ") + expectedResult) [all...] |
nmfmapts.cpp | 34 errln("ERROR: Could not set default locale, test may not give correct results"); 47 errln("ERROR: Could not set default locale, test may not give correct results"); 108 errln("ERROR: == failed"); 140 errln("ERROR: format(Formattable [double]) failed"); 147 errln("ERROR: format(Formattable [long]) failed"); 163 errln("ERROR: Roundtrip failed (via parse()) for " + text); 169 errln("ERROR: Roundtrip failed (via parse()) for " + text); 176 errln("ERROR: parse() failed"); 179 errln("ERROR: Roundtrip failed (via parse()) for " + text); 199 errln("ERROR: setParseIntegerOnly() failed") [all...] |
rbbiapts.cpp | 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.")); 118 errln(UnicodeString("ERROR: iterator.next() failed after deleting copy.")) [all...] |