/macosx-10.10/ICU-531.30/icuSources/test/intltest/ |
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 | 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 | 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 | 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("Constructio [all...] |
H A D | 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(UnicodeString("length() failed: expected 70, got ") + test1.length()); 118 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); 123 errln((UnicodeString)"append failed for UChar32, expected \"\\\\ud841\\\\udc02\", got " + prettify(test3)); 126 errln(UnicodeStrin [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 | 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("ERRO [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."); 226 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 | 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("FAI [all...] |
H A D | tsdcfmsy.cpp | 48 errln("ERROR: English DecimalFormatSymbols equal to French"); 56 errln("ERROR: get/set ZeroDigit failed"); 62 errln("ERROR: get/set GroupingSeparator failed"); 68 errln("ERROR: get/set DecimalSeparator failed"); 74 errln("ERROR: get/set PerMill failed"); 80 errln("ERROR: get/set Percent failed"); 86 errln("ERROR: get/set Percent failed"); 92 errln("ERROR: get/set PatternSeparator failed"); 99 errln("ERROR: get/set Infinity failed"); 106 errln("ERRO [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 | 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("Erro [all...] |
H A D | dadrfmt.cpp | 133 errln("case %d: No 'locale' line.", n); 138 errln("case %d: No 'zone' line.", n); 143 errln("case %d: No 'spec' line.", n); 148 errln("case %d: No 'date' line.", n); 153 errln("case %d: No 'str' line.", n); 167 errln("case %d: could not create SimpleDateFormat from pattern: %s", n, u_errorName(status)); 172 errln("case %d: could not parse spec as style fields: %s", n, u_errorName(status)); 177 errln("case %d: could not create SimpleDateFormat from styles.", n); 184 errln("case %d: could not create calendar from %s", n, calLoc); 206 errln("cas [all...] |
H A D | tzrulets.cpp | 157 errln("FAIL: Couldn't create SimpleTimezone."); 178 errln("FAIL: couldn't add AnnualTimeZoneRule 1-1."); 187 errln("FAIL: couldn't add AnnualTimeZoneRule 1-2."); 191 errln("FAIL: couldn't complete RBTZ 1."); 201 errln("FAIL: couldn't add AnnualTimeZoneRule 2-1."); 208 errln("FAIL: couldn't add AnnualTimeZoneRule 2-2."); 212 errln("FAIL: couldn't complete RBTZ 2"); 222 errln("FAIL: couldn't add AnnualTimeZoneRule 3-1."); 229 errln("FAIL: couldn't add AnnualTimeZoneRule 3-2."); 233 errln("FAI [all...] |
H A D | tztest.cpp | 94 if (zone->useDaylightTime()) errln("FAIL: useDaylightTime should return FALSE"); 97 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); 99 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); 103 if (!(*zoneclone == *zone)) errln("FAIL: clone or operator== failed"); 105 if (!(*zoneclone != *zone)) errln("FAIL: clone or operator!= failed"); 108 if (!(copy == *zone)) errln("FAIL: copy constructor or operator== failed"); 110 if (!(copy == *zoneclone)) errln("FAIL: assignment operator or operator== failed"); 119 errln("FAIL: createDefault failed"); 134 * We downgrade this from errln to infoln. When we see this message, 145 errln((UnicodeStrin [all...] |
H A D | thcoll.cpp | 79 errln("Error: could not construct Thai collator"); 126 errln("Error: could not construct Thai collator"); 173 errln((UnicodeString)"Fail: getCollationKey returned " + u_errorName(status)); 178 errln(msg); 189 errln((UnicodeString)"Too many failures; only the first " + 192 errln((UnicodeString)"Summary: " + failed + " of " + (riwords.getLineNumber() - 1) + 245 errln("Error: could not construct Thai collator"); 268 errln((UnicodeString)"Error: unknown operator " + tests[i+1]); 283 errln(UnicodeString("") + 292 errln((UnicodeStrin [all...] |
H A D | tsdtfmsy.cpp | 135 errln("ERROR: Mismatch example: expect prefix \"" + prefixArray[i] + "\" of base \"" + baseArray[i] + "\"."); 156 errln("ERROR: English format short weekday names don't match prefixes of format abbreviated names"); 159 errln("ERROR: English standalone short weekday names don't match prefixes of format abbreviated names"); 193 errln("ERROR: English DateFormatSymbols equal to French"); 201 errln("ERROR: 0 english eras.. exiting..\n"); 207 errln("ERROR: 0 english eraNames\n"); 210 errln("ERROR: english eraNames[0] not longer than eras[0]\n"); 215 errln("ERROR: 0 english narrowEras\n"); 218 errln("ERROR: english narrowEras[0] not shorter than eras[0]\n"); 223 errln("ERRO [all...] |
H A D | 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("ERRO [all...] |
H A D | rbbiapts.cpp | 39 errln("Test Failure at file %s, line %d: \"%s\" is false.\n", __FILE__, __LINE__, #expr);};} 69 errln((UnicodeString)"ERROR:1 RBBI's == and != operator failed."); 73 errln((UnicodeString)"ERROR:2 RBBI's == and != operator failed."); 91 errln((UnicodeString)"FAIL : in construction of default iterator"); 95 errln((UnicodeString)"ERROR: iterators should not compare =="); 99 errln((UnicodeString)"ERROR: iterators should compare =="); 107 errln(UnicodeString("ERROR: strings should not be equal before assignment.")); 111 errln(UnicodeString("ERROR: strings should be equal before assignment.")); 117 errln(UnicodeString("ERROR: iterators behaved differently after assignment.")); 121 errln(UnicodeStrin [all...] |
H A D | jamotest.cpp | 78 errln("FAIL: createInverse() returned 0"); 172 errln("FAIL: createInstance failed"); 188 errln("FAIL: createInstance failed"); 196 errln("FAIL: createInstance failed"); 204 errln("FAIL: createInstance failed"); 212 errln("FAIL: createInstance failed"); 220 errln("FAIL: createInstance failed"); 228 errln("FAIL: createInstance failed"); 385 errln("FAIL: createInverse returned NULL"); 427 errln(prettif [all...] |
H A D | itutil.cpp | 135 errln("ErrorCode did not initialize properly"); 140 errln("ErrorCode did not format error message string properly"); 144 errln("ErrorCode did not yield a writable reference"); 148 errln("ErrorCode did not yield a writable pointer"); 152 errln("ErrorCode.set() failed"); 157 errln("ErrorCode did not reset properly"); 186 errln("ErrorCode did not initialize properly"); 191 errln("ErrorCode.assertSuccess() called handleFailure() despite success"); 195 errln("ErrorCode did not yield a writable reference"); 199 errln("ErrorCod [all...] |
H A D | strcase.cpp | 79 errln("1. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 85 errln("2. toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 95 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 101 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 108 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test3 + "\"."); 115 errln("toLower failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 122 errln("toUpper failed: expected \"" + expectedResult + "\", got \"" + test4 + "\"."); 147 errln("error in toLower(root locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerRoot, (int32_t)(sizeof(lowerRoot)/U_SIZEOF_UCHAR)) + "\""); 156 errln("error in toLower(turkish locale)=\"" + s + "\" expected \"" + UnicodeString(FALSE, lowerTurkish, (int32_t)(sizeof(lowerTurkish)/U_SIZEOF_UCHAR)) + "\""); 165 errln("erro [all...] |
H A D | tmsgfmt.cpp | 137 errln("Err: Number Format "); 150 errln("Err: Number Format parse"); 168 errln("ChoiceFormat cmp in testBug1"); 188 errln("MessageFormat::toPattern() failed."); 312 errln(UnicodeString("TestMessageFormat::PatternTest failed test #2, i = ") + i); 314 errln(((UnicodeString)" Orig: ") + testCases[i]); 315 errln(((UnicodeString)" Exp: ") + testCases[i]); 316 errln(((UnicodeString)" Got: ") + buffer); 330 errln("TestMessageFormat::PatternTest failed test #4"); 348 errln("MessageForma [all...] |
H A D | dtifmtts.cpp | 150 errln("Failure encountered: %s", u_errorName(status)); 157 errln("Failure encountered: %s", u_errorName(status)); 165 errln("Failure encountered: %s", u_errorName(status)); 170 errln("Failure encountered: %s", u_errorName(status)); 176 errln("Failure encountered: %s", u_errorName(status)); 181 errln("Failure encountered: %s", u_errorName(status)); 188 errln("Failure encountered: %s", u_errorName(status)); 192 errln("DateIntervalFormat.setIntervalInfo should have no side effects."); 235 errln("ERROR: getDynamicClassID() didn't return the expected value"); 343 errln("ERRO [all...] |