/external/icu4c/test/intltest/ |
itrbbi.cpp | 25 if (exec) logln("TestSuite RuleBasedBreakIterator: "); 30 logln("RBBIAPITest--"); logln(""); 39 logln("RBBITest---"); logln("");
|
itmajor.cpp | 41 logln(#suite "---"); \ 52 logln("TestSuite Utilities---"); logln(); 61 logln("TestSuite Normalize---"); logln(); 71 logln("TestSuite Collator---"); logln(); 81 logln("TestSuite Regex---"); logln(); 91 logln("TestSuite Format---"); logln() [all...] |
itrbnfp.cpp | 29 logln(#test "---"); \ 30 logln((UnicodeString)""); \ 37 if (exec) logln("TestSuite RuleBasedNumberFormatParse"); 56 logln("RBNF Parse test starting"); 122 logln("rule[%d] \"%s\"", i, rule); 137 logln("perror line: %x offset: %x context: %s|%s", perr.line, perr.offset, perr.preContext, perr.postContext); 152 logln(us); 154 logln("error: could not format %g, returned status: %d", val, status); 165 logln(us); 167 logln("error: could not format %d, returned status: %d", val, status) [all...] |
ittrans.cpp | 31 logln(#test "---"); logln(); \ 39 if (exec) logln("TestSuite Transliterator");
|
pptest.cpp | 20 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 24 // if (exec) logln((UnicodeString)"TestSuite ParsePositionTest"); 54 logln("PP constructor() tested."); 63 logln("PP getIndex and constructor(int32_t) tested."); 69 logln("PP setIndex tested."); 80 logln("PP not equals tested."); 85 logln("PP equals tested."); 93 logln("PP operator= tested."); 110 logln("FP constructor(int) and getField tested.") [all...] |
dcfmapts.cpp | 23 if (exec) logln((UnicodeString)"TestSuite DecimalFormatAPI"); 27 logln((UnicodeString)"DecimalFormat API test---"); logln((UnicodeString)""); 40 logln((UnicodeString)"DecimalFormat Rounding test---"); 46 logln((UnicodeString)"DecimalFormat Rounding Increment test---"); 64 logln((UnicodeString)"Testing DecimalFormat constructors"); 103 logln((UnicodeString)"Testing clone(), assignment and equality operators"); 122 logln((UnicodeString)"Testing various format() methods"); 133 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res1); 136 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res2) [all...] |
dtfmapts.cpp | 26 if (exec) logln("TestSuite DateFormatAPI"); 30 logln("DateFormat API test---"); logln(""); 44 logln("TestEquals---"); logln(""); 51 logln("TestNameHiding---"); logln(""); 105 logln("Testing DateFormat constructors"); 119 logln("Testing equality operator"); 129 logln("Testing various format() methods") [all...] |
rndmcoll.cpp | 82 if (exec) logln("TestSuite RandomCollatorTest: "); 152 logln("\n-----------------------------------%d\n",i); 153 logln(UnicodeString(rule, strlen(rule))); 157 logln( "===========================================\n"); 159 logln("\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n");
|
tzbdtest.cpp | 19 if (exec) logln("TestSuite TestTimeZoneBoundary"); 24 logln("TestBoundaries---"); logln(""); 31 logln("TestNewRules---"); logln(""); 38 logln("TestStepwise---"); logln(""); 78 logln(UnicodeString("Error: ") + startMode + " not present in " + str); 92 logln("Date Before: " + showDate(min)); 93 logln("Date After: " + showDate(max)) [all...] |
nmfmapts.cpp | 25 if (exec) logln("TestSuite NumberFormatAPI"); 29 logln("NumberFormat API test---"); logln(""); 42 logln("NumberFormat Registration test---"); logln(""); 67 logln("Testing NumberFormat constructors"); 105 logln("Testing equality operator"); 115 logln("Testing various format() methods"); 126 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res1); 129 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res2) [all...] |
tsputil.cpp | 12 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 17 //if (exec) logln("TestSuite PUtilTest: "); 93 logln(UnicodeString("OK: IEEEremainder(") + x + ", " + y + ") is " + result); 209 logln(UnicodeString("OK: max(") + a + ", " + b + ") is " + result); 211 logln(UnicodeString("OK: min(") + a + ", " + b + ") is " + result); 222 logln("NaN tests may show that the expected NaN!=NaN etc. is not true on some"); 223 logln("platforms; however, ICU does not rely on them because it defines"); 224 logln("and uses uprv_isNaN(). Therefore, most failing NaN tests only report warnings."); 234 logln("End of NaN tests.") [all...] |
sdtfmtts.cpp | 23 if (exec) logln("TestSuite SimpleDateFormatAPI"); 27 logln("SimpleDateFormat API test---"); logln(""); 52 logln("Testing SimpleDateFormat constructors"); 118 logln("Testing clone(), assignment and equality operators"); 137 logln("Testing various format() methods"); 146 logln( (UnicodeString) "" + d + " formatted to " + res1); 153 logln((UnicodeString) "" + fD.getDate() + " formatted to " + res2); 157 logln("Testing parse()"); 163 logln(text + " parsed into " + result1) [all...] |
tmsgfmt.cpp | 118 logln(locale[i].getDisplayName(buffer)); 124 logln("Number format creation failed."); 134 logln(UnicodeString(" -> ") /* + << dec*/ + toString(result) + UnicodeString("[supposed output for result]")); 137 logln("Number format parse failed."); 156 logln(toAppendTo); 166 logln("The input pattern : " + pattern); 172 logln("The output pattern is : " + fmt->toPattern(result)); 291 logln(((UnicodeString)"MessageFormat for ") + testCases[i] + " creation failed.\n"); 309 logln("TestMessageFormat::PatternTest failed test #3"); 314 logln("TestMessageFormat::PatternTest failed #4.") [all...] |
canittst.cpp | 28 logln(#test "---"); \ 29 logln((UnicodeString)""); \ 84 logln("Testing U+%06X", i); 117 logln("Safe Start: " + ss.toPattern(true)); 134 logln("testing permutation"); 141 logln("testing samples"); 148 //logln("Results for: " + name.transliterate(testArray[i])); 159 //logln(++counter + ": " + hex.transliterate(result)); 160 //logln(" = " + name.transliterate(result)); 209 logln("Checked: " + message + getReadable(item)) [all...] |
astrotst.cpp | 23 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 30 if (exec) logln("TestSuite AstroTest"); 89 logln(""); 100 logln((UnicodeString)"Sun position is " + result.toString() + (UnicodeString)"; " /* + result.toHmsString()*/ + " Sun longitude is " + longitude ); 116 logln(""); 124 logln((UnicodeString)"Moon position is " + result.toString() + (UnicodeString)"; " /* + result->toHmsString()*/); 140 logln((UnicodeString)"result is " + result.toString() + (UnicodeString)"; " /* + result.toHmsString()*/ ); 168 logln("ecliptic: " + ecl.toString()); 179 //logln("astro: " + astro) [all...] |
icusvtst.cpp | 190 logln(message); 208 logln(temp); 225 logln(temp); 242 logln(temp); 259 logln(temp); 279 logln(temp); 292 logln(temp); 302 logln(message + " lhs: " + lhs + " rhs: " + rhs); 313 logln(message + *str); 685 logln(" " + *id + " --> " + *result) [all...] |
msfmrgts.cpp | 26 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 31 // if (exec) logln((UnicodeString)"TestSuite MessageFormatRegressionTest"); 108 logln("Formatted with one extra param : " + tempBuffer); 127 logln("Formatted with no params : " + tempBuffer); 133 logln("Formatted with extra params : " + tempBuffer); 185 logln("Apply with pattern : " + pattern1); 197 logln("Formatted with 7 : " + tempBuffer); 254 logln("Formatted with null : " + tempBuffer);*/ 255 logln("Apply with pattern : " + pattern2) [all...] |
caltest.cpp | 54 if (exec) logln("TestSuite TestCalendar"); 59 logln("TestDOW943---"); logln(""); 66 logln("TestClonesUnique908---"); logln(""); 73 logln("TestGregorianChange768---"); logln(""); 80 logln("TestDisambiguation765---"); logln(""); 87 logln("TestGMTvsLocal4064654---"); logln("") [all...] |
aliastst.cpp | 62 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); 65 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); 81 logln("Calendar(getLocale) old:"+UnicodeString(l1)+" new:"+UnicodeString(l2)); 94 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); 97 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); 114 logln("DateFormat(getLocale) old:%s new:%s",l1,l2); 128 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); 131 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); 148 logln("Collator(getLocale) old:%s new:%s", l1.getName(), l2.getName()); 159 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!") [all...] |
tsdate.cpp | 30 if (exec) logln("TestSuite DateFormat"); 34 logln(name); 43 logln(name); 50 logln(name); 57 logln(name); 144 logln(fTestName + " Pattern " + s->toPattern(str)); 212 logln((UnicodeString)"" + k + ": " + date[k] + " F> " + 254 logln((UnicodeString)"" + count + " available locales"); 264 logln(all); 276 logln("quick test: testing just 3 locales!") [all...] |
tsnmfmt.cpp | 39 if (exec) logln((UnicodeString)"TestSuite NumberFormat"); 44 logln(name); 57 logln(name); 64 logln(name); 80 logln((UnicodeString)name + " (" + localeName + ")"); 86 logln((UnicodeString)name + " (" + localeName + ")"); 92 logln((UnicodeString)name + " (" + localeName + ")"); 171 logln((UnicodeString)" Pattern " + s->toPattern(str)); 344 logln((UnicodeString)"" + k + ": " + number[k].getDouble() + " F> " + 390 logln((UnicodeString)"" + count + " available locales") [all...] |
dtfmrgts.cpp | 24 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 29 // if (exec) logln((UnicodeString)"TestSuite DateFormatRegressionTest"); 70 logln((UnicodeString) "today: " + today); 83 logln("pattern: " + pat); 87 logln("today: " + fmtd); 92 logln("today: " + todayS); 96 logln((UnicodeString)"today date: " + today); 98 logln("Error reparsing date: " + e.getMessage()); 105 logln("round trip: " + rt) [all...] |
itformat.cpp | 60 logln(#TestClass " test---"); \ 61 logln((UnicodeString)""); \ 83 if (exec) logln("TestSuite Format: ");
|
miscdtfm.cpp | 27 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 32 // if (exec) logln((UnicodeString)"TestSuite DateFormatMiscTests"); 118 logln("Format\tSource\tResult"); 119 logln("-------\t-------\t-------"); 128 logln(resultFormatter->format(formatter->parse(dstring[i], status), str, pos)); 137 logln(); 332 logln(UnicodeString("BC = ") + eras[0]); 338 logln(UnicodeString("AD = ") + eras[1]); 354 logln(UnicodeString("Long zone name = ") + zones[index][1]) [all...] |
dadrcal.cpp | 43 // logln("Begin "); 55 logln("---"); 56 logln(""); 198 logln(caseString+": "+caseContentsString); 231 logln("PASS: "+caseString+" SET SOURCE calendar match."); 249 logln(operation + " of "+ paramsSet.get((UCalendarDateFields)q) 267 logln(caseString + " SUCCESS: got=expected="+toDate); 268 logln("PASS: "+caseString+" matched!"); 279 logln("PASS: "+caseString+" matched!"); 315 logln("PASS: "+thisString+" SOURCE calendar match.") [all...] |