/external/icu/icu4c/source/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: ");
|
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...] |
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...] |
itformat.cpp | 75 logln(#TestClass " test---"); \ 76 logln((UnicodeString)""); \ 98 if (exec) logln("TestSuite Format: "); 150 logln("GenderInfoTest test---"); 151 logln((UnicodeString)""); 159 logln("CompactDecimalFormatTest test---"); 160 logln((UnicodeString)""); 170 logln("RelativeDateTimeFormatterTest test---"); 171 logln((UnicodeString)""); 180 logln("MeasureFormatTest test---") [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...] |
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...] |
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: "); 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...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
TestFailureRecovery.java | 22 logln("\nEntering TestFailureRecovery\n"); 30 // logln("OK: Got exception for bidi.setPara(..., Bidi.LEVEL_DEFAULT_LTR - 1, ...)" 37 logln("OK: Got exception for bidi.setPara(..., -1, ...)" 44 logln("OK: Got exception for Bidi.writeReverse(null) as expected: " 52 logln("OK: Got exception for Bidi.setLine(0, 1) as expected: " 59 logln("OK: Got exception for Bidi.getDirection() as expected: " 67 logln("OK: Got exception for Bidi.getLevelAt(3) as expected: " 74 logln("OK: Got exception for Bidi(-1,0) as expected: " 82 logln("OK: Got exception for setPara(\"abc\") as expected: " 90 logln("OK: Got exception for countRuns as expected: [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
CompactArrayTest.java | 36 logln("equals null: " + cba.equals(null)); 37 logln("equals self: " + cba.equals(cba)); 38 logln("equals clone: " + cba.equals(cba3)); 39 logln("equals bogus: " + cba.equals(new Object())); 40 logln("hash: " + cba.hashCode()); 53 logln("equals: " + cba4.equals(cba5)); 54 logln("equals: " + cba.equals(cba4)); 57 logln("equals: " + cba4.equals(cba5)); 60 logln("equals: " + cba4.equals(cba5)); 63 logln("modified equals clone: " + cba.equals(cba3)) [all...] |
ICUServiceTest.java | 112 logln("service name:" + service.getName()); 251 logln(" " + id + " --> " + service.get(id)); 265 logln(" " + e.getKey() + " -- > " + e.getValue()); 296 logln(" " + e.getKey() + " --> " + e.getValue()); 309 logln("actual id: " + actualID[0]); 311 logln("found actual: " + gal + " with display name: " + displayName); 315 logln("found query: " + gal + " with display name: " + displayName); 329 logln("found actual: " + bozo + " with display name: " + displayName); 333 logln("found actual: " + bozo + " with display name: " + displayName); 361 logln(" " + e.getKey() + " -- > " + e.getValue()) 498 logln((String)ls.get("en_FOO")); method [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
TimeScaleAPITest.java | 36 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); 51 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); 61 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); 76 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); 86 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); 101 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); 113 logln("PASS: UniversalTimeScale.from failed as expected"); 122 logln("from(0L, " + scale + ") returned " + result); 129 logln("from(fromMin, " + scale + ") returned " + result); 139 logln("PASS: UniversalTimeScale.from failed as expected") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 69 logln( "Pattern = " + aSimpleDF.toPattern()); 70 logln( "Format = " + aSimpleDF.format(d)); 83 logln("dateStyle = 2" + "\t timeStyle = -2"); 84 logln("Exception caught!"); 92 logln("dateStyle = 4" + "\t timeStyle = 2"); 93 logln("Exception caught!"); 94 logln("********************************************"); 102 logln("dateStyle = -12" + "\t timeStyle = -12"); 103 logln("Exception caught!"); 104 logln("********************************************"); [all...] |
RBNFParseTest.java | 79 logln("----------"); 80 logln("rules: '" + tests[i] + "'"); 84 logln("1.23: " + fmt.format(20)); 85 logln("-123: " + fmt.format(-123)); 86 logln(".123: " + fmt.format(.123)); 87 logln(" 123: " + fmt.format(123)); 136 logln(n.toString()); 148 logln("Default locale:" + Locale.getDefault()); 149 logln("rbnf_en:" + rbnf_en.getDefaultRuleSetName()); 150 logln("rbnf_fr:" + rbnf_en.getDefaultRuleSetName()) [all...] |
IntlTestSimpleDateFormatAPI.java | 43 logln("SimpleDateFormat API test---"); logln(""); 49 logln("Testing SimpleDateFormat constructors"); 64 logln("Testing clone(), assignment and equality operators"); 73 logln("Testing various format() methods"); 83 logln( "" + d.getTime() + " formatted to " + res1); 86 logln("" + d.getTime() + " formatted to " + res2); 90 logln("Testing parse()"); 97 logln(text + " parsed into " + result1); 105 logln(text + " parsed into " + result2) [all...] |
IntlTestDecimalFormatAPI.java | 99 logln("DecimalFormat API test---"); logln(""); 104 logln("Testing DecimalFormat constructors"); 123 logln("Testing clone() and equality operators"); 132 logln("Testing various format() methods"); 138 logln("" + d + " is the double value"); 150 logln("" + d + " formatted to " + res1); 153 logln("" + l + " formatted to " + res2); 156 logln("" + d + " formatted to " + res3); 159 logln("" + l + " formatted to " + res4) [all...] |
IntlTestNumberFormatAPI.java | 36 logln("NumberFormat API test---"); logln(""); 41 logln("Testing NumberFormat constructors"); 60 logln("Currency : " + cur.format(1234.5)); 61 logln("Percent : " + per.format(1234.5)); 62 logln("Integer : " + integer.format(1234.5)); 63 logln("Int_fr : " + int_fr.format(1234.5)); 67 logln("Testing equality operator"); 75 logln("Testing various format() methods"); 94 logln( "" + d + " formatted to " + res1) [all...] |
MessageRegression.java | 78 logln("Formatted with one extra param : " + tempBuffer); 85 logln("Formatted with no params : " + tempBuffer); 90 logln("Formatted with extra params : " + tempBuffer); 129 logln("Apply with pattern : " + pattern1); 135 logln("Formatted with 7 : " + tempBuffer); 148 logln("Formatted with null : " + tempBuffer); 149 logln("Apply with pattern : " + pattern2); 154 logln("Formatted with params : " + tempBuffer); 158 logln("Formatted with null : " + tempBuffer); 159 logln("toPattern : " + messageFormatter.toPattern()) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
NormalizerRegressionTests.java | 21 logln("Normalized: " + Normalizer.isNormalized(tamil, Normalizer.NFC, 0)); 39 logln("Normalized: " + Normalizer.isNormalized(sample, Normalizer.NFC, 0)); 44 logln("Normalized: " + Normalizer.isNormalized(sample2, Normalizer.NFC, 0));
|
NormalizationMonkeyTest.java | 55 logln("Test source:" + source); 59 logln("\tNFD(Unicode): " + uncodeNorm); 60 logln("\tNFD(icu4j) : " + icuNorm); 67 logln("\tNFC(Unicode): " + uncodeNorm); 68 logln("\tNFC(icu4j) : " + icuNorm); 75 logln("\tNFKD(Unicode): " + uncodeNorm); 76 logln("\tNFKD(icu4j) : " + icuNorm); 83 logln("\tNFKC(Unicode): " + uncodeNorm); 84 logln("\tNFKC(icu4j) : " + icuNorm);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
TestUScriptRun.java | 105 logln("PASS: UScriptRun failed as expected"); 112 logln("PASS: UScriptRun failed as expected"); 119 logln("PASS: UScriptRun failed as expected"); 126 logln("PASS: UScriptRun failed as expected"); 133 logln("PASS: UScriptRun failed as expected"); 140 logln("PASS: UScriptRun failed as expected"); 147 logln("PASS: UScriptRun failed as expected"); 154 logln("PASS: UScriptRun failed as expected"); 161 logln("PASS: UScriptRun failed as expected"); 168 logln("PASS: UScriptRun failed as expected") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
AstroTest.java | 41 logln(""); 51 logln("longitude(" + longitude + 63 logln("result.ascension(" + result.ascension + 74 logln("result.declination(" + result.declination + 93 logln(""); 103 logln("result.ascension(" + result.ascension + 114 logln("result.declination(" + result.declination + 129 logln("result is " + result + "; " + result.toHmsString()); 145 logln("ecliptic: " + ecl); 158 logln("astro: " + astro) [all...] |