Home
last modified time | relevance | path

Searched refs:expectFormat (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ddtfmttst.h291 void expectFormat(const char **data, int32_t data_length,
Ddtfmrgts.cpp1518 … const char* expectFormat = "1970"; // format for skeleton y in Thai locale with Gregorian calendar in Test12902_yWithGregoCalInThaiLoc() local
1537 } else if (getFmtStr != expectFormat) { in Test12902_yWithGregoCalInThaiLoc()
1540 …"Error in DateFormat::format for th with Grego cal, expect: %s, get: %s", expectFormat, getFormat); in Test12902_yWithGregoCalInThaiLoc()
1553 } else if (getFmtStr != expectFormat) { in Test12902_yWithGregoCalInThaiLoc()
1556 …"Error in DateFormat::format for th with Grego cal, expect: %s, get: %s", expectFormat, getFormat); in Test12902_yWithGregoCalInThaiLoc()
Ddtfmttst.cpp1866 expectFormat(EN_DATA, UPRV_LENGTHOF(EN_DATA), Locale("en", "", "")); in TestNarrowNames()
1867 expectFormat(CS_DATA, UPRV_LENGTHOF(CS_DATA), Locale("cs", "", "")); in TestNarrowNames()
1868 expectFormat(CA_DATA, UPRV_LENGTHOF(CA_DATA), Locale("ca", "", "")); in TestNarrowNames()
2116 void DateFormatTest::expectFormat(const char** data, int32_t data_length, in expectFormat() function in DateFormatTest
4433 UnicodeString expectFormat; member
4475 if (getFormat.compare(itemPtr->expectFormat) != 0) { in TestFormatsWithNumberSystems()
4476 itemPtr->expectFormat.extract(0, itemPtr->expectFormat.length(), bExpected, kBBufMax); in TestFormatsWithNumberSystems()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTest.java1248 …final String expectFormat = "1970"; // format for skeleton y in Thai locale with Gregorian calendar in Test12902_yWithGregoCalInThaiLoc() local
1255 if (!getFormat.equals(expectFormat)) { in Test12902_yWithGregoCalInThaiLoc()
1256 …errln("Error in DateFormat.format for th with Grego cal, expect: " + expectFormat + ", get: " + ge… in Test12902_yWithGregoCalInThaiLoc()
1265 if (!getFormat.equals(expectFormat)) { in Test12902_yWithGregoCalInThaiLoc()
1266 …errln("Error in DateFormat.format for th-u-ca-gregory, expect: " + expectFormat + ", get: " + getF… in Test12902_yWithGregoCalInThaiLoc()
DDateFormatTest.java3126 expectFormat(EN_DATA, new Locale("en", "", "")); in TestNarrowNames()
3127 expectFormat(CS_DATA, new Locale("cs", "", "")); in TestNarrowNames()
3128 expectFormat(CA_DATA, new Locale("ca", "", "")); in TestNarrowNames()
3288 void expectFormat(String[] data, Locale loc) in expectFormat() method in DateFormatTest
4500 public String expectFormat; in TestFormatsWithNumberSystems() field in DateFormatTest.TestFmtWithNumSysItem
4506 expectFormat = exp; in TestFormatsWithNumberSystems()
4524 if (getFormat.toString().compareTo(item.expectFormat) != 0) { in TestFormatsWithNumberSystems()
4525 …IL: date format for locale " + item.localeID + ", expected \"" + item.expectFormat + "\", got \"" … in TestFormatsWithNumberSystems()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatRegressionTest.java1251 …final String expectFormat = "1970"; // format for skeleton y in Thai locale with Gregorian calendar in Test12902_yWithGregoCalInThaiLoc() local
1258 if (!getFormat.equals(expectFormat)) { in Test12902_yWithGregoCalInThaiLoc()
1259 …errln("Error in DateFormat.format for th with Grego cal, expect: " + expectFormat + ", get: " + ge… in Test12902_yWithGregoCalInThaiLoc()
1268 if (!getFormat.equals(expectFormat)) { in Test12902_yWithGregoCalInThaiLoc()
1269 …errln("Error in DateFormat.format for th-u-ca-gregory, expect: " + expectFormat + ", get: " + getF… in Test12902_yWithGregoCalInThaiLoc()
DDateFormatTest.java3129 expectFormat(EN_DATA, new Locale("en", "", "")); in TestNarrowNames()
3130 expectFormat(CS_DATA, new Locale("cs", "", "")); in TestNarrowNames()
3131 expectFormat(CA_DATA, new Locale("ca", "", "")); in TestNarrowNames()
3291 void expectFormat(String[] data, Locale loc) in expectFormat() method in DateFormatTest
4503 public String expectFormat; in TestFormatsWithNumberSystems() field in DateFormatTest.TestFmtWithNumSysItem
4509 expectFormat = exp; in TestFormatsWithNumberSystems()
4527 if (getFormat.toString().compareTo(item.expectFormat) != 0) { in TestFormatsWithNumberSystems()
4528 …IL: date format for locale " + item.localeID + ", expected \"" + item.expectFormat + "\", got \"" … in TestFormatsWithNumberSystems()