/external/icu/icu4c/source/test/intltest/ |
calcasts.cpp | 22 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 27 if (exec) logln("TestSuite CalendarCaseTest"); 54 logln("Test case %d: julianday%f -> date %f\n", i, cases[i].julian, t); 59 logln(calToStr(*cal)); 86 logln(calToStr(*cal)); 103 logln((UnicodeString)"Checking field " + fieldName(field) + " == " + value + UnicodeString("\n"));
|
itrbnf.cpp | 37 logln(#test "---"); \ 38 logln(); \ 45 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...] |
testidn.cpp | 317 test.logln("Number of Unassinged code points : %i \n",unassigned); 318 test.logln("Number of Prohibited code points : %i \n",prohibited); 319 test.logln("Number of Mapped code points : %i \n",mapped); 320 test.logln("Number of Mapped with NFKC code points : %i \n",mappedWithNorm); 321 test.logln("Number of code points that have no value in Trie: %i \n",noValueInTrie);
|
tstnorm.cpp | 27 logln(#test "---"); \ 28 logln((UnicodeString)""); \ 167 logln("testing decomp..."); 173 logln("testing compose..."); 226 logln("Canonical composition..."); 228 logln("Compatibility composition..."); 231 logln("Static composition..."); 237 logln("Reverse iteration..."); 248 logln("Canonical decomposition..."); 250 logln("Compatibility decomposition...") [all...] |
tsdtfmsy.cpp | 22 if (exec) logln("TestSuite DateFormatSymbols"); 48 logln((UnicodeString)"size = " + cnt); 52 logln(month[i]); 73 logln((UnicodeString)"size = " + cnt); 76 logln(month[k]); 98 logln((UnicodeString)"size = " + cnt); 101 logln(wd[k]); 120 logln((UnicodeString)"size = " + cnt); 124 logln(name[i]);
|
restsnew.cpp | 182 if (exec) logln("TestSuite ResourceBundleTest: "); 226 logln("Passed: %d\nFailed: %d", pass, fail); 265 logln("for string_in_Root_te_te_IN, root.txt had " + result1); 266 logln("for string_in_Root_te_te_IN, te_IN.txt had " + result2); 285 logln(UnicodeString("getVersionNumber on default.txt returned ") + version1 + UnicodeString(" Expect: " ) + versionID1); 286 logln(UnicodeString("getVersionNumber on te_IN.txt returned ") + version2 + UnicodeString(" Expect: " ) + versionID2); 460 logln("Testing getLocale()\n"); 467 logln("Testing ResourceBundle(UErrorCode)\n"); 517 logln("Version returned: [%d.%d.%d.%d]\n", ver[0], ver[1], ver[2], ver[3]); 519 logln("Testing C like UnicodeString APIs\n") [all...] |
transtst.cpp | 262 logln(UnicodeString("OK: ") + name + " (" + id + ")"); 296 logln("OK: Bogus ID handled properly"); 560 logln(log); 692 logln(UnicodeString("Ok: \"") + exp + "\""); 694 logln(UnicodeString("FAIL: \"") + s + "\", wanted \"" + exp + "\""); 749 logln(UnicodeString("Pattern: ") + prettify(DATA[i])); 834 logln(prettify(data[i] + " -> " + out)); 900 logln(UnicodeString("Ok: ") + desc); 927 logln("Pattern: " + prettify(DATA[i])); 959 logln("Pattern: " + prettify(DATA[i])) [all...] |
loctest.cpp | 141 logln("PASS: asserted " #test); \ 159 logln("PASS: asserted " #test "-> " + UnicodeString(print)); \ 163 #define test_dumpLocale(l) { logln(#l " = " + UnicodeString(l.getName(), "")); } 243 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); 262 logln("Same thing without variant codes..."); 271 logln("Testing " + (temp=testLocale.getName()) + "..."); 286 logln("Testing long language names and getters"); 341 logln("Test synchronization between C and C++ API"); 418 logln("Testing " + (temp=testLocale.getName()) + "..."); 462 logln(" In locale = en_US...") [all...] |
numfmtst.cpp | 147 logln("Test API"); 254 logln((UnicodeString)"Min integer digits = " + fmt.getMinimumIntegerDigits()); 351 logln("Warning: Skipping double conversion tests"); 380 logln((UnicodeString)"Pattern \"" + pat[p] + "\" -toPattern-> \"" + 386 logln((UnicodeString)" " + val[v] + " -format-> " + s); 416 logln((UnicodeString)" -parse-> " + a); 434 logln((UnicodeString)" " + lval[v] + "L -format-> " + s); 447 logln((UnicodeString)" -parse-> " + a); 614 logln((UnicodeString)"Pattern \"" + *pat + "\""); 615 logln((UnicodeString)" Format 123 -> " + escape(s)) [all...] |
tscoll.cpp | 60 logln("TestSuite Collator: "); 256 logln("Testing iterating source: "+source); 259 logln("Testing iterating target: "+target); 300 logln(msg1 + prettySource + msg2 + prettyTarget + msg3 + sResult); 312 logln(msg1 + prettySource + msg2 + prettyTarget + msg3 + sResult); 331 logln(msg1 + prettySource + msg2 + prettyTarget + msg3 + sResult);
|
transrt.cpp | 40 logln(#test "---"); \ 41 logln((UnicodeString)""); \ 45 logln((UnicodeString)#test " took " + t/U_MILLIS_PER_DAY + " seconds"); \ 53 logln(#test "---"); \ 54 logln((UnicodeString)""); \ 545 parent->logln("%s ok", str); 589 parent->logln("Checking that at least one irrelevant character is not NFC'ed"); 601 parent->logln("Checking that toRules works"); 606 // parent->logln((UnicodeString)"toRules => " + rules); 657 parent->logln("Checking that all source characters convert to target - Singles") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
CalendarTest.java | 98 logln("\ntest case: " + i); 188 logln("OK: " + name + " "+ ymdToString(test[0], test[1], test[2]) 227 logln("Start: " + startDate); 254 logln("(" + i + " days)"); 328 logln("OK: " + buf.toString()); 333 logln("Warning: " + buf.toString()); 337 logln("End: " + greg.getTime());
|
IndianTest.java | 111 logln("1000/0/30-> " + 117 logln("1/0/30 -> " + 207 logln(calLocName + "/" + locName + " --> " + format.format(cal)); 220 logln("gregorian calendar: " + gDF.format(gToday) + 229 logln("Indian calendar: " + iDF.format(iToday) +
|
IBMCalendarTest.java | 110 logln("Locale: " + loc); 120 logln("Ok: " + fmt.format(cal.getTime()) + " isWeekend=" + isWeekend); 131 logln("Locale: " + loc); 137 logln("Ok: DOW " + data[i] + " type=" + type); 175 logln("OK: " + era + ":" + year + "/" + (month+1) + "/" + dayOfMonth + 187 logln("OK: " + D + " => " + cal.get(Calendar.ERA) + ":" + 191 logln("Fail: " + D + " => " + cal.get(Calendar.ERA) + ":" + 299 logln(calLocName + "/" + locName + " --> " + format.format(time)); 447 logln(calLocName + "/" + locName + " --> " + format.format(time)); 506 logln("Ok: 2004/Feb/29 - 2000/Feb/29 = " + y + " years, " + d + " days") [all...] |
CopticTest.java | 191 logln("1000/0/30-> " + 197 logln("1/0/30 -> " + 329 logln(calLocName + "/" + locName + " --> " + format.format(time)); 342 logln("gregorian calendar: " + gDF.format(gToday) + 351 logln("coptic calendar: " + cDF.format(cToday) + 361 logln("ethiopic calendar: " + eDF.format(eToday) +
|
EthiopicTest.java | 260 logln("1000/0/30-> " + 266 logln("1/0/30 -> " + 280 logln("EthiopicCalendar.getDateFromJD tested"); 381 logln(then.toString()); 387 logln(cal.getTime().toString()); 411 logln(calLocName + "/" + locName + " --> " + format.format(time));
|
IslamicTest.java | 135 logln("1000/0/30 -> " + 141 logln("1/0/30 -> " + 268 logln(then.toString()); 274 logln(cal.getTime().toString()); 299 logln(calLocName + "/" + locName + " --> " + format.format(time)); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUServiceThreadTest.java | 172 public void logln(String msg) { 174 log.logln(name + msg); 212 log.logln(f.toString()); 235 log.logln("factory: " + f + (success ? " succeeded." : " *** failed.")); 254 log.logln("factory: " + f + (success ? " succeeded." : " *** failed.")); 272 log.logln("iter: " + n + " id: " + id + " result: " + result); 300 //log.logln(" iter: " + n + 302 log.logln(" iter: " + num + 323 log.logln(" id: " + id + " actual: " + actualID[0] + " result: " + o); 344 log.logln(" id: " + id + " result: " + o) [all...] |
ULocaleTest.java | 339 logln("Ok: " + label + "; req=" + req + ", valid=" + valid + 450 logln("Info: Registering service"); 460 logln("Info: Unregistering service"); 605 logln("Testing Basic Getters\n"); 608 logln("Testing "+ testLocale+".....\n"); [all...] |
StringTokenizerTest.java | 111 logln("PASS: Constructor with null string failed as expected"); 117 logln("PASS: Constructor with null string failed as expected"); 123 logln("PASS: Constructor with null string failed as expected"); 129 logln("PASS: Constructor with null string failed as expected"); 136 logln("PASS: Constructor with null string failed as expected"); 251 logln("PASS: empty string failed as expected"); 262 logln("PASS: String with only delimiters failed as expected"); 276 logln("PASS: String with only one token failed as expected"); 283 logln("PASS: StringTokenizer constructed with null source failed as expected"); 352 logln("PASS: Empty string failed as expected") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestBidi.java | 30 logln("\nEntering TestBidi"); 37 logln("\nExiting TestBidi"); 53 logln("Bidi.setPara(tests[" + testNumber + "] OK, direction " 67 logln("Bidi.setLine(" + lineStart + ", " + test.lineLimit 79 logln("Bidi.createLineBidi(" + lineStart + ", " + test.lineLimit 101 logln("Calling Bidi.countRuns() first."); 108 logln("Calling Bidi.getLogicalMap() first."); 114 logln(i + " " + bidi.getLevelAt(i) + " " + levelString 247 logln("\n---- " + runCount + " runs"); 276 logln("logical maps:") [all...] |
TestReorderingMode.java | 211 logln("\nEntering TestReorderingMode\n"); 237 logln("starting test " + tc + " mode=" + modeValue + 287 logln("Reordering mode test OK"); 290 logln("\nExiting TestReorderingMode\n"); 452 logln("\nExpected round trip failure for case=" + tc + [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
ULocaleCollationTest.java | 130 logln("Ok: " + label + "; req=" + req + ", valid=" + valid + 216 logln("Info: Registering service"); 226 logln("Info: Unregistering service"); 292 logln("Contexts: " + names.getContext(type).toString()); 333 logln("Successfully detected ill-formed locale «" + malformed + "»:" + e.getMessage());
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
NumberFormatTest.java | 35 logln("Skipped " + loc); 59 logln("INFO: " + method[0] + " returned ICU NumberFormat for locale " + loc); 215 logln("INFO: ParseException thrown by both JDK and ICU NumberFormat(" 250 logln("INFO: ParseException thrown by both JDK and ICU NumberFormat(" 285 logln("INFO: ParseException thrown by both JDK and ICU NumberFormat("
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
TestUScript.java | 80 logln("Error getting script code Got: null" + " Expected: " +expected[i] +" for name "+testNames[i]); 87 logln("Error getting script code Got: " +code[0] + " Expected: " +expected[i] +" for name "+testNames[i]); 167 logln("Error getting script code Got: " +code[j] + " Expected: " +expt[j] +" for name "+testNames[i]); 172 logln("Error getting script code for name "+testNames[i]); 183 logln("Testing UScript.getCode(Locale) ..."); 186 logln(" Testing locale: " + testLocales[i].getDisplayName()); 193 logln(" Error getting script code Got: " +code[j] + " Expected: " +expt[j] +" for name "+testNames[i]); 198 logln(" Error getting script code for name "+testNames[i]); 258 logln("Error getting script code Got: null" + " Expected: " +expected[i] +" for name "+testNames[i]); 263 logln("Error getting script code Got: " +code[0] + " Expected: " +expected[i] +" for name "+testNames[i] (…) [all...] |