Home | History | Annotate | Download | only in cintltst

Lines Matching refs:testcase

55 #define TESTCASE(x) addTest(root, &x, "tsformat/cnumtst/" #x)
59 TESTCASE(TestNumberFormat);
60 TESTCASE(TestSpelloutNumberParse);
61 TESTCASE(TestSignificantDigits);
62 TESTCASE(TestSigDigRounding);
63 TESTCASE(TestNumberFormatPadding);
64 TESTCASE(TestInt64Format);
65 TESTCASE(TestNonExistentCurrency);
66 TESTCASE(TestCurrencyRegression);
67 TESTCASE(TestTextAttributeCrash);
68 TESTCASE(TestRBNFFormat);
69 TESTCASE(TestNBSPInPattern);
70 TESTCASE(TestInt64Parse);
71 TESTCASE(TestParseZero);
72 TESTCASE(TestParseCurrency);
73 TESTCASE(TestCloneWithRBNF);
74 TESTCASE(TestMaxInt);
75 TESTCASE(TestNoExponent);
1867 static void TestNBSPPatternRtNum(const char *testcase, int line, UNumberFormat *nf, double myNumber) {
1873 log_verbose("%s:%d: formatted %.2f into %s\n", testcase, line, myNumber, u_austrcpy(tmpbuf, myString));
1875 log_err("%s:%d: failed format of %.2g with %s\n", testcase, line, myNumber, u_errorName(status));
1880 log_err("%s:%d: failed parse with %s\n", testcase, line, u_errorName(status));
1884 log_err("FAIL: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber);
1886 log_verbose("PASS: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber);
1890 static void TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) {
1891 TestNBSPPatternRtNum(testcase, __LINE__, nf, 12345.);
1892 TestNBSPPatternRtNum(testcase, __LINE__, nf, -12345.);
1898 const char *testcase;
1901 testcase="ar_AE UNUM_CURRENCY";
1904 log_data_err("%s:%d: %s: unum_open failed with %s (Are you missing data?)\n", __FILE__, __LINE__, testcase, u_errorName(status));
1907 TestNBSPPatternRT(testcase, nf);
1913 testcase = "ar_AE special pattern: " SPECIAL_PATTERN;
1917 log_err("%s: unum_applyPattern failed with %s\n", testcase, u_errorName(status));
1919 TestNBSPPatternRT(testcase, nf);
1925 testcase="ar_AE UNUM_DECIMAL";
1928 log_err("%s: unum_open failed with %s\n", testcase, u_errorName(status));
1930 TestNBSPPatternRT(testcase, nf);
1933 testcase="ar_AE UNUM_PERCENT";
1936 log_err("%s: unum_open failed with %s\n", testcase, u_errorName(status));
1938 TestNBSPPatternRT(testcase, nf);