/external/icu4c/test/intltest/ |
H A D | 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("TestSuit [all...] |
H A D | itrbbi.cpp | 28 logln(#classname "---"); \ 29 logln(""); \ 38 if (exec) logln("TestSuite RuleBasedBreakIterator: ");
|
H A D | 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("erro [all...] |
H A D | ittrans.cpp | 31 logln(#test "---"); logln(); \ 39 if (exec) logln("TestSuite Transliterator");
|
H A D | 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("F [all...] |
H A D | 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("Testin [all...] |
H A D | dcfmapts.cpp | 24 if (exec) logln((UnicodeString)"TestSuite DecimalFormatAPI"); 28 logln((UnicodeString)"DecimalFormat API test---"); logln((UnicodeString)""); 41 logln((UnicodeString)"DecimalFormat Rounding test---"); 47 logln((UnicodeString)"DecimalFormat Rounding Increment test---"); 53 logln((UnicodeString)"CurrencyPluralInfo API test---"); 71 logln((UnicodeString)"Testing DecimalFormat constructors"); 110 logln((UnicodeString)"Testing clone(), assignment and equality operators"); 129 logln((UnicodeString)"Testing various format() methods"); 140 logln( (UnicodeStrin [all...] |
H A D | 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");
|
H A D | 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((UnicodeStrin [all...] |
H A D | 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("Dat [all...] |
H A D | 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((UnicodeStrin [all...] |
H A D | 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: "); 93 logln(UnicodeString("OK: IEEEremainder(") + x + ", " + y + ") is " + result); 209 logln(UnicodeString("OK: max(") + a + ", " + b + ") is " + result); 211 logln(UnicodeString("OK: min(") + a + ", " + b + ") is " + result); 222 logln("NaN tests may show that the expected NaN!=NaN etc. is not true on some"); 223 logln("platforms; however, ICU does not rely on them because it defines"); 224 logln("and uses uprv_isNaN(). Therefore, most failing NaN tests only report warnings."); 234 logln("En [all...] |
H A D | canittst.cpp | 28 logln(#test "---"); \ 29 logln((UnicodeString)""); \ 88 logln("Testing U+%06X", i); 121 logln("Safe Start: " + ss.toPattern(true)); 138 logln("testing permutation"); 145 logln("testing samples"); 152 //logln("Results for: " + name.transliterate(testArray[i])); 163 //logln(++counter + ": " + hex.transliterate(result)); 164 //logln(" = " + name.transliterate(result)); 213 logln("Checke [all...] |
H A D | selfmts.cpp | 26 #define VERBOSE_INT(x) {logln("%s:%d: int %s=%d\n", __FILE__, __LINE__, #x, (x));} 27 #define VERBOSE_USTRING(text) {logln("%s:%d: UnicodeString %s(%d) = ", __FILE__, __LINE__, #text, text.length()); logln(UnicodeString(" \"")+text+UnicodeString("\";"));} 32 if (exec) logln("TestSuite SelectFormat"); 104 logln("SelectFormat Unit Test : Testing SelectFormat pattern syntax."); 130 logln("SelectFormat Unit Test : Creating format object for Testing applying various patterns"); 140 logln("SelectFormat Unit test: Testing applyPattern() and format() ..."); 168 logln("SelectFormat Unit test: Testing format() with keyword method and with invalid keywords..."); 210 logln("SelectFormat API test: Testing SelectFormat constructors ..."); 222 logln("SelectForma [all...] |
H A D | astrotst.cpp | 23 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break 30 if (exec) logln("TestSuite AstroTest"); 89 logln(""); 100 logln((UnicodeString)"Sun position is " + result.toString() + (UnicodeString)"; " /* + result.toHmsString()*/ + " Sun longitude is " + longitude ); 116 logln(""); 124 logln((UnicodeString)"Moon position is " + result.toString() + (UnicodeString)"; " /* + result->toHmsString()*/); 140 logln((UnicodeString)"result is " + result.toString() + (UnicodeString)"; " /* + result.toHmsString()*/ ); 168 logln("ecliptic: " + ecl.toString()); 179 //logln("astr [all...] |
H A D | caltest.cpp | 56 if (exec) logln("TestSuite TestCalendar"); 61 logln("TestDOW943---"); logln(""); 68 logln("TestClonesUnique908---"); logln(""); 75 logln("TestGregorianChange768---"); logln(""); 82 logln("TestDisambiguation765---"); logln(""); 89 logln("TestGMTvsLocal406465 [all...] |
H A D | icusvtst.cpp | 193 logln(message); 211 logln(temp); 228 logln(temp); 245 logln(temp); 262 logln(temp); 282 logln(temp); 295 logln(temp); 305 logln(message + " lhs: " + lhs + " rhs: " + rhs); 316 logln(message + *str); 689 logln(" " [all...] |
H A D | msfmrgts.cpp | 26 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 106 logln("Formatted with one extra param : " + tempBuffer); 125 logln("Formatted with no params : " + tempBuffer); 131 logln("Formatted with extra params : " + tempBuffer); 188 logln("Apply with pattern : " + pattern1); 200 logln("Formatted with 7 : " + tempBuffer); 257 logln("Formatted with null : " + tempBuffer);*/ 258 logln("Apply with pattern : " + pattern2); 265 logln("Formatte [all...] |
H A D | aliastst.cpp | 62 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); 65 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); 81 logln("Calendar(getLocale) old:"+UnicodeString(l1)+" new:"+UnicodeString(l2)); 94 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); 97 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); 114 logln("DateFormat(getLocale) old:%s new:%s",l1,l2); 128 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!"); 131 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); 148 logln("Collator(getLocale) old:%s new:%s", l1.getName(), l2.getName()); 159 logln(UnicodeStrin [all...] |
H A D | 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((UnicodeStrin [all...] |
H A D | tsdate.cpp | 30 if (exec) logln("TestSuite DateFormat"); 34 logln(name); 43 logln(name); 50 logln(name); 57 logln(name); 144 logln(fTestName + " Pattern " + s->toPattern(str)); 212 logln((UnicodeString)"" + k + ": " + date[k] + " F> " + 254 logln((UnicodeString)"" + count + " available locales"); 264 logln(all); 276 logln("quic [all...] |
H A D | dtfmrgts.cpp | 24 #define CASE(id,test) case id: name = #test; if (exec) { logln(#test "---"); logln((UnicodeString)""); test(); } break; 29 // if (exec) logln((UnicodeString)"TestSuite DateFormatRegressionTest"); 70 logln((UnicodeString) "today: " + today); 83 logln("pattern: " + pat); 87 logln("today: " + fmtd); 92 logln("today: " + todayS); 96 logln((UnicodeString)"today date: " + today); 98 logln("Error reparsing date: " + e.getMessage()); 105 logln("roun [all...] |
H A D | tmsgfmt.cpp | 128 logln(locale[i].getDisplayName(buffer)); 134 logln("Number format creation failed."); 144 logln(UnicodeString(" -> ") /* + << dec*/ + toString(result) + UnicodeString("[supposed output for result]")); 147 logln("Number format parse failed."); 166 logln(toAppendTo); 176 logln("The input pattern : " + pattern); 182 logln("The output pattern is : " + fmt->toPattern(result)); 303 logln(((UnicodeString)"MessageFormat for ") + testCases[i] + " creation failed.\n"); 327 logln("TestMessageFormat::PatternTest failed test #3"); 332 logln("TestMessageForma [all...] |
H A D | itformat.cpp | 63 logln(#TestClass " test---"); \ 64 logln((UnicodeString)""); \ 86 if (exec) logln("TestSuite Format: ");
|
H A D | dadrcal.cpp | 43 // logln("Begin "); 55 logln("---"); 56 logln(""); 198 logln(caseString+": "+caseContentsString); 231 logln("PASS: "+caseString+" SET SOURCE calendar match."); 249 logln(operation + " of "+ paramsSet.get((UCalendarDateFields)q) 267 logln(caseString + " SUCCESS: got=expected="+toDate); 268 logln("PASS: "+caseString+" matched!"); 279 logln("PASS: "+caseString+" matched!"); 315 logln("PAS [all...] |