From 67a54c4bbe4a6a097a4ceacfd67667000c70e595 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Tue, 26 Feb 2013 16:58:23 +0900 Subject: [PATCH] Fix failed unit test due to resource string change Change-Id: Ie7acdf6895a9769eb43ea8a1c70c0d13b32ed349 --- .../com/android/inputmethod/latin/SubtypeLocaleTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java b/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java index 1e2036662..abfaf3062 100644 --- a/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java +++ b/tests/src/com/android/inputmethod/latin/SubtypeLocaleTests.java @@ -189,7 +189,7 @@ public class SubtypeLocaleTests extends AndroidTestCase { SubtypeLocale.getSubtypeDisplayName(FR_CA)); assertEquals("de ", "Deutsch", SubtypeLocale.getSubtypeDisplayName(DE)); - assertEquals("zz ", "Pas de langue (QWERTY)", + assertEquals("zz ", "Aucune langue (QWERTY)", SubtypeLocale.getSubtypeDisplayName(ZZ)); return null; } @@ -301,7 +301,7 @@ public class SubtypeLocaleTests extends AndroidTestCase { // fr azerty F Français // fr_CA qwerty F Français (Canada) // de qwertz F Allemand - // zz qwerty F Pas de langue (QWERTY) + // zz qwerty F Aucune langue (QWERTY) // fr qwertz T Français (QWERTZ) // de qwerty T Allemand (QWERTY) // en_US azerty T Anglais (États-Unis) (AZERTY) exception @@ -325,7 +325,7 @@ public class SubtypeLocaleTests extends AndroidTestCase { SubtypeLocale.getSubtypeDisplayNameInSystemLocale(FR_CA)); assertEquals("de ", "Allemand", SubtypeLocale.getSubtypeDisplayNameInSystemLocale(DE)); - assertEquals("zz ", "Pas de langue (QWERTY)", + assertEquals("zz ", "Aucune langue (QWERTY)", SubtypeLocale.getSubtypeDisplayNameInSystemLocale(ZZ)); return null; }