am c4b6ac72: Update SubtypeLocaleUtilsTests to test Serbian Latin in Seribian

* commit 'c4b6ac72c532b3315d7ff1da0d490545922ec483':
  Update SubtypeLocaleUtilsTests to test Serbian Latin in Seribian
main
Tadashi G. Takaoka 2014-11-12 23:04:06 +00:00 committed by Android Git Automerger
commit 1f34cfa59f
1 changed files with 6 additions and 8 deletions

View File

@ -434,8 +434,8 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
// locale layout | display name
// ------ -------------- - ----------------------
// sr south_slavic F Српски
// sr_ZZ serbian_qwertz F српски (латиница)
// sr_ZZ qwerty T српски (QWERTY)
// sr_ZZ serbian_qwertz F Српски (латиница)
// sr_ZZ qwerty T Српски (QWERTY)
public void testSerbianLatinSubtypesInSerbianSystemLocale() {
final RunInLocale<Void> tests = new RunInLocale<Void>() {
@ -445,12 +445,10 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR));
// These are preliminary subtypes and may not exist.
if (SR_LATN != null) {
// TODO: Uncommented because of the current translation of these strings
// in Seriban are described in Latin script.
// assertEquals("sr_ZZ", "српски (латиница)",
// SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN));
// assertEquals("sr_ZZ", "српски (QWERTY)",
// SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN_QWERTY));
assertEquals("sr_ZZ", "Српски (латиница)",
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN));
assertEquals("sr_ZZ", "Српски (QWERTY)",
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN_QWERTY));
}
return null;
}