Home | History | Annotate | Download | only in cintltst

Lines Matching refs:TESTCASE

63 #define TESTCASE(x) addTest(root, &x, "tsformat/cnumtst/" #x)
67 TESTCASE(TestNumberFormat);
68 TESTCASE(TestSpelloutNumberParse);
69 TESTCASE(TestSignificantDigits);
70 TESTCASE(TestSigDigRounding);
71 TESTCASE(TestNumberFormatPadding);
72 TESTCASE(TestInt64Format);
73 TESTCASE(TestNonExistentCurrency);
74 TESTCASE(TestCurrencyRegression);
75 TESTCASE(TestTextAttributeCrash);
76 TESTCASE(TestRBNFFormat);
77 TESTCASE(TestNBSPInPattern);
78 TESTCASE(TestInt64Parse);
79 TESTCASE(TestParseZero);
80 TESTCASE(TestParseCurrency);
81 TESTCASE(TestCloneWithRBNF);
82 TESTCASE(TestMaxInt);
83 TESTCASE(TestNoExponent);
84 TESTCASE(TestUFormattable);
85 TESTCASE(TestUNumberingSystem);
86 TESTCASE(TestCurrencyIsoPluralFormat);
87 TESTCASE(TestContext);
1880 static void TestNBSPPatternRtNum(const char *testcase, int line, UNumberFormat *nf, double myNumber) {
1886 log_verbose("%s:%d: formatted %.2f into %s\n", testcase, line, myNumber, u_austrcpy(tmpbuf, myString));
1888 log_err("%s:%d: failed format of %.2g with %s\n", testcase, line, myNumber, u_errorName(status));
1893 log_err("%s:%d: failed parse with %s\n", testcase, line, u_errorName(status));
1897 log_err("FAIL: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber);
1899 log_verbose("PASS: %s:%d formatted %.2f, parsed into %.2f\n", testcase, line, myNumber, aNumber);
1903 static void TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) {
1904 TestNBSPPatternRtNum(testcase, __LINE__, nf, 12345.);
1905 TestNBSPPatternRtNum(testcase, __LINE__, nf, -12345.);
1911 const char *testcase;
1914 testcase="ar_AE UNUM_CURRENCY";
1917 log_data_err("%s:%d: %s: unum_open failed with %s (Are you missing data?)\n", __FILE__, __LINE__, testcase, u_errorName(status));
1920 TestNBSPPatternRT(testcase, nf);
1926 testcase = "ar_AE special pattern: " SPECIAL_PATTERN;
1930 log_err("%s: unum_applyPattern failed with %s\n", testcase, u_errorName(status));
1932 TestNBSPPatternRT(testcase, nf);
1938 testcase="ar_AE UNUM_DECIMAL";
1941 log_err("%s: unum_open failed with %s\n", testcase, u_errorName(status));
1943 TestNBSPPatternRT(testcase, nf);
1946 testcase="ar_AE UNUM_PERCENT";
1949 log_err("%s: unum_open failed with %s\n", testcase, u_errorName(status));
1951 TestNBSPPatternRT(testcase, nf);