Searched refs:locale_build (Results 1 – 3 of 3) sorted by relevance
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | ULocaleTest.java | 5004 ULocale locale_build = new Builder().setScript(script).build(); in TestUndScript() local 5009 Assert.assertEquals(id, locale_build.getName()); in TestUndScript() 5014 Assert.assertEquals(tag, locale_build.toLanguageTag()); in TestUndScript() 5018 Assert.assertEquals(locale_new, locale_build); in TestUndScript() 5019 Assert.assertEquals(locale_tag, locale_build); in TestUndScript() 5027 Assert.assertEquals(displayName, locale_build.getDisplayName(displayLocale)); in TestUndScript() 5039 ULocale locale_build = new Builder().setRegion(region).build(); in TestUndRegion() local 5044 Assert.assertEquals(id, locale_build.getName()); in TestUndRegion() 5049 Assert.assertEquals(tag, locale_build.toLanguageTag()); in TestUndRegion() 5053 Assert.assertEquals(locale_new, locale_build); in TestUndRegion() [all …]
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ULocaleTest.java | 5073 ULocale locale_build = new Builder().setScript(script).build(); in TestUndScript() local 5078 Assert.assertEquals(id, locale_build.getName()); in TestUndScript() 5083 Assert.assertEquals(tag, locale_build.toLanguageTag()); in TestUndScript() 5087 Assert.assertEquals(locale_new, locale_build); in TestUndScript() 5088 Assert.assertEquals(locale_tag, locale_build); in TestUndScript() 5096 Assert.assertEquals(displayName, locale_build.getDisplayName(displayLocale)); in TestUndScript() 5108 ULocale locale_build = new Builder().setRegion(region).build(); in TestUndRegion() local 5113 Assert.assertEquals(id, locale_build.getName()); in TestUndRegion() 5118 Assert.assertEquals(tag, locale_build.toLanguageTag()); in TestUndRegion() 5122 Assert.assertEquals(locale_new, locale_build); in TestUndRegion() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 6082 Locale locale_build = LocaleBuilder().setScript(script).build(status); in TestUndScript() local 6088 assertEquals("getName()", id, locale_build.getName()); in TestUndScript() 6093 assertEquals("toLanguageTag()", tag, locale_build.toLanguageTag<std::string>(status).c_str()); in TestUndScript() 6103 assertEquals("getDisplayName()", displayName, locale_build.getDisplayName(displayLocale, tmp)); in TestUndScript() 6116 Locale locale_build = LocaleBuilder().setRegion(region).build(status); in TestUndRegion() local 6122 assertEquals("getName()", id, locale_build.getName()); in TestUndRegion() 6127 assertEquals("toLanguageTag()", tag, locale_build.toLanguageTag<std::string>(status).c_str()); in TestUndRegion() 6137 assertEquals("getDisplayName()", displayName, locale_build.getDisplayName(displayLocale, tmp)); in TestUndRegion()
|