Skip to content

Commit

Permalink
Sort test fixtures alphabetically (#805)
Browse files Browse the repository at this point in the history
Downstream task:
https://phabricator.wikimedia.org/T377796

Co-authored-by: SrishAkaTux <[email protected]>
  • Loading branch information
amire80 and srish authored Nov 1, 2024
1 parent 4504e60 commit 0fbf049
Showing 1 changed file with 66 additions and 66 deletions.
132 changes: 66 additions & 66 deletions test/jquery.ime.test.fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -2559,16 +2559,6 @@ var palochkaVariants = {
{ input: 'a~/e~\\i~^o~-u~v', output: 'áèîōǔ', description: 'Ibibio tilde áèîōǔ' }
]
},
{
description: 'Indonesian keyboard test',
inputmethod: 'id-keyboard',
tests: [
{ input: '~Edamame', output: 'Édamame', description: 'Indonesian keyboard É' },
{ input: 'mer~eka', output: 'meréka', description: 'Indonesian keyboard é' },
{ input: '`E`ek', output: 'Èèk', description: 'Indonesian keyboard È' },
{ input: 'ap`el, b`eb`ek', output: 'apèl, bèbèk', description: 'Indonesian keyboard è' }
]
},
{
description: 'Jawi test',
inputmethod: 'id-jawi',
Expand Down Expand Up @@ -2602,6 +2592,16 @@ var palochkaVariants = {
{ input: 'z', output: 'ز', description: 'Jawi zai' }
]
},
{
description: 'Indonesian keyboard test',
inputmethod: 'id-keyboard',
tests: [
{ input: '~Edamame', output: 'Édamame', description: 'Indonesian keyboard É' },
{ input: 'mer~eka', output: 'meréka', description: 'Indonesian keyboard é' },
{ input: '`E`ek', output: 'Èèk', description: 'Indonesian keyboard È' },
{ input: 'ap`el, b`eb`ek', output: 'apèl, bèbèk', description: 'Indonesian keyboard è' }
]
},
{
description: 'Igbo tilde test',
inputmethod: 'ig-tilde',
Expand Down Expand Up @@ -3156,6 +3156,32 @@ var palochkaVariants = {
{ input: "~'~n~N~x~X", output: 'ꞌn̈N̈ẍẌ', description: 'Jakaltek tilde ꞌn̈N̈ẍẌ' }
]
},
{
description: 'Jawa Latin extended test',
inputmethod: 'jv-keyboard',
tests: [
{ input: '`En`ek Qnqk', output: 'Ènèk Ènèk', description: 'Jawa Latin extended È' },
{ input: '~Enak~e Enake', output: 'Énaké Énaké', description: 'Jawa Latin extended É' },
{ input: '^En^eg Xnxg', output: 'Ênêg Ênêg', description: 'Jawa Latin extended Ê' },
{ input: 'QQ Qq qq EE Ee ee XX Xx xx', output: 'Q Q q E E e X X x', description: 'Normal QEX' },
{ input: '^An^a', output: 'Ånå', description: 'Jawa Latin extended Å' },
{ input: '~An~a', output: 'Ånå', description: 'Jawa Latin extended Å - alternate' },
{ input: 'tula.da .Da .Ta .ta', output: 'tulaḍa Ḍa Ṭa ṭa', description: 'Jawa Latin extended Ḍ and Ṭ' },
{ input: 'tula~da ~Da ~Ta ~ta', output: 'tulaḍa Ḍa Ṭa ṭa', description: 'Jawa Latin extended Ḍ and Ṭ - alternate' }
]
},
{
description: 'Javanese Kongres test',
inputmethod: 'jv-kongres',
tests: [
{ input: "/hncrkdtswlp;jyzmgb'zq", output: '꧋ꦲꦤꦕꦫꦏꦢꦠꦱꦮꦭꦥꦝꦗꦪꦚꦩꦒꦧꦛꦚ꧀', description: 'Javanese Kongres - hanacaraka sequence - adeg-adeg + 20 basic abugidas (aksara nglegena) + virama/pangkon' },
{ input: 'fvhihuhehohxh-h=h!h_h<', output: 'ꦉꦊꦲꦶꦲꦸꦲꦺꦲꦺꦴꦲꦼꦲ꦳ꦲꦀꦲꦵꦲꦷꦲꦹ', description: 'Javanese Kongres - other characters 1 (sandhangan swara)' },
{ input: 'AEIOUM>?NCKDTSPJGBZQXV+:"', output: 'ꦄꦌꦆꦎꦈꦍꦅꦇꦟꦖꦑꦣꦡꦯꦦꦘꦓꦨꦰꦐꦬꦋꦙꦞꦜ', description: 'Javanese Kongres - other characters 2 (aksara swara + murda)' },
{ input: 'hRhYhFhHh[h]hWhL', output: 'ꦲꦿꦲꦾꦲꦽꦲꦃꦲꦁꦲꦂꦲꦻꦲꦴ', description: 'Javanese Kongres - other characters 3 (wyanjana, sesigeg)' },
{ input: '`1234567890', output: '꧇꧑꧒꧓꧔꧕꧖꧗꧘꧙꧐', description: 'Javanese Kongres - other characters 4 (number/angka)' },
{ input: '~@#$%^&*(),.{}', output: '꧊ꧏ꧐꧞꧟꧃꧄꧅꧌꧍꧈꧉꧁꧂', description: 'Javanese Kongres - other characters 5 (symbols)' }
]
},
{
description: 'Javanese transliteration test',
inputmethod: 'jv-transliteration',
Expand Down Expand Up @@ -3199,32 +3225,6 @@ var palochkaVariants = {
{ input: ')', output: '꧍', description: 'last line test' }
]
},
{
description: 'Jawa Latin extended test',
inputmethod: 'jv-keyboard',
tests: [
{ input: '`En`ek Qnqk', output: 'Ènèk Ènèk', description: 'Jawa Latin extended È' },
{ input: '~Enak~e Enake', output: 'Énaké Énaké', description: 'Jawa Latin extended É' },
{ input: '^En^eg Xnxg', output: 'Ênêg Ênêg', description: 'Jawa Latin extended Ê' },
{ input: 'QQ Qq qq EE Ee ee XX Xx xx', output: 'Q Q q E E e X X x', description: 'Normal QEX' },
{ input: '^An^a', output: 'Ånå', description: 'Jawa Latin extended Å' },
{ input: '~An~a', output: 'Ånå', description: 'Jawa Latin extended Å - alternate' },
{ input: 'tula.da .Da .Ta .ta', output: 'tulaḍa Ḍa Ṭa ṭa', description: 'Jawa Latin extended Ḍ and Ṭ' },
{ input: 'tula~da ~Da ~Ta ~ta', output: 'tulaḍa Ḍa Ṭa ṭa', description: 'Jawa Latin extended Ḍ and Ṭ - alternate' }
]
},
{
description: 'Javanese Kongres test',
inputmethod: 'jv-kongres',
tests: [
{ input: "/hncrkdtswlp;jyzmgb'zq", output: '꧋ꦲꦤꦕꦫꦏꦢꦠꦱꦮꦭꦥꦝꦗꦪꦚꦩꦒꦧꦛꦚ꧀', description: 'Javanese Kongres - hanacaraka sequence - adeg-adeg + 20 basic abugidas (aksara nglegena) + virama/pangkon' },
{ input: 'fvhihuhehohxh-h=h!h_h<', output: 'ꦉꦊꦲꦶꦲꦸꦲꦺꦲꦺꦴꦲꦼꦲ꦳ꦲꦀꦲꦵꦲꦷꦲꦹ', description: 'Javanese Kongres - other characters 1 (sandhangan swara)' },
{ input: 'AEIOUM>?NCKDTSPJGBZQXV+:"', output: 'ꦄꦌꦆꦎꦈꦍꦅꦇꦟꦖꦑꦣꦡꦯꦦꦘꦓꦨꦰꦐꦬꦋꦙꦞꦜ', description: 'Javanese Kongres - other characters 2 (aksara swara + murda)' },
{ input: 'hRhYhFhHh[h]hWhL', output: 'ꦲꦿꦲꦾꦲꦽꦲꦃꦲꦁꦲꦂꦲꦻꦲꦴ', description: 'Javanese Kongres - other characters 3 (wyanjana, sesigeg)' },
{ input: '`1234567890', output: '꧇꧑꧒꧓꧔꧕꧖꧗꧘꧙꧐', description: 'Javanese Kongres - other characters 4 (number/angka)' },
{ input: '~@#$%^&*(),.{}', output: '꧊ꧏ꧐꧞꧟꧃꧄꧅꧌꧍꧈꧉꧁꧂', description: 'Javanese Kongres - other characters 5 (symbols)' }
]
},
{
description: 'Georgian Transliteration test',
inputmethod: 'ka-transliteration',
Expand Down Expand Up @@ -5090,13 +5090,6 @@ var palochkaVariants = {
{ input: 'ujdkqdkygonf>', output: 'ကြိုဆိုပါသည်။', description: 'Myanmar mm3 ကြိုဆိုပါသည်။' }
]
},
{
description: 'Shan Keyboard Test',
inputmethod: 'shn-standard',
tests: [
{ input: 'qmrf:wlnf:', output: 'ၸၢမ်းတူၺ်း', description: 'ၸၢမ်းတူၺ်းလွၵ်းမိုဝ်းတႆးၶႃႈ' }
]
},
{
description: 'Myanmar xkb test',
inputmethod: 'my-xkb',
Expand Down Expand Up @@ -5155,6 +5148,16 @@ var palochkaVariants = {
{ input: 'zxcvbnm', output: 'शहअखदलः', description: 'Nepali trad zxcvbnm' }
]
},
{
description: 'Nias tilde test',
inputmethod: 'nia-tilde',
tests: [
{ input: '~O moroi', output: 'Ö moroi', description: 'Nias tilde Ö moroi' },
{ input: 'Sanandr~osa', output: 'Sanandrösa', description: 'Nias tilde Sanandrösa' },
{ input: 'MIYA~WA', output: 'MIYAŴA', description: 'Nias tilde MIYAŴA' },
{ input: 'zali~wa-li~wa', output: 'zaliŵa-liŵa', description: 'Nias tilde zaliŵa-liŵa' }
]
},
{
description: 'Nawdm tilde test',
inputmethod: 'nmz-tilde',
Expand Down Expand Up @@ -5281,16 +5284,6 @@ var palochkaVariants = {
{ input: '~~', output: '~', description: "N'Ko transliteration ~~" }
]
},
{
description: 'Nias tilde test',
inputmethod: 'nia-tilde',
tests: [
{ input: '~O moroi', output: 'Ö moroi', description: 'Nias tilde Ö moroi' },
{ input: 'Sanandr~osa', output: 'Sanandrösa', description: 'Nias tilde Sanandrösa' },
{ input: 'MIYA~WA', output: 'MIYAŴA', description: 'Nias tilde MIYAŴA' },
{ input: 'zali~wa-li~wa', output: 'zaliŵa-liŵa', description: 'Nias tilde zaliŵa-liŵa' }
]
},
{
description: 'Northern Sotho tilde test',
inputmethod: 'nso-tilde',
Expand Down Expand Up @@ -5957,6 +5950,13 @@ var palochkaVariants = {
{ input: 'Mbre~\\s', output: 'Mbrès', description: 'Sängö tilde test Mbrès' }
]
},
{
description: 'Shan Keyboard Test',
inputmethod: 'shn-standard',
tests: [
{ input: 'qmrf:wlnf:', output: 'ၸၢမ်းတူၺ်း', description: 'ၸၢမ်းတူၺ်းလွၵ်းမိုဝ်းတႆးၶႃႈ' }
]
},
{
description: 'Sinhala Wijesekara transliteration tests',
inputmethod: 'si-wijesekara',
Expand Down Expand Up @@ -6101,6 +6101,19 @@ var palochkaVariants = {
{ input: '?', output: '_', description: 'Slovak ? -> _' }
]
},
{
description: 'Serbian keyboard test',
inputmethod: 'sr-kbd',
tests: [
{ input: 'ABVGD}E|YIJKLQM', output: 'АБВГДЂЕЖЗИЈКЛЉМ', description: 'Serbian keyboard АБВГДЂЕЖЗИЈКЛЉМ' },
{ input: 'abvgd]e\\yijklqm', output: 'абвгдђежзијклљм', description: 'Serbian keyboard абвгдђежзијклљм' },
{ input: 'NWOPRST"UFHC:X{', output: 'НЊОПРСТЋУФХЦЧЏШ', description: 'Serbian keyboard НЊОПРСТЋУФХЦЧЏШ' },
{ input: 'nwoprst\'ufhc;x[', output: 'нњопрстћуфхцчџш', description: 'Serbian keyboard нњопрстћуфхцчџш' },
{ input: '-G-KZ', output: 'ЃЌЅ', description: 'Serbian keyboard ЃЌЅ' },
{ input: '-g-kz', output: 'ѓќѕ', description: 'Serbian keyboard ѓќѕ' },
{ input: '@^&*()-_=+<>/?', output: '"&/()=\'?+*;:-_', description: 'Serbian keyboard "&/()=\'?+*;:-_' }
]
},
{
description: 'Sotho tilde test',
inputmethod: 'st-tilde',
Expand All @@ -6117,19 +6130,6 @@ var palochkaVariants = {
{ input: '~e', output: 'é', description: 'Sundanese lowercase é' }
]
},
{
description: 'Serbian keyboard test',
inputmethod: 'sr-kbd',
tests: [
{ input: 'ABVGD}E|YIJKLQM', output: 'АБВГДЂЕЖЗИЈКЛЉМ', description: 'Serbian keyboard АБВГДЂЕЖЗИЈКЛЉМ' },
{ input: 'abvgd]e\\yijklqm', output: 'абвгдђежзијклљм', description: 'Serbian keyboard абвгдђежзијклљм' },
{ input: 'NWOPRST"UFHC:X{', output: 'НЊОПРСТЋУФХЦЧЏШ', description: 'Serbian keyboard НЊОПРСТЋУФХЦЧЏШ' },
{ input: 'nwoprst\'ufhc;x[', output: 'нњопрстћуфхцчџш', description: 'Serbian keyboard нњопрстћуфхцчџш' },
{ input: '-G-KZ', output: 'ЃЌЅ', description: 'Serbian keyboard ЃЌЅ' },
{ input: '-g-kz', output: 'ѓќѕ', description: 'Serbian keyboard ѓќѕ' },
{ input: '@^&*()-_=+<>/?', output: '"&/()=\'?+*;:-_', description: 'Serbian keyboard "&/()=\'?+*;:-_' }
]
},
{
description: 'Silesian keyboard test',
inputmethod: 'szl-tilde',
Expand Down

0 comments on commit 0fbf049

Please sign in to comment.