am 8bc644de: Revert "Fix unit test failure due to translation glitch"
* commit '8bc644de64c4e94c6e60d6011bb10e74d1c1459c': Revert "Fix unit test failure due to translation glitch"main
commit
d3481e9f4d
|
@ -418,17 +418,9 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI));
|
||||||
// These are preliminary subtypes and may not exist.
|
// These are preliminary subtypes and may not exist.
|
||||||
if (HI_LATN != null) {
|
if (HI_LATN != null) {
|
||||||
// TODO: Uncommented because of the current translation of these strings
|
assertEquals("hi_ZZ", "हिंग्लिश",
|
||||||
// in Hindi are described in Latin script.
|
|
||||||
// assertEquals("hi_ZZ", "हिंग्लिश",
|
|
||||||
// SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN));
|
|
||||||
// assertEquals("hi_ZZ", "हिंग्लिश (Dvorak)",
|
|
||||||
// SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN_DVORAK));
|
|
||||||
// TODO: Remove these tests once the translation of these strings in Hindi
|
|
||||||
// are described in Devanagari script.
|
|
||||||
assertEquals("hi_ZZ", "Hinglish",
|
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN));
|
||||||
assertEquals("hi_ZZ", "Hinglish (Dvorak)",
|
assertEquals("hi_ZZ", "हिंग्लिश (Dvorak)",
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN_DVORAK));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN_DVORAK));
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue