⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 287869 in webkit


Ignore:
Timestamp:
Jan 10, 2022, 10:34:39 PM (5 years ago)
Author:
ysuzuki@apple.com
Message:

Unreviewed, add a bit more Intl.Locale hourCycle tests to investigate flakiness

  • stress/intl-locale-info.js:

(let.l.new.Intl.Locale.shouldBe):
(shouldBe):

Location:
trunk/JSTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JSTests/ChangeLog

    r287800 r287869  
     12022-01-10  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, add a bit more Intl.Locale hourCycle tests to investigate flakiness
     4
     5        * stress/intl-locale-info.js:
     6        (let.l.new.Intl.Locale.shouldBe):
     7        (shouldBe):
     8
    192022-01-07  Alexey Shvayka  <ashvayka@apple.com>
    210
  • trunk/JSTests/stress/intl-locale-info.js

    r286998 r287869  
    2323    shouldBe(JSON.stringify(locale.calendars), `["gregory","coptic","islamic","islamic-civil","islamic-tbla"]`);
    2424    shouldBe(JSON.stringify(locale.collations), `["compat","emoji","eor"]`);
     25    shouldBe(locale.hourCycle, undefined);
    2526    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    2627    let ns = JSON.stringify(locale.numberingSystems);
     
    3233    shouldBe(JSON.stringify(locale.calendars), `["gregory","coptic","islamic","islamic-civil","islamic-tbla"]`);
    3334    shouldBe(JSON.stringify(locale.collations), `["compat","emoji","eor"]`);
     35    shouldBe(locale.hourCycle, undefined);
    3436    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    3537    shouldBe(JSON.stringify(locale.numberingSystems), `["arab"]`);
     
    4143    shouldBe(calendars === `["islamic-umalqura","islamic-rgsa","islamic","gregory"]` || calendars === `["islamic-umalqura","gregory","islamic","islamic-rgsa"]`, true);
    4244    shouldBe(JSON.stringify(locale.collations), `["compat","emoji","eor"]`);
     45    shouldBe(locale.hourCycle, undefined);
    4346    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    4447    shouldBe(JSON.stringify(locale.numberingSystems), `["arab"]`);
     
    4952    shouldBe(JSON.stringify(locale.calendars), `["gregory","japanese"]`);
    5053    shouldBe(JSON.stringify(locale.collations), `["unihan","emoji","eor"]`);
     54    shouldBe(locale.hourCycle, undefined);
    5155    shouldBe(JSON.stringify(locale.hourCycles), `["h23"]`);
    5256    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    5761    shouldBe(JSON.stringify(locale.calendars), `["gregory","japanese"]`);
    5862    shouldBe(JSON.stringify(locale.collations), `["unihan","emoji","eor"]`);
     63    shouldBe(locale.hourCycle, undefined);
    5964    shouldBe(JSON.stringify(locale.hourCycles), `["h23"]`);
    6065    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    6570    shouldBe(JSON.stringify(locale.calendars), `["gregory"]`);
    6671    shouldBe(JSON.stringify(locale.collations), `["emoji","eor"]`);
     72    shouldBe(locale.hourCycle, undefined);
    6773    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    6874    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    7379    shouldBe(JSON.stringify(locale.calendars), `["gregory"]`);
    7480    shouldBe(JSON.stringify(locale.collations), `["emoji","eor"]`);
     81    shouldBe(locale.hourCycle, undefined);
    7582    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    7683    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    8188    shouldBe(JSON.stringify(locale.calendars), `["gregory","chinese"]`);
    8289    shouldBe(JSON.stringify(locale.collations), `["pinyin","big5han","gb2312","stroke","unihan","zhuyin","emoji","eor"]`);
     90    shouldBe(locale.hourCycle, undefined);
    8391    shouldBe(JSON.stringify(locale.hourCycles), $vm.icuVersion() >= 69 ? `["h23"]` : `["h12"]`);
    8492    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    8997    shouldBe(JSON.stringify(locale.calendars), `["gregory","roc","chinese"]`);
    9098    shouldBe(JSON.stringify(locale.collations), `["stroke","big5han","gb2312","pinyin","unihan","zhuyin","emoji","eor"]`);
     99    shouldBe(locale.hourCycle, undefined);
    91100    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    92101    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    97106    shouldBe(JSON.stringify(locale.calendars), `["gregory","chinese"]`);
    98107    shouldBe(JSON.stringify(locale.collations), `["stroke","big5han","gb2312","pinyin","unihan","zhuyin","emoji","eor"]`);
     108    shouldBe(locale.hourCycle, undefined);
    99109    shouldBe(JSON.stringify(locale.hourCycles), `["h12"]`);
    100110    shouldBe(JSON.stringify(locale.numberingSystems), `["latn"]`);
     
    105115    shouldBe(JSON.stringify(locale.calendars), `["persian","gregory","islamic","islamic-civil","islamic-tbla"]`);
    106116    shouldBe(JSON.stringify(locale.collations), `["emoji","eor"]`);
     117    shouldBe(locale.hourCycle, undefined);
    107118    shouldBe(JSON.stringify(locale.hourCycles), `["h23"]`);
    108119    shouldBe(JSON.stringify(locale.numberingSystems), `["arabext"]`);
Note: See TracChangeset for help on using the changeset viewer.