• Elly Fong-Jones's avatar
    cocoa: fix TestMOnDifferentLayouts keyequivalent test · 7918420b
    Elly Fong-Jones authored
    10.15 introduced three new keyboard layouts that this test didn't
    handle:
    * Dhivehi-QWERTY, which behaves like DVORAK-QWERTYCMD but with a
      different base layout
    * Kyrgyz-Cyrillic, which generates cyrillic characters only and
      doesn't match any key equivalents
    * Mongolian-Cyrillic, which is similar
    
    This change:
    1) Generalizes the DVORAK-QWERTYCMD logic to also handle the new
       Dhivehi-QWERTY layout (and others if needed later);
    2) Skips this test on the two new Cyrillic layouts
    
    Bug: 998755
    Change-Id: I1527974222b9e962379c70f8a57da5bc9cdba8e3
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825140
    Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org>
    Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
    Auto-Submit: Elly Fong-Jones <ellyjones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#699884}
    7918420b
nsmenuitem_additions_unittest.mm 17 KB