From 8bc644de64c4e94c6e60d6011bb10e74d1c1459c Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Wed, 10 Dec 2014 07:17:07 +0000 Subject: [PATCH] Revert "Fix unit test failure due to translation glitch" This reverts commit f8705dd2bdb9aeb61860e6a0125102afc63a351d. Change-Id: I7ddc1eced8109ff0bb50eb8a217db0d276848a1e --- .../latin/utils/SubtypeLocaleUtilsTests.java | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/src/com/android/inputmethod/latin/utils/SubtypeLocaleUtilsTests.java b/tests/src/com/android/inputmethod/latin/utils/SubtypeLocaleUtilsTests.java index 111d5c56a..b5232a3da 100644 --- a/tests/src/com/android/inputmethod/latin/utils/SubtypeLocaleUtilsTests.java +++ b/tests/src/com/android/inputmethod/latin/utils/SubtypeLocaleUtilsTests.java @@ -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;