Update SubtypeLocaleUtilsTests to test Serbian Latin in Seribian
Change-Id: I80399b311ff5ed35f246e7e3d06d7386f03a0684
This commit is contained in:
parent
9f46834839
commit
c4b6ac72c5
1 changed files with 6 additions and 8 deletions
|
@ -434,8 +434,8 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
// locale layout | display name
|
// locale layout | display name
|
||||||
// ------ -------------- - ----------------------
|
// ------ -------------- - ----------------------
|
||||||
// sr south_slavic F Српски
|
// sr south_slavic F Српски
|
||||||
// sr_ZZ serbian_qwertz F српски (латиница)
|
// sr_ZZ serbian_qwertz F Српски (латиница)
|
||||||
// sr_ZZ qwerty T српски (QWERTY)
|
// sr_ZZ qwerty T Српски (QWERTY)
|
||||||
|
|
||||||
public void testSerbianLatinSubtypesInSerbianSystemLocale() {
|
public void testSerbianLatinSubtypesInSerbianSystemLocale() {
|
||||||
final RunInLocale<Void> tests = new RunInLocale<Void>() {
|
final RunInLocale<Void> tests = new RunInLocale<Void>() {
|
||||||
|
@ -445,12 +445,10 @@ public class SubtypeLocaleUtilsTests extends AndroidTestCase {
|
||||||
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR));
|
||||||
// These are preliminary subtypes and may not exist.
|
// These are preliminary subtypes and may not exist.
|
||||||
if (SR_LATN != null) {
|
if (SR_LATN != null) {
|
||||||
// TODO: Uncommented because of the current translation of these strings
|
assertEquals("sr_ZZ", "Српски (латиница)",
|
||||||
// in Seriban are described in Latin script.
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN));
|
||||||
// assertEquals("sr_ZZ", "српски (латиница)",
|
assertEquals("sr_ZZ", "Српски (QWERTY)",
|
||||||
// SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN));
|
SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN_QWERTY));
|
||||||
// assertEquals("sr_ZZ", "српски (QWERTY)",
|
|
||||||
// SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(SR_LATN_QWERTY));
|
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue