/external/icu4c/test/intltest/ |
itmajor.cpp | 44 logln(#suite "---"); \ 55 logln("TestSuite Utilities---"); logln(); 64 logln("TestSuite Normalize---"); logln(); 74 logln("TestSuite Collator---"); logln(); 84 logln("TestSuite Regex---"); logln(); 94 logln("TestSuite Format---"); logln() [all...] |
itrbbi.cpp | 27 logln(#classname "---"); \ 28 logln(""); \ 37 if (exec) logln("TestSuite RuleBasedBreakIterator: ");
|
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...] |
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...] |
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...] |
dtfmapts.cpp | 26 if (exec) logln("TestSuite DateFormatAPI"); 30 logln("DateFormat API test---"); logln(""); 44 logln("TestEquals---"); logln(""); 51 logln("TestNameHiding---"); logln(""); 58 logln("TestCoverage---"); logln(""); 135 logln("Testing DateFormat constructors") [all...] |
itrbnfp.cpp | 29 logln(#test "---"); \ 30 logln(); \ 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...] |
sdtfmtts.cpp | 23 if (exec) logln("TestSuite SimpleDateFormatAPI"); 27 logln("SimpleDateFormat API test---"); logln(""); 52 logln("Testing SimpleDateFormat constructors"); 96 logln(UnicodeString("Override with: ") + override); 109 logln(UnicodeString("Override with: ") + override_bogus); 120 logln("Testing clone(), assignment and equality operators"); 139 logln("Testing various format() methods"); 148 logln( (UnicodeString) "" + d + " formatted to " + res1); 155 logln((UnicodeString) "" + fD.getDate() + " formatted to " + res2) [all...] |
dcfmapts.cpp | 24 if (exec) logln((UnicodeString)"TestSuite DecimalFormatAPI"); 28 logln((UnicodeString)"DecimalFormat API test---"); logln((UnicodeString)""); 41 logln((UnicodeString)"DecimalFormat Rounding test---"); 47 logln((UnicodeString)"DecimalFormat Rounding Increment test---"); 53 logln((UnicodeString)"CurrencyPluralInfo API test---"); 71 logln((UnicodeString)"Testing DecimalFormat constructors"); 110 logln((UnicodeString)"Testing clone(), assignment and equality operators"); 129 logln((UnicodeString)"Testing various format() methods"); 140 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res1) [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: "); 92 logln(UnicodeString("OK: IEEEremainder(") + x + ", " + y + ") is " + result); 208 logln(UnicodeString("OK: max(") + a + ", " + b + ") is " + result); 210 logln(UnicodeString("OK: min(") + a + ", " + b + ") is " + result); 221 logln("NaN tests may show that the expected NaN!=NaN etc. is not true on some"); 222 logln("platforms; however, ICU does not rely on them because it defines"); 223 logln("and uses uprv_isNaN(). Therefore, most failing NaN tests only report warnings."); 233 logln("End of NaN tests.") [all...] |
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...] |
ittrans.cpp | 31 logln(#test "---"); logln(); \ 39 if (exec) logln("TestSuite Transliterator");
|
msfmrgts.cpp | 26 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 106 logln("Formatted with one extra param : " + tempBuffer); 125 logln("Formatted with no params : " + tempBuffer); 131 logln("Formatted with extra params : " + tempBuffer); 188 logln("Apply with pattern : " + pattern1); 200 logln("Formatted with 7 : " + tempBuffer); 257 logln("Formatted with null : " + tempBuffer);*/ 258 logln("Apply with pattern : " + pattern2); 265 logln("Formatted with params : " + tempBuffer) [all...] |
canittst.cpp | 28 logln(#test "---"); \ 29 logln((UnicodeString)""); \ 88 logln("Testing U+%06X", i); 121 logln("Safe Start: " + ss.toPattern(true)); 138 logln("testing permutation"); 145 logln("testing samples"); 152 //logln("Results for: " + name.transliterate(testArray[i])); 163 //logln(++counter + ": " + hex.transliterate(result)); 164 //logln(" = " + name.transliterate(result)); 213 logln("Checked: " + message + getReadable(item)) [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"); 72 logln((UnicodeString) "today: " + today); 85 logln("pattern: " + pat); 89 logln("today: " + fmtd); 94 logln("today: " + todayS); 98 logln((UnicodeString)"today date: " + today); 100 logln("Error reparsing date: " + e.getMessage()); 107 logln("round trip: " + rt) [all...] |
icusvtst.cpp | 193 logln(message); 211 logln(temp); 228 logln(temp); 245 logln(temp); 262 logln(temp); 282 logln(temp); 295 logln(temp); 305 logln(message + " lhs: " + lhs + " rhs: " + rhs); 316 logln(message + *str); 689 logln(" " + *id + " --> " + *result) [all...] |
selfmts.cpp | 26 #define VERBOSE_INT(x) {logln("%s:%d: int %s=%d\n", __FILE__, __LINE__, #x, (x));} 27 #define VERBOSE_USTRING(text) {logln("%s:%d: UnicodeString %s(%d) = ", __FILE__, __LINE__, #text, text.length()); logln(UnicodeString(" \"")+text+UnicodeString("\";"));} 32 if (exec) logln("TestSuite SelectFormat"); 104 logln("SelectFormat Unit Test : Testing SelectFormat pattern syntax."); 130 logln("SelectFormat Unit Test : Creating format object for Testing applying various patterns"); 140 logln("SelectFormat Unit test: Testing applyPattern() and format() ..."); 168 logln("SelectFormat Unit test: Testing format() with keyword method and with invalid keywords..."); 210 logln("SelectFormat API test: Testing SelectFormat constructors ..."); 222 logln("SelectFormat API test: Testing copy constructor and == operator ...") [all...] |
caltest.cpp | 63 if (exec) logln("TestSuite TestCalendar"); 68 logln("TestDOW943---"); logln(""); 75 logln("TestClonesUnique908---"); logln(""); 82 logln("TestGregorianChange768---"); logln(""); 89 logln("TestDisambiguation765---"); logln(""); 96 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...] |
calregts.cpp | 32 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 37 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest"); 146 logln(UnicodeString("") + d); 168 logln(UnicodeString("HOUR=") + cal->get(UCAL_HOUR, status)); //prints 0 170 logln(UnicodeString("HOUR_OF_DAY=") + cal->get(UCAL_HOUR_OF_DAY, status)); 235 logln(UnicodeString(string, "")); 241 logln(UnicodeString("/") + cal->get(UCAL_YEAR, status)) ; 282 logln(zone->getID(temp) + " " + 341 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)) [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...] |
itformat.cpp | 67 logln(#TestClass " test---"); \ 68 logln((UnicodeString)""); \ 90 if (exec) logln("TestSuite Format: "); 142 logln("GenderInfoTest test---"); 143 logln((UnicodeString)"");
|
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"); 121 logln("Format\tSource\tResult"); 122 logln("-------\t-------\t-------"); 131 logln(resultFormatter->format(formatter->parse(dstring[i], status), str, pos)); 140 logln(); 338 logln(UnicodeString("BC = ") + eras[0]); 344 logln(UnicodeString("AD = ") + eras[1]); 360 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...] |
tmsgfmt.cpp | 131 logln(locale[i].getDisplayName(buffer)); 137 logln("Number format creation failed."); 147 logln(UnicodeString(" -> ") /* + << dec*/ + toString(result) + UnicodeString("[supposed output for result]")); 150 logln("Number format parse failed."); 169 logln(toAppendTo); 179 logln("The input pattern : " + pattern); 185 logln("The output pattern is : " + fmt->toPattern(result)); 301 logln(((UnicodeString)"MessageFormat for ") + testCases[i] + " creation failed.\n"); 325 logln("TestMessageFormat::PatternTest failed test #3"); 330 logln("TestMessageFormat::PatternTest failed #4.") [all...] |