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

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

Update SubtypeLocaleUtilsTests to test Serbian Latin in Seribian

Change-Id: I80399b311ff5ed35f246e7e3d06d7386f03a0684
parent 9f468348
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -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;
            }