/external/icu4c/test/intltest/ |
itrbnfrt.cpp | 23 logln(#test "---"); \ 24 logln(); \ 31 if (exec) logln("TestSuite RuleBasedNumberFormatRT"); 285 logln(buf);
|
transapi.cpp | 239 logln("Skipping, UCONFIG_NO_FORMATTING is set\n"); 288 logln("Testing transliterate"); 331 logln("\n Testing transliterate(String, int, int, StringBuffer)"); 362 logln("\n Try calling transliterate with illegal start and limit values"); 372 logln("OK: start greater than limit value handled correctly"); 413 logln("simple call to transliterate"); 441 logln("try calling transliterate with invalid index values"); 453 logln("OK: invalid index values handled correctly"); 487 logln("Testing transliterate(Replaceable, int32_t, UnicodeString, UErrorCode)"); 509 logln("Testing transliterate(Replaceable, int32_t, UChar, UErrorCode)") [all...] |
locnmtst.cpp | 25 logln("PASS: asserted " #test); \ 43 logln("PASS: asserted " #test "-> " + UnicodeString(print)); \ 49 logln("unexpected value '" + (value) + "'"); \ 52 logln("PASS: asserted " #target " == " #value); \ 56 #define test_dumpLocale(l) { logln(#l " = " + UnicodeString(l.getName(), "")); }
|
thcoll.cpp | 85 logln("Can't open TestNames_Thai.txt: %s; skipping test", 103 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 115 logln((UnicodeString)"Words checked: " + wordCount); 132 logln("Can't open riwords.txt: %s; skipping test", 150 logln((UnicodeString)"Word " + wordCount + ": " + IntlTest::prettify(word, str)); 195 logln((UnicodeString)"Words checked: " + wordCount); 388 logln("%i", 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...] |
plurults.cpp | 33 if (exec) logln("TestSuite PluralRulesAPI"); 92 logln("Testing PluralRules constructors"); 95 logln("\n start default locale test case ..\n"); 123 logln("Testing Simple PluralRules"); 135 logln("Testing Simple PluralRules"); 150 logln("Testing Complex PluralRules"); 200 logln("Testing Equality of PluralRules"); 209 logln("Testing getStaticClassID()"); 447 logln("[%d] %s", i >> 1, data[i]); 451 logln("could not create rules from '%s'\n", data[i]) [all...] |
g7coll.cpp | 142 logln(msg); 160 logln("Demo Test 1 : Create a new table collation with rules \"& Z < p, P\""); 194 logln("Demo Test 2 : Create a new table collation with rules \"& C < ch , cH, Ch, CH\""); 228 logln("Demo Test 3 : Create a new table collation with rules \"& Question'-'mark ; '?' & Hash'-'mark ; '#' & Ampersand ; '&'\""); 262 logln("Demo Test 4 : Create a new table collation with rules \" & aa ; a'-' & ee ; e'-' & ii ; i'-' & oo ; o'-' & uu ; u'-' \""); 291 if (exec) logln("TestSuite G7CollationTest: ");
|
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...] |
loctest.cpp | 140 logln("PASS: asserted " #test); \ 158 logln("PASS: asserted " #test "-> " + UnicodeString(print)); \ 162 #define test_dumpLocale(l) { logln(#l " = " + UnicodeString(l.getName(), "")); } 250 logln("Testing " + (UnicodeString)testLocale.getName() + "..."); 269 logln("Same thing without variant codes..."); 278 logln("Testing " + (temp=testLocale.getName()) + "..."); 293 logln("Testing long language names and getters"); 348 logln("Test synchronization between C and C++ API"); 425 logln("Testing " + (temp=testLocale.getName()) + "..."); 469 logln(" In locale = en_US...") [all...] |
mnkytst.cpp | 218 logln("Demo Test 1 : Create a new table collation with rules \"& z < 0x00e4\""); 235 logln("Demo Test 2 : Create a new table collation with rules \"& z < a 0x0308\""); 255 if (exec) logln("TestSuite CollationMonkeyTest: ");
|
tsdcfmsy.cpp | 18 if (exec) logln("TestSuite DecimalFormatSymbols"); 22 logln("DecimalFormatSymbols test---"); logln("");
|
ucaconf.cpp | 59 logln("TestSuite UCAConformanceTest: "); 225 logln("Skipping line %i because of a known bug", line); 317 logln("This test is currently disabled, as it is impossible to "
|
bytestrietest.cpp | 88 logln("TestSuite BytesTrieTest: "); 436 logln("after iter.reset()"); 464 logln("after iter.reset()"); 510 logln("after iter.reset()"); 538 logln("after iter.reset()"); 569 logln("after iter.reset()"); 590 logln("checkData(dataLength=%d, fast)", (int)dataLength); 592 logln("checkData(dataLength=%d, small)", (int)dataLength); 638 logln("serialized trie size: %ld bytes\n", (long)sp.length());
|
ficoll.cpp | 88 if (exec) logln("TestSuite CollationFinnishTest: ");
|
tfsmalls.cpp | 368 if (exec) logln("TestSuite Format/SmallClasses/ParsePosition (f/chc/sma/pp): "); 372 if (exec) logln("TestSuite Format/SmallClasses/FieldPosition (f/chc/sma/fp): "); 376 if (exec) logln("TestSuite Format/SmallClasses/FieldPositionExample (f/chc/sma/fpe): "); 380 if (exec) logln("TestSuite Format/SmallClasses/Formattable (f/chc/sma/ft): ");
|
numfmtst.cpp | 51 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 58 // if (exec) logln((UnicodeString)"TestSuite DateFormatTest"); 135 logln("Test API"); 242 logln((UnicodeString)"Min integer digits = " + fmt.getMinimumIntegerDigits()); 339 logln("Warning: Skipping double conversion tests"); 368 logln((UnicodeString)"Pattern \"" + pat[p] + "\" -toPattern-> \"" + 374 logln((UnicodeString)" " + val[v] + " -format-> " + s); 404 logln((UnicodeString)" -parse-> " + a); 422 logln((UnicodeString)" " + lval[v] + "L -format-> " + s) [all...] |
tchcfmt.cpp | 490 logln("Ok: " + str); 511 logln("#%d/%d: limit %g closed %s\n", 550 logln((UnicodeString)"Ok: " + x + " => " + str); 573 logln((UnicodeString)"Ok: " + pattern + " failed"); 575 logln((UnicodeString)"FAIL: " + pattern + " accepted"); 583 logln((UnicodeString)"Ok: Pattern: " + pattern); 586 logln((UnicodeString)" toPattern: " + fmt.toPattern(out)); 594 logln((UnicodeString)"Ok: " + v[i] + " => " + out);
|
testidn.cpp | 316 test.logln("Number of Unassinged code points : %i \n",unassigned); 317 test.logln("Number of Prohibited code points : %i \n",prohibited); 318 test.logln("Number of Mapped code points : %i \n",mapped); 319 test.logln("Number of Mapped with NFKC code points : %i \n",mappedWithNorm); 320 test.logln("Number of code points that have no value in Trie: %i \n",noValueInTrie);
|
transtst.cpp | 263 logln(UnicodeString("OK: ") + name + " (" + id + ")"); 297 logln("OK: Bogus ID handled properly"); 561 logln(log); 693 logln(UnicodeString("Ok: \"") + exp + "\""); 695 logln(UnicodeString("FAIL: \"") + s + "\", wanted \"" + exp + "\""); 750 logln(UnicodeString("Pattern: ") + prettify(DATA[i])); 835 logln(prettify(data[i] + " -> " + out)); 901 logln(UnicodeString("Ok: ") + desc); 928 logln("Pattern: " + prettify(DATA[i])); 960 logln("Pattern: " + prettify(DATA[i])) [all...] |
ucharstrietest.cpp | 95 logln("TestSuite UCharsTrieTest: "); 379 logln("serialized trie size: %ld UChars\n", (long)trieUChars.length()); 594 logln("after iter.reset()"); 622 logln("after iter.reset()"); 668 logln("after iter.reset()"); 696 logln("after iter.reset()"); 727 logln("after iter.reset()"); 749 logln("checkData(dataLength=%d, fast)", (int)dataLength); 751 logln("checkData(dataLength=%d, small)", (int)dataLength); 799 logln("serialized trie size: %ld UChars\n", (long)trieUChars.length()) [all...] |
tstnorm.cpp | 28 logln(#test "---"); \ 29 logln((UnicodeString)""); \ 168 logln("testing decomp..."); 174 logln("testing compose..."); 227 logln("Canonical composition..."); 229 logln("Compatibility composition..."); 232 logln("Static composition..."); 238 logln("Reverse iteration..."); 249 logln("Canonical decomposition..."); 251 logln("Compatibility decomposition...") [all...] |
dtfmttst.cpp | 43 logln("TestSuite DateFormatTest: "); 247 logln("Time Zone IDs size: %d", ids_length); 251 logln("Ordinal ID offset(h:m) name"); 258 // logln(i + " " + ids[i]); 265 // logln(i + " " + ids[i] + " offset " + offset); 303 logln(UnicodeString() + i + " " + *id + " " + dstOffset + 376 logln(*s + " P> " + ((DateFormat*)fullFmt)->format(d, str)); 537 logln(" Pattern = " + sdtfmt->toPattern(buf.remove())); 539 logln(" Pattern = ? (not a SimpleDateFormat)"); 541 logln((UnicodeString)" Result = " + df->format(aug13, buf.remove())) [all...] |
usettest.cpp | 45 logln(#test "---"); \ 46 logln(); \ 69 // if (exec) logln((UnicodeString)"TestSuite UnicodeSetTest"); 244 //logln(source + " => " + pat0 + ", " + pat1 + ", " + pat2 + ", " + pat3); 245 logln((UnicodeString)source + " => " + pat0 + ", " + pat2); 344 logln("Testing copy construction"); 353 logln("Testing =operator"); 361 logln("Testing clone()"); 370 logln("Testing hashcode"); 582 logln((UnicodeString)"a [3-10]: " + a) [all...] |
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"));
|
citrtest.cpp | 149 if (exec) logln("TestSuite CharIterTest: "); 399 logln("Testing forward iteration..."); 428 logln("Testing backward iteration..."); 469 logln("Testing forward iteration..."); 501 logln("Testing forward iteration over a range..."); 526 logln("Testing backward iteration over a range..."); 597 logln("Testing forward iteration..."); 599 /* logln("c=%d i=%d char32At=%d", c, i, text.char32At(i)); */ 635 logln("Testing backward iteration..."); 678 logln("Testing forward iteration...") [all...] |