/external/icu/icu4c/source/test/intltest/ |
D | itmajor.cpp | 46 logln(#suite "---"); \ 57 logln("TestSuite Utilities---"); logln(); in runIndexedTest() 66 logln("TestSuite Normalize---"); logln(); in runIndexedTest() 76 logln("TestSuite Collator---"); logln(); in runIndexedTest() 86 logln("TestSuite Regex---"); logln(); in runIndexedTest() 96 logln("TestSuite Format---"); logln(); in runIndexedTest() 106 logln("TestSuite Transliterator---"); logln(); in runIndexedTest() 116 logln("TestSuite RuleBasedBreakIterator---"); logln(); in runIndexedTest() 125 logln("TestSuite RuleBasedNumberFormat----"); logln(); in runIndexedTest() 134 logln("TestSuite RuleBasedNumberFormat RT----"); logln(); in runIndexedTest() [all …]
|
D | tzbdtest.cpp | 21 if (exec) logln("TestSuite TestTimeZoneBoundary"); in runIndexedTest() 26 logln("TestBoundaries---"); logln(""); in runIndexedTest() 33 logln("TestNewRules---"); logln(""); in runIndexedTest() 40 logln("TestStepwise---"); logln(""); in runIndexedTest() 80 logln(UnicodeString("Error: ") + startMode + " not present in " + str); in findDaylightBoundaryUsingDate() 94 logln("Date Before: " + showDate(min)); in findDaylightBoundaryUsingDate() 95 logln("Date After: " + showDate(max)); in findDaylightBoundaryUsingDate() 101 … maxdelta <= INTERVAL) logln(UnicodeString("PASS: Expected boundary at ") + expectedBoundary); in findDaylightBoundaryUsingDate() 145 logln(tz->getID(str) + " Before: " + showDate(min)); in findDaylightBoundaryUsingTimeZone() 146 logln(tz->getID(str) + " After: " + showDate(max)); in findDaylightBoundaryUsingTimeZone() [all …]
|
D | astrotst.cpp | 24 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"… 31 if (exec) logln("TestSuite AstroTest"); in runIndexedTest() 90 logln(""); in TestSolarLongitude() 101 …logln((UnicodeString)"Sun position is " + result.toString() + (UnicodeString)"; " /* + result.toH… in TestSolarLongitude() 117 logln(""); in TestLunarPosition() 125 …logln((UnicodeString)"Moon position is " + result.toString() + (UnicodeString)"; " /* + result->t… in TestLunarPosition() 141 …logln((UnicodeString)"result is " + result.toString() + (UnicodeString)"; " /* + result.toHmsStri… in TestCoordinates() 169 logln("ecliptic: " + ecl.toString()); in TestCoverage() 181 logln((UnicodeString)" date: " + anAstro->getTime()); in TestCoverage() 182 logln((UnicodeString)" cent: " + anAstro->getJulianCentury()); in TestCoverage() [all …]
|
D | dtfmapts.cpp | 28 if (exec) logln("TestSuite DateFormatAPI"); in runIndexedTest() 32 logln("DateFormat API test---"); logln(""); in runIndexedTest() 46 logln("TestEquals---"); logln(""); in runIndexedTest() 53 logln("TestNameHiding---"); logln(""); in runIndexedTest() 60 logln("TestCoverage---"); logln(""); in runIndexedTest() 137 logln("Testing DateFormat constructors"); in testAPI() 151 logln("Testing equality operator"); in testAPI() 161 logln("Testing various format() methods"); in testAPI() 174 logln( (UnicodeString) "" + d + " formatted to " + res1); in testAPI() 177 logln( (UnicodeString) "" + d + " formatted to " + res2); in testAPI() [all …]
|
D | nmfmapts.cpp | 27 if (exec) logln("TestSuite NumberFormatAPI"); in runIndexedTest() 31 logln("NumberFormat API test---"); logln(""); in runIndexedTest() 44 logln("NumberFormat Registration test---"); logln(""); in runIndexedTest() 69 logln("Testing NumberFormat constructors"); in testAPI() 107 logln("Testing equality operator"); in testAPI() 117 logln("Testing various format() methods"); in testAPI() 128 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res1); in testAPI() 131 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res2); in testAPI() 134 logln( (UnicodeString) "" + (int32_t) d + " formatted to " + res3); in testAPI() 137 logln((UnicodeString) "" + (int32_t) l + " formatted to " + res4); in testAPI() [all …]
|
D | tsputil.cpp | 14 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)"… 94 logln(UnicodeString("OK: IEEEremainder(") + x + ", " + y + ") is " + result); 210 logln(UnicodeString("OK: max(") + a + ", " + b + ") is " + result); in maxMinTest() 212 logln(UnicodeString("OK: min(") + a + ", " + b + ") is " + result); in maxMinTest() 223 logln("NaN tests may show that the expected NaN!=NaN etc. is not true on some"); in testNaN() 224 logln("platforms; however, ICU does not rely on them because it defines"); in testNaN() 225 logln("and uses uprv_isNaN(). Therefore, most failing NaN tests only report warnings."); in testNaN() 235 logln("End of NaN tests."); in testNaN() 405 logln("WARNING: NaN > NaN returned TRUE, should be FALSE"); in NaNGT() 409 logln("WARNING: NaN > +Infinity returned TRUE, should be FALSE"); in NaNGT() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | CompactArrayTest.java | 39 logln("equals null: " + cba.equals(null)); in TestByteArrayCoverage() 40 logln("equals self: " + cba.equals(cba)); in TestByteArrayCoverage() 41 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage() 42 logln("equals bogus: " + cba.equals(new Object())); in TestByteArrayCoverage() 43 logln("hash: " + cba.hashCode()); in TestByteArrayCoverage() 56 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage() 57 logln("equals: " + cba.equals(cba4)); in TestByteArrayCoverage() 60 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage() 63 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage() 66 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage() [all …]
|
D | ICUServiceTest.java | 116 logln("service name:" + service.getName()); in TestAPI() 258 logln(" " + id + " --> " + service.get(id)); in TestAPI() 272 logln(" " + e.getKey() + " -- > " + e.getValue()); in TestAPI() 303 logln(" " + e.getKey() + " --> " + e.getValue()); in TestAPI() 316 logln("actual id: " + actualID[0]); in TestAPI() 318 logln("found actual: " + gal + " with display name: " + displayName); in TestAPI() 322 logln("found query: " + gal + " with display name: " + displayName); in TestAPI() 336 logln("found actual: " + bozo + " with display name: " + displayName); in TestAPI() 340 logln("found actual: " + bozo + " with display name: " + displayName); in TestAPI() 379 logln(xid + "? " + service.get(xid)); in TestAPI() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | CompactArrayTest.java | 42 logln("equals null: " + cba.equals(null)); in TestByteArrayCoverage() 43 logln("equals self: " + cba.equals(cba)); in TestByteArrayCoverage() 44 logln("equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage() 45 logln("equals bogus: " + cba.equals(new Object())); in TestByteArrayCoverage() 46 logln("hash: " + cba.hashCode()); in TestByteArrayCoverage() 59 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage() 60 logln("equals: " + cba.equals(cba4)); in TestByteArrayCoverage() 63 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage() 66 logln("equals: " + cba4.equals(cba5)); in TestByteArrayCoverage() 69 logln("modified equals clone: " + cba.equals(cba3)); in TestByteArrayCoverage() [all …]
|
D | ICUServiceTest.java | 119 logln("service name:" + service.getName()); in TestAPI() 261 logln(" " + id + " --> " + service.get(id)); in TestAPI() 275 logln(" " + e.getKey() + " -- > " + e.getValue()); in TestAPI() 306 logln(" " + e.getKey() + " --> " + e.getValue()); in TestAPI() 319 logln("actual id: " + actualID[0]); in TestAPI() 321 logln("found actual: " + gal + " with display name: " + displayName); in TestAPI() 325 logln("found query: " + gal + " with display name: " + displayName); in TestAPI() 339 logln("found actual: " + bozo + " with display name: " + displayName); in TestAPI() 343 logln("found actual: " + bozo + " with display name: " + displayName); in TestAPI() 382 logln(xid + "? " + service.get(xid)); in TestAPI() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessageRegressionTest.java | 82 logln("Formatted with one extra param : " + tempBuffer); in Test4074764() 89 logln("Formatted with no params : " + tempBuffer); in Test4074764() 94 logln("Formatted with extra params : " + tempBuffer); in Test4074764() 134 logln("Apply with pattern : " + pattern1); in Test4031438() 140 logln("Formatted with 7 : " + tempBuffer); in Test4031438() 153 logln("Formatted with null : " + tempBuffer); in Test4031438() 154 logln("Apply with pattern : " + pattern2); in Test4031438() 159 logln("Formatted with params : " + tempBuffer); in Test4031438() 163 logln("Formatted with null : " + tempBuffer); in Test4031438() 164 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() [all …]
|
D | DateFormatRegressionTestJ.java | 77 logln( "Pattern = " + aSimpleDF.toPattern()); in Test4148168() 78 logln( "Format = " + aSimpleDF.format(d)); in Test4148168() 92 logln("dateStyle = 2" + "\t timeStyle = -2"); in Test4213086() 93 logln("Exception caught!"); in Test4213086() 101 logln("dateStyle = 4" + "\t timeStyle = 2"); in Test4213086() 102 logln("Exception caught!"); in Test4213086() 103 logln("********************************************"); in Test4213086() 111 logln("dateStyle = -12" + "\t timeStyle = -12"); in Test4213086() 112 logln("Exception caught!"); in Test4213086() 113 logln("********************************************"); in Test4213086() [all …]
|
D | IntlTestSimpleDateFormatAPI.java | 48 logln("SimpleDateFormat API test---"); logln(""); in TestAPI() 54 logln("Testing SimpleDateFormat constructors"); in TestAPI() 69 logln("Testing clone(), assignment and equality operators"); in TestAPI() 78 logln("Testing various format() methods"); in TestAPI() 88 logln( "" + d.getTime() + " formatted to " + res1); in TestAPI() 91 logln("" + d.getTime() + " formatted to " + res2); in TestAPI() 95 logln("Testing parse()"); in TestAPI() 102 logln(text + " parsed into " + result1); in TestAPI() 110 logln(text + " parsed into " + result2); in TestAPI() 114 logln("Testing getters and setters"); in TestAPI() [all …]
|
D | IntlTestDecimalFormatAPI.java | 104 logln("DecimalFormat API test---"); logln(""); in TestAPI() 109 logln("Testing DecimalFormat constructors"); in TestAPI() 128 logln("Testing clone() and equality operators"); in TestAPI() 137 logln("Testing various format() methods"); in TestAPI() 143 logln("" + d + " is the double value"); in TestAPI() 155 logln("" + d + " formatted to " + res1); in TestAPI() 158 logln("" + l + " formatted to " + res2); in TestAPI() 161 logln("" + d + " formatted to " + res3); in TestAPI() 164 logln("" + l + " formatted to " + res4); in TestAPI() 168 logln("Testing parse()"); in TestAPI() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessageRegressionTest.java | 85 logln("Formatted with one extra param : " + tempBuffer); in Test4074764() 92 logln("Formatted with no params : " + tempBuffer); in Test4074764() 97 logln("Formatted with extra params : " + tempBuffer); in Test4074764() 137 logln("Apply with pattern : " + pattern1); in Test4031438() 143 logln("Formatted with 7 : " + tempBuffer); in Test4031438() 156 logln("Formatted with null : " + tempBuffer); in Test4031438() 157 logln("Apply with pattern : " + pattern2); in Test4031438() 162 logln("Formatted with params : " + tempBuffer); in Test4031438() 166 logln("Formatted with null : " + tempBuffer); in Test4031438() 167 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() [all …]
|
D | GlobalizationPreferencesTest.java | 54 logln("Default locale: " + defLocale.toString()); in TestDefault() 58 logln("Primary locale: " + gpLocale0.toString()); in TestDefault() 65 logln("Secondary locale: " + gpLocale1.toString()); in TestDefault() 79 logln("Calendar locale: " + calLocale.toString()); in TestDefault() 87 logln("Collator locale: " + collLocale.toString()); in TestDefault() 95 logln("BreakIterator locale: " + brkLocale.toString()); in TestDefault() 113 logln("NumberFormat locale: " + nfLocale.toString()); in TestDefault() 121 logln("Create a new GlobalizationPreference object"); in TestFreezable() 127 logln("Call reset()"); in TestFreezable() 139 logln("Freeze the object"); in TestFreezable() [all …]
|
D | DateFormatRegressionTestJ.java | 80 logln( "Pattern = " + aSimpleDF.toPattern()); in Test4148168() 81 logln( "Format = " + aSimpleDF.format(d)); in Test4148168() 95 logln("dateStyle = 2" + "\t timeStyle = -2"); in Test4213086() 96 logln("Exception caught!"); in Test4213086() 104 logln("dateStyle = 4" + "\t timeStyle = 2"); in Test4213086() 105 logln("Exception caught!"); in Test4213086() 106 logln("********************************************"); in Test4213086() 114 logln("dateStyle = -12" + "\t timeStyle = -12"); in Test4213086() 115 logln("Exception caught!"); in Test4213086() 116 logln("********************************************"); in Test4213086() [all …]
|
D | IntlTestSimpleDateFormatAPI.java | 51 logln("SimpleDateFormat API test---"); logln(""); in TestAPI() 57 logln("Testing SimpleDateFormat constructors"); in TestAPI() 72 logln("Testing clone(), assignment and equality operators"); in TestAPI() 81 logln("Testing various format() methods"); in TestAPI() 91 logln( "" + d.getTime() + " formatted to " + res1); in TestAPI() 94 logln("" + d.getTime() + " formatted to " + res2); in TestAPI() 98 logln("Testing parse()"); in TestAPI() 105 logln(text + " parsed into " + result1); in TestAPI() 113 logln(text + " parsed into " + result2); in TestAPI() 117 logln("Testing getters and setters"); in TestAPI() [all …]
|
D | IntlTestDecimalFormatAPI.java | 107 logln("DecimalFormat API test---"); logln(""); in TestAPI() 112 logln("Testing DecimalFormat constructors"); in TestAPI() 131 logln("Testing clone() and equality operators"); in TestAPI() 140 logln("Testing various format() methods"); in TestAPI() 146 logln("" + d + " is the double value"); in TestAPI() 158 logln("" + d + " formatted to " + res1); in TestAPI() 161 logln("" + l + " formatted to " + res2); in TestAPI() 164 logln("" + d + " formatted to " + res3); in TestAPI() 167 logln("" + l + " formatted to " + res4); in TestAPI() 171 logln("Testing parse()"); in TestAPI() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/ |
D | TimeScaleAPITest.java | 47 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromBigDecimal() 62 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromBigDecimal() 73 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromDouble() 88 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromDouble() 99 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromLong() 114 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromLong() 127 logln("PASS: UniversalTimeScale.from failed as expected"); in TestFromLong() 136 logln("from(0L, " + scale + ") returned " + result); in TestFromLong() 143 logln("from(fromMin, " + scale + ") returned " + result); in TestFromLong() 153 logln("PASS: UniversalTimeScale.from failed as expected"); in TestFromLong() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/ |
D | TimeScaleAPITest.java | 44 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromBigDecimal() 59 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromBigDecimal() 70 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromDouble() 85 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromDouble() 96 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromLong() 111 logln("PASS: UniversalTimeScale.bigDecimalFrom failed as expected"); in TestBigDecimalFromLong() 124 logln("PASS: UniversalTimeScale.from failed as expected"); in TestFromLong() 133 logln("from(0L, " + scale + ") returned " + result); in TestFromLong() 140 logln("from(fromMin, " + scale + ") returned " + result); in TestFromLong() 150 logln("PASS: UniversalTimeScale.from failed as expected"); in TestFromLong() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 51 logln("Default locale: " + defLocale.toString()); in TestDefault() 55 logln("Primary locale: " + gpLocale0.toString()); in TestDefault() 62 logln("Secondary locale: " + gpLocale1.toString()); in TestDefault() 76 logln("Calendar locale: " + calLocale.toString()); in TestDefault() 84 logln("Collator locale: " + collLocale.toString()); in TestDefault() 92 logln("BreakIterator locale: " + brkLocale.toString()); in TestDefault() 110 logln("NumberFormat locale: " + nfLocale.toString()); in TestDefault() 118 logln("Create a new GlobalizationPreference object"); in TestFreezable() 124 logln("Call reset()"); in TestFreezable() 136 logln("Freeze the object"); in TestFreezable() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | AstroTest.java | 45 logln(""); in TestSolarLongitude() 55 logln("longitude(" + longitude + in TestSolarLongitude() 67 logln("result.ascension(" + result.ascension + in TestSolarLongitude() 78 logln("result.declination(" + result.declination + in TestSolarLongitude() 98 logln(""); in TestLunarPosition() 108 logln("result.ascension(" + result.ascension + in TestLunarPosition() 119 logln("result.declination(" + result.declination + in TestLunarPosition() 135 logln("result is " + result + "; " + result.toHmsString()); in TestCoordinates() 152 logln("ecliptic: " + ecl); in TestCoverage() 165 logln("astro: " + astro); in TestCoverage() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | AstroTest.java | 48 logln(""); in TestSolarLongitude() 58 logln("longitude(" + longitude + in TestSolarLongitude() 70 logln("result.ascension(" + result.ascension + in TestSolarLongitude() 81 logln("result.declination(" + result.declination + in TestSolarLongitude() 101 logln(""); in TestLunarPosition() 111 logln("result.ascension(" + result.ascension + in TestLunarPosition() 122 logln("result.declination(" + result.declination + in TestLunarPosition() 138 logln("result is " + result + "; " + result.toHmsString()); in TestCoordinates() 155 logln("ecliptic: " + ecl); in TestCoverage() 168 logln("astro: " + astro); in TestCoverage() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | BreakIteratorTest.java | 106 logln(out.toString()); in debugLogln() 171 logln("getAvailableULocales() returned " + ulocList.length + " locales"); in TestGetAvailableLocales() 312 logln("Constructing empty builder\n"); in TestFilteredBreakIteratorBuilder() 315 logln("Constructing base BI\n"); in TestFilteredBreakIteratorBuilder() 318 logln("Building new BI\n"); in TestFilteredBreakIteratorBuilder() 325 logln("Constructing empty builder\n"); in TestFilteredBreakIteratorBuilder() 328 logln("Adding Mr. as an exception\n"); in TestFilteredBreakIteratorBuilder() 336 logln("Constructing base BI\n"); in TestFilteredBreakIteratorBuilder() 339 logln("Building new BI\n"); in TestFilteredBreakIteratorBuilder() 342 logln("Testing:"); in TestFilteredBreakIteratorBuilder() [all …]
|