Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8bc644de authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Revert "Fix unit test failure due to translation glitch"

This reverts commit f8705dd2.

Change-Id: I7ddc1eced8109ff0bb50eb8a217db0d276848a1e
parent bc4ae6bd
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -418,17 +418,9 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
                        SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI));
                // These are preliminary subtypes and may not exist.
                if (HI_LATN != null) {
                    // TODO: Uncommented because of the current translation of these strings
                    // 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",
                    assertEquals("hi_ZZ", "हिंग्लिश",
                            SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN));
                    assertEquals("hi_ZZ", "Hinglish (Dvorak)",
                    assertEquals("hi_ZZ", "हिंग्लिश (Dvorak)",
                            SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(HI_LATN_DVORAK));
                }
                return null;