/external/icu4c/test/intltest/ |
incaltst.cpp | 64 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 69 if (exec) logln("TestSuite IntlCalendarTest"); 129 logln(UnicodeString("Creating calendar of locale ") + locs[j]); 134 logln(UnicodeString(" type is ") + c->getType()); 186 logln((UnicodeString)"cal : " + CalendarTest::calToStr(cal)); 187 logln((UnicodeString)"grego: " + CalendarTest::calToStr(*grego)); 190 logln(UnicodeString("OK: ") + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 203 logln((UnicodeString)"cal : " + CalendarTest::calToStr(cal)); 204 logln((UnicodeString)"grego: " + CalendarTest::calToStr(*grego)) [all...] |
numrgts.cpp | 103 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 108 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest"); 248 logln("NumberFormat.equals passed"); 272 logln("Test for bug 4074620 passed."); 293 logln(UnicodeString("d = ") + d); 294 logln("maxFractionDigits = " + df->getMaximumFractionDigits()); 296 logln(" format(d) = '" + df->format(d, sBuf1, fp1) + "'"); 300 logln("maxFractionDigits = " + df->getMaximumFractionDigits()); 328 logln(UnicodeString("format(") + n + ") = " + [all...] |
itutil.cpp | 39 logln(#test "---"); logln(); \ 47 if (exec) logln("TestSuite Utilities: "); 68 logln("TestSuite LocalPointerTest---"); logln(); 76 logln("TestSuite BytesTrieTest---"); logln(); 84 logln("TestSuite UCharsTrieTest---"); logln(); 94 if (exec) logln("TestSuite Utilities: ") [all...] |
dadrcoll.cpp | 56 logln("TestSuite Collator: "); 67 logln("---"); 68 logln(""); 185 logln("Testing collator for locale "+testSetting); 197 logln("Testing collator for rules "+testSetting); 225 logln("Arguments: "+testSetting);
|
callimts.cpp | 23 if (exec) logln("TestSuite TestCalendarLimit"); 29 logln("TestCalendarExtremeLimit---"); logln(""); 36 logln("TestLimits---"); logln(""); 66 logln(UnicodeString(" ") + theDate + " " + CalendarTest::calToStr(*cal)); 68 logln(UnicodeString("OK: got ") + dt + ", wanted " + millis); 69 logln(UnicodeString(" ") + theDate); 117 logln("checking 1e16..1e17"); 121 logln("checking -1e14..-1e15") [all...] |
tsnmfmt.cpp | 40 if (exec) logln((UnicodeString)"TestSuite NumberFormat"); 45 logln(name); 58 logln(name); 65 logln(name); 81 logln((UnicodeString)name + " (" + localeName + ")"); 87 logln((UnicodeString)name + " (" + localeName + ")"); 93 logln((UnicodeString)name + " (" + localeName + ")"); 100 logln((UnicodeString)name + " (" + localeName + ")"); 180 logln((UnicodeString)" Pattern " + s->toPattern(str)); 355 logln((UnicodeString)"" + k + ": " + number[k].getDouble() + " F> " [all...] |
nmfmtrt.cpp | 34 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 38 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRoundTripTest"); 94 logln("Default Locale"); 120 logln("Quick mode: only testing first 5 Locales"); 124 logln(loc[i].getDisplayName(name)); 142 logln(UnicodeString("Numeric error ") + min_numeric_error + " to " + max_numeric_error); 247 logln(/*value.getString(temp) +*/ " F> " + escape(s)); 252 logln(escape(s) + " P> " /*+ n.getString(temp)*/); 260 logln(/*n.getString(temp) +*/ " F> " + escape(s2)) [all...] |
cpdtrtst.cpp | 40 logln("Testing the construction of the compound Transliterator"); 115 logln("Testing the clone() and equality operator functions of Compound Transliterator"); 190 logln("Testing the getCount() API of CompoundTransliterator"); 238 logln("Testing the getTransliterator() API of CompoundTransliterator"); 255 logln("OK: getTransliterator() passed: Expected->" + *(array+i) + " Got->" + child); 260 logln("Testing setTransliterator() API of CompoundTransliterator"); 269 logln("The ID for the transltierator created is " + transarray[i]->getID()); 282 logln("OK: setTransliterators() passed"); 294 logln("OK: setTransliterator() passed"); 296 logln("Testing adoptTransliterator() API of CompoundTransliterator") [all...] |
dadrfmt.cpp | 45 // logln("Begin "); 57 logln("---"); 58 logln(""); 237 // logln((UnicodeString)"#"+n+" "+locale+"/"+from+" >>> "+toCalLoc+"/" 268 logln(caseString+": format: SUCCESS! "+UnicodeString("expect=output=")+output); 285 logln(caseString+": parse: SUCCESS! "+UnicodeString("gotDate=parseDate=")+expectStr); 312 logln("PASS: "+caseString+" parse."); 342 logln("---"); 344 logln(testSetting + "---");
|
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");
|
plurfmts.cpp | 33 if (exec) logln("TestSuite PluralFormat"); 56 logln(" Testing PluralFormat constructors ..."); 199 logln("Testing PluralRules pattern syntax."); 217 logln("Testing various patterns"); 263 logln("\n Test setLocale() ..\n"); 295 logln("Test copy constructor and == operator of PluralFormat"); 316 logln("Testing PluralRules with no rule."); 324 logln("Testing singular1 locales."); 337 logln("Testing singular1 locales."); 346 logln("Testing singular1 locales.") [all...] |
tzregts.cpp | 22 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 27 // if (exec) logln((UnicodeString)"TestSuite NumberFormatRegressionTest"); 69 /*logln("*** CHECK TIMEZONE AGAINST HOST OS SETTING ***"); 70 logln("user.timezone:" + System.getProperty("user.timezone", "<not set>")); 71 logln(new Date().toString()); 72 logln("*** THE RESULTS OF THIS TEST MUST BE VERIFIED MANUALLY ***");*/ 92 logln((UnicodeString)"Error: inDaylightTime() != " + ((!startsInDST)?"TRUE":"FALSE")); 184 logln((UnicodeString)"Stepwise from " + 188 logln((UnicodeString)"Stepwise from " [all...] |
itrbnf.cpp | 39 logln(#test "---"); \ 40 logln(); \ 47 if (exec) logln("TestSuite RuleBasedNumberFormat"); 155 logln("RBNF API test starting"); 158 logln("Testing Clone"); 172 logln("Testing assignment operator"); 182 logln("Testing rule constructor"); 220 logln("Testing getRules function"); 232 logln("Testing copy constructor"); 242 logln("Testing getNumberOfRuleSetNames, getRuleSetName and format using rule set names") [all...] |
lcukocol.cpp | 76 if (exec) logln("TestSuite LotusCollationKoreanTest: ");
|
intltest.h | 87 logln(#test "---"); \ 88 logln(); \ 111 logln(#test "---"); \ 112 logln(); \ 147 virtual void logln( const UnicodeString &message ); 149 virtual void logln( void ); 171 void logln(const char *fmt, ...);
|
tzfmttst.cpp | 30 logln("TestSuite TimeZoneFormatTest"); 190 logln("Canonical round trip failed (as expected); tz=" + *tzid 323 log.logln((UnicodeString) "Thread " + index + " is done."); 327 log.logln((UnicodeString) "\nThread " + index + ": Locale: " + UnicodeString(data.locales[locidx].getName())); 330 log.logln((UnicodeString) " Pattern: " + PATTERNS[patidx]); 414 log.logln(msg); 553 logln("### Elapsed time by patterns ###"); 555 logln(UnicodeString("") + data.times[i] + "ms (" + PATTERNS[i] + ")"); 558 logln((UnicodeString) "Total: " + total + "ms"); 559 logln((UnicodeString) "Iteration: " + data.testCounts) [all...] |
tsmthred.cpp | 118 if (exec) logln("TestSuite MultithreadTest: "); 125 if(exec) { logln("MultithreadTest - test DISABLED. ICU_USE_THREADS set to 0, check your configuration if this is a problem.."); 152 logln("TestSuite MultithreadTest: "); 313 logln("->" + UnicodeString(threadTestChars) + "<- Firing off threads.. "); 323 logln(" Subthread started."); 326 logln("Waiting for threads to be set.."); 349 logln("->" + UnicodeString(threadTestChars) + "<- Got all threads! cya"); 357 logln("->" + UnicodeString(threadTestChars) + "<- Waiting.."); 384 logln("-> do TestArabicShapingThreads <- Firing off threads.. "); 394 logln(" Subthread started.") [all...] |
dtptngts.cpp | 28 if (exec) logln("TestSuite DateTimePatternGeneratorAPI"); 349 logln("Testing DateTimePatternGenerator createInstance from default locale"); 361 logln("Testing DateTimePatternGenerator createInstance from French locale"); 370 logln("Testing DateTimePatternGenerator::clone()"); 395 logln("Testing simple use cases"); 544 logln(UnicodeString(" ja locale with skeleton: YYYYMMM Best Pattern:") + bPattern); 545 logln(UnicodeString(" Formatted date:") + rDate); 569 logln(UnicodeString(" zh locale with skeleton: YYYYMMM Best Pattern:") + bPattern); 570 logln(UnicodeString(" Formatted date:") + rDate); [all...] |
tsdtfmsy.cpp | 22 if (exec) logln("TestSuite DateFormatSymbols"); 47 logln((UnicodeString)"size = " + cnt); 51 logln(month[i]); 72 logln((UnicodeString)"size = " + cnt); 75 logln(month[k]); 97 logln((UnicodeString)"size = " + cnt); 100 logln(wd[k]); 119 logln((UnicodeString)"size = " + cnt); 123 logln(name[i]);
|
apicoll.cpp | 112 logln("The property tests begin : "); 113 logln("Test ctors : "); 134 logln("Collator::getVersion() result: %02x.%02x.%02x.%02x", 168 logln("Test ctors ends."); 169 logln("testing Collator::getStrength() method ..."); 174 logln("testing Collator::setStrength() method ..."); 182 logln("Get display name for the US English collation in German : "); 183 logln(Collator::getDisplayName(Locale::getUS(), Locale::getGerman(), name)); 186 logln("Get display name for the US English collation in English : "); 187 logln(Collator::getDisplayName(Locale::getUS(), Locale::getEnglish(), name)) [all...] |
dtfmtrtts.cpp | 51 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 142 logln("DateFormat available locales: %d", locCount); 145 logln("Quick mode: only testing SPARSENESS = 18"); 149 logln("Default TimeZone: " + tz->getID(temp)); 165 logln("ENTERING INFINITE TEST LOOP FOR Locale: " + loc.getDisplayName(temp)); 212 logln("Locale: " + loc.getDisplayName(temp)); 238 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); 251 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); 265 logln("Testing dstyle" + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + UnicodeStri (…) [all...] |
tztest.cpp | 29 logln(#test "---"); logln(""); \ 44 // verbose mode with logln. 50 logln("TestSuite TestTimeZone"); 110 logln((UnicodeString)"TimeZone::createDefault() => " + saveDefault->getID(id)); 113 logln("call uprv_timezone() which uses the host"); 114 logln("to get the difference in seconds between coordinated universal"); 115 logln("time and local time. E.g., -28,800 for PST (GMT-8hrs)"); 118 logln(UnicodeString("Value returned from uprv_timezone = ") + tzoffset); 154 logln((UnicodeString)"tzdata version: " + tzver) [all...] |
restest.cpp | 184 if (exec) logln("TestSuite ResourceBundleTest: "); 228 logln("Passed: %d\nFailed: %d", pass, fail); 266 logln("for string_in_Root_te_te_IN, default.txt had " + result1); 267 logln("for string_in_Root_te_te_IN, te_IN.txt had " + result2); 285 logln(UnicodeString("getVersionNumber on default.txt returned ") + version1); 286 logln(UnicodeString("getVersionNumber on te_IN.txt returned ") + version2); 478 logln(passMessage); 510 logln("Number of installed locales with exemplar characters that could be tested: %d",num);
|
tscoll.cpp | 62 logln(#classname "---"); \ 63 logln(""); \ 72 logln("TestSuite Collator: "); 274 logln("Testing iterating source: "+source); 277 logln("Testing iterating target: "+target); 318 logln(msg1 + prettySource + msg2 + prettyTarget + msg3 + sResult); 330 logln(msg1 + prettySource + msg2 + prettyTarget + msg3 + sResult); 349 logln(msg1 + prettySource + msg2 + prettyTarget + msg3 + sResult);
|
/external/icu4c/tools/ctestfw/unicode/ |
testlog.h | 26 virtual void logln( const UnicodeString &message ) = 0;
|