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 | 5138 ULocale locale_build = new Builder().setScript(script).build(); in TestUndScript() local 5143 Assert.assertEquals(id, locale_build.getName()); in TestUndScript() 5148 Assert.assertEquals(tag, locale_build.toLanguageTag()); in TestUndScript() 5152 Assert.assertEquals(locale_new, locale_build); in TestUndScript() 5153 Assert.assertEquals(locale_tag, locale_build); in TestUndScript() 5161 Assert.assertEquals(displayName, locale_build.getDisplayName(displayLocale)); in TestUndScript() 5173 ULocale locale_build = new Builder().setRegion(region).build(); in TestUndRegion() local 5178 Assert.assertEquals(id, locale_build.getName()); in TestUndRegion() 5183 Assert.assertEquals(tag, locale_build.toLanguageTag()); in TestUndRegion() 5187 Assert.assertEquals(locale_new, locale_build); in TestUndRegion() [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | loctest.cpp | 6151 Locale locale_build = LocaleBuilder().setScript(script).build(status); in TestUndScript() local 6157 assertEquals("getName()", id, locale_build.getName()); in TestUndScript() 6162 assertEquals("toLanguageTag()", tag, locale_build.toLanguageTag<std::string>(status).c_str()); in TestUndScript() 6172 assertEquals("getDisplayName()", displayName, locale_build.getDisplayName(displayLocale, tmp)); in TestUndScript() 6185 Locale locale_build = LocaleBuilder().setRegion(region).build(status); in TestUndRegion() local 6191 assertEquals("getName()", id, locale_build.getName()); in TestUndRegion() 6196 assertEquals("toLanguageTag()", tag, locale_build.toLanguageTag<std::string>(status).c_str()); in TestUndRegion() 6206 assertEquals("getDisplayName()", displayName, locale_build.getDisplayName(displayLocale, tmp)); in TestUndRegion()
|