提交 f0408b85 编写于 作者: O openharmony_ci 提交者: Gitee

!740 sync from master to lts

Merge pull request !740 from 杨清/cherry-pick-1632621975
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"description": "Configuration for intljs Tests", "description": "Configuration for intljs Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "60000", "test-timeout": "120000",
"package": "ohos.intl.test", "package": "ohos.intl.test",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
......
...@@ -165,8 +165,8 @@ describe('I18nTest', function () { ...@@ -165,8 +165,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1200 * @tc.number SUB_GLOBAL_I18N_JS_1200
* @tc.name format the language in locale * @tc.name setSystemRegion with US param
* @tc.desc check the language * @tc.desc check the region
*/ */
it('i18n_test_1200', 0, function () { it('i18n_test_1200', 0, function () {
let value = I18n.setSystemRegion('US'); let value = I18n.setSystemRegion('US');
...@@ -179,8 +179,8 @@ describe('I18nTest', function () { ...@@ -179,8 +179,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1300 * @tc.number SUB_GLOBAL_I18N_JS_1300
* @tc.name format the language in locale * @tc.name setSystemRegion with null param
* @tc.desc check the language * @tc.desc check the region
*/ */
it('i18n_test_1300', 0, function () { it('i18n_test_1300', 0, function () {
let value = I18n.setSystemRegion(''); let value = I18n.setSystemRegion('');
...@@ -193,8 +193,8 @@ describe('I18nTest', function () { ...@@ -193,8 +193,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1400 * @tc.number SUB_GLOBAL_I18N_JS_1400
* @tc.name format the language in locale * @tc.name setSystemRegion with AA param
* @tc.desc check the language * @tc.desc check the region
*/ */
it('i18n_test_1400', 0, function () { it('i18n_test_1400', 0, function () {
let value = I18n.setSystemRegion('AA'); let value = I18n.setSystemRegion('AA');
...@@ -204,8 +204,8 @@ describe('I18nTest', function () { ...@@ -204,8 +204,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1500 * @tc.number SUB_GLOBAL_I18N_JS_1500
* @tc.name format the language in locale * @tc.name setSystemRegion with zh-CN param
* @tc.desc check the language * @tc.desc check the reigon
*/ */
it('i18n_test_1500', 0, function () { it('i18n_test_1500', 0, function () {
let value = I18n.setSystemRegion('zh-CN'); let value = I18n.setSystemRegion('zh-CN');
...@@ -215,8 +215,8 @@ describe('I18nTest', function () { ...@@ -215,8 +215,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1600 * @tc.number SUB_GLOBAL_I18N_JS_1600
* @tc.name format the language in locale * @tc.name setSystemLocale with en-Latn-US param
* @tc.desc check the language * @tc.desc check the locale
*/ */
it('i18n_test_1600', 0, function () { it('i18n_test_1600', 0, function () {
let value = I18n.setSystemLocale('en-Latn-US'); let value = I18n.setSystemLocale('en-Latn-US');
...@@ -229,8 +229,8 @@ describe('I18nTest', function () { ...@@ -229,8 +229,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1700 * @tc.number SUB_GLOBAL_I18N_JS_1700
* @tc.name format the language in locale * @tc.name setSystemLocale with null param
* @tc.desc check the language * @tc.desc check the locale
*/ */
it('i18n_test_1700', 0, function () { it('i18n_test_1700', 0, function () {
let value = I18n.setSystemLocale(''); let value = I18n.setSystemLocale('');
...@@ -240,8 +240,8 @@ describe('I18nTest', function () { ...@@ -240,8 +240,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1800 * @tc.number SUB_GLOBAL_I18N_JS_1800
* @tc.name format the language in locale * @tc.name setSystemLocale with aa param
* @tc.desc check the language * @tc.desc check the locale
*/ */
it('i18n_test_1800', 0, function () { it('i18n_test_1800', 0, function () {
let value = I18n.setSystemLocale('aa'); let value = I18n.setSystemLocale('aa');
...@@ -251,8 +251,8 @@ describe('I18nTest', function () { ...@@ -251,8 +251,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_1900 * @tc.number SUB_GLOBAL_I18N_JS_1900
* @tc.name format the language in locale * @tc.name setSystemLocale with zh-AAAA param
* @tc.desc check the language * @tc.desc check the locale
*/ */
it('i18n_test_1900', 0, function () { it('i18n_test_1900', 0, function () {
let value = I18n.setSystemLocale('zh-AAAA'); let value = I18n.setSystemLocale('zh-AAAA');
...@@ -262,8 +262,8 @@ describe('I18nTest', function () { ...@@ -262,8 +262,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2000 * @tc.number SUB_GLOBAL_I18N_JS_2000
* @tc.name format the language in locale * @tc.name setSystemLocale with zh-Hans-AA param
* @tc.desc check the language * @tc.desc check the locale
*/ */
it('i18n_test_2000', 0, function () { it('i18n_test_2000', 0, function () {
let value = I18n.setSystemLocale('zh-Hans-AA'); let value = I18n.setSystemLocale('zh-Hans-AA');
...@@ -273,7 +273,7 @@ describe('I18nTest', function () { ...@@ -273,7 +273,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2100 * @tc.number SUB_GLOBAL_I18N_JS_2100
* @tc.name format the language in locale * @tc.name getSystemLanguages
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2100', 0, function () { it('i18n_test_2100', 0, function () {
...@@ -285,8 +285,8 @@ describe('I18nTest', function () { ...@@ -285,8 +285,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2200 * @tc.number SUB_GLOBAL_I18N_JS_2200
* @tc.name format the language in locale * @tc.name getSystemCountries with en param
* @tc.desc check the language * @tc.desc check the country
*/ */
it('i18n_test_2200', 0, function () { it('i18n_test_2200', 0, function () {
let count = I18n.getSystemCountries('en'); let count = I18n.getSystemCountries('en');
...@@ -297,8 +297,8 @@ describe('I18nTest', function () { ...@@ -297,8 +297,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2220 * @tc.number SUB_GLOBAL_I18N_JS_2220
* @tc.name format the language in locale * @tc.name getSystemCountries with zh-CN param
* @tc.desc check the language * @tc.desc check the country
*/ */
it('i18n_test_2220', 0, function () { it('i18n_test_2220', 0, function () {
let count = I18n.getSystemCountries('zh-CN'); let count = I18n.getSystemCountries('zh-CN');
...@@ -309,8 +309,8 @@ describe('I18nTest', function () { ...@@ -309,8 +309,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2240 * @tc.number SUB_GLOBAL_I18N_JS_2240
* @tc.name format the language in locale * @tc.name getSystemCountries with zh-Hans-CN param
* @tc.desc check the language * @tc.desc check the country
*/ */
it('i18n_test_2240', 0, function () { it('i18n_test_2240', 0, function () {
let count = I18n.getSystemCountries('zh-Hans-CN'); let count = I18n.getSystemCountries('zh-Hans-CN');
...@@ -321,8 +321,8 @@ describe('I18nTest', function () { ...@@ -321,8 +321,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2260 * @tc.number SUB_GLOBAL_I18N_JS_2260
* @tc.name format the language in locale * @tc.name getSystemCountries with null param
* @tc.desc check the language * @tc.desc check the country
*/ */
it('i18n_test_2260', 0, function () { it('i18n_test_2260', 0, function () {
let count = I18n.getSystemCountries(''); let count = I18n.getSystemCountries('');
...@@ -333,8 +333,8 @@ describe('I18nTest', function () { ...@@ -333,8 +333,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2280 * @tc.number SUB_GLOBAL_I18N_JS_2280
* @tc.name format the language in locale * @tc.name getSystemCountries with aaa param
* @tc.desc check the language * @tc.desc check the country
*/ */
it('i18n_test_2280', 0, function () { it('i18n_test_2280', 0, function () {
let count = I18n.getSystemCountries('aaa'); let count = I18n.getSystemCountries('aaa');
...@@ -345,7 +345,7 @@ describe('I18nTest', function () { ...@@ -345,7 +345,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2300 * @tc.number SUB_GLOBAL_I18N_JS_2300
* @tc.name format the language in locale * @tc.name isSuggested with en param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2300', 0, function () { it('i18n_test_2300', 0, function () {
...@@ -359,7 +359,7 @@ describe('I18nTest', function () { ...@@ -359,7 +359,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2400 * @tc.number SUB_GLOBAL_I18N_JS_2400
* @tc.name format the language in locale * @tc.name isSuggested with zh-Hans param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2400', 0, function () { it('i18n_test_2400', 0, function () {
...@@ -373,7 +373,7 @@ describe('I18nTest', function () { ...@@ -373,7 +373,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2500 * @tc.number SUB_GLOBAL_I18N_JS_2500
* @tc.name format the language in locale * @tc.name isSuggested with zh-Hans-CN param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2500', 0, function () { it('i18n_test_2500', 0, function () {
...@@ -387,7 +387,7 @@ describe('I18nTest', function () { ...@@ -387,7 +387,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2600 * @tc.number SUB_GLOBAL_I18N_JS_2600
* @tc.name format the language in locale * @tc.name isSuggested with fr param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2600', 0, function () { it('i18n_test_2600', 0, function () {
...@@ -398,7 +398,7 @@ describe('I18nTest', function () { ...@@ -398,7 +398,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2700 * @tc.number SUB_GLOBAL_I18N_JS_2700
* @tc.name format the language in locale * @tc.name isSuggested with fr-FR param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2700', 0, function () { it('i18n_test_2700', 0, function () {
...@@ -409,7 +409,7 @@ describe('I18nTest', function () { ...@@ -409,7 +409,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2800 * @tc.number SUB_GLOBAL_I18N_JS_2800
* @tc.name format the language in locale * @tc.name isSuggested with az-Latn-AZ param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2800', 0, function () { it('i18n_test_2800', 0, function () {
...@@ -420,7 +420,7 @@ describe('I18nTest', function () { ...@@ -420,7 +420,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_2900 * @tc.number SUB_GLOBAL_I18N_JS_2900
* @tc.name format the language in locale * @tc.name isSuggested with en-ZH param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_2900', 0, function () { it('i18n_test_2900', 0, function () {
...@@ -431,7 +431,7 @@ describe('I18nTest', function () { ...@@ -431,7 +431,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3000 * @tc.number SUB_GLOBAL_I18N_JS_3000
* @tc.name format the language in locale * @tc.name isSuggested with aa param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3000', 0, function () { it('i18n_test_3000', 0, function () {
...@@ -442,7 +442,7 @@ describe('I18nTest', function () { ...@@ -442,7 +442,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3100 * @tc.number SUB_GLOBAL_I18N_JS_3100
* @tc.name format the language in locale * @tc.name isSuggested with en and GB param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3100', 0, function () { it('i18n_test_3100', 0, function () {
...@@ -456,7 +456,7 @@ describe('I18nTest', function () { ...@@ -456,7 +456,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3150 * @tc.number SUB_GLOBAL_I18N_JS_3150
* @tc.name format the language in locale * @tc.name isSuggested with en-SG and GB param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3150', 0, function () { it('i18n_test_3150', 0, function () {
...@@ -470,7 +470,7 @@ describe('I18nTest', function () { ...@@ -470,7 +470,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3200 * @tc.number SUB_GLOBAL_I18N_JS_3200
* @tc.name format the language in locale * @tc.name isSuggested with en and ZH param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3200', 0, function () { it('i18n_test_3200', 0, function () {
...@@ -481,7 +481,7 @@ describe('I18nTest', function () { ...@@ -481,7 +481,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3300 * @tc.number SUB_GLOBAL_I18N_JS_3300
* @tc.name format the language in locale * @tc.name isSuggested with en-GB and ZH param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3300', 0, function () { it('i18n_test_3300', 0, function () {
...@@ -492,7 +492,7 @@ describe('I18nTest', function () { ...@@ -492,7 +492,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3400 * @tc.number SUB_GLOBAL_I18N_JS_3400
* @tc.name format the language in locale * @tc.name isSuggested with en-ZH and GB param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3400', 0, function () { it('i18n_test_3400', 0, function () {
...@@ -503,18 +503,18 @@ describe('I18nTest', function () { ...@@ -503,18 +503,18 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3500 * @tc.number SUB_GLOBAL_I18N_JS_3500
* @tc.name format the language in locale * @tc.name isSuggested with en-JP and GB param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3500', 0, function () { it('i18n_test_3500', 0, function () {
let value = I18n.isSuggested('en-ZH', 'GB'); let value = I18n.isSuggested('en-JP', 'GB');
console.log('i18n_test_3500 ' + value); console.log('i18n_test_3500 ' + value);
expect(value).assertTrue(); expect(value).assertTrue();
}) })
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3600 * @tc.number SUB_GLOBAL_I18N_JS_3600
* @tc.name format the language in locale * @tc.name isSuggested with zh-Hans-TW and CN param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3600', 0, function () { it('i18n_test_3600', 0, function () {
...@@ -525,7 +525,7 @@ describe('I18nTest', function () { ...@@ -525,7 +525,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3700 * @tc.number SUB_GLOBAL_I18N_JS_3700
* @tc.name format the language in locale * @tc.name isSuggested with zh-Hans-CN and HK param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_3700', 0, function () { it('i18n_test_3700', 0, function () {
...@@ -536,8 +536,8 @@ describe('I18nTest', function () { ...@@ -536,8 +536,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3800 * @tc.number SUB_GLOBAL_I18N_JS_3800
* @tc.name format the language in locale * @tc.name getDisplayCountry with zh-Hans-CN and en-US and true param
* @tc.desc check the language * @tc.desc check the display country
*/ */
it('i18n_test_3800', 0, function () { it('i18n_test_3800', 0, function () {
let value = I18n.getDisplayCountry('zh-Hans-CN', 'en-US', true); let value = I18n.getDisplayCountry('zh-Hans-CN', 'en-US', true);
...@@ -547,8 +547,8 @@ describe('I18nTest', function () { ...@@ -547,8 +547,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_3900 * @tc.number SUB_GLOBAL_I18N_JS_3900
* @tc.name format the language in locale * @tc.name getDisplayCountry with zh and en-US and true param
* @tc.desc check the language * @tc.desc check the display country
*/ */
it('i18n_test_3900', 0, function () { it('i18n_test_3900', 0, function () {
let value = I18n.getDisplayCountry('zh', 'en-US', true); let value = I18n.getDisplayCountry('zh', 'en-US', true);
...@@ -559,8 +559,8 @@ describe('I18nTest', function () { ...@@ -559,8 +559,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4000 * @tc.number SUB_GLOBAL_I18N_JS_4000
* @tc.name format the language in locale * @tc.name getDisplayCountry with zh-CN and en-US and true param
* @tc.desc check the language * @tc.desc check the display country
*/ */
it('i18n_test_4000', 0, function () { it('i18n_test_4000', 0, function () {
let value = I18n.getDisplayCountry('zh-CN', 'en-US', true); let value = I18n.getDisplayCountry('zh-CN', 'en-US', true);
...@@ -570,8 +570,8 @@ describe('I18nTest', function () { ...@@ -570,8 +570,8 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4100 * @tc.number SUB_GLOBAL_I18N_JS_4100
* @tc.name format the language in locale * @tc.name getDisplayCountry with zh-Hans and en-US and true param
* @tc.desc check the language * @tc.desc check the display country
*/ */
it('i18n_test_4100', 0, function () { it('i18n_test_4100', 0, function () {
let value = I18n.getDisplayCountry('zh-Hans', 'en-US', true); let value = I18n.getDisplayCountry('zh-Hans', 'en-US', true);
...@@ -582,7 +582,7 @@ describe('I18nTest', function () { ...@@ -582,7 +582,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4200 * @tc.number SUB_GLOBAL_I18N_JS_4200
* @tc.name format the language in locale * @tc.name getDisplayCountry with zh-Hans-CN and en-US and false param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4200', 0, function () { it('i18n_test_4200', 0, function () {
...@@ -593,7 +593,7 @@ describe('I18nTest', function () { ...@@ -593,7 +593,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4300 * @tc.number SUB_GLOBAL_I18N_JS_4300
* @tc.name format the language in locale * @tc.name getDisplayCountry with zh-Hans-CN and en-US param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4300', 0, function () { it('i18n_test_4300', 0, function () {
...@@ -604,7 +604,7 @@ describe('I18nTest', function () { ...@@ -604,7 +604,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4400 * @tc.number SUB_GLOBAL_I18N_JS_4400
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh-Hans-CN and en-US and true param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4400', 0, function () { it('i18n_test_4400', 0, function () {
...@@ -615,18 +615,18 @@ describe('I18nTest', function () { ...@@ -615,18 +615,18 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4500 * @tc.number SUB_GLOBAL_I18N_JS_4500
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh-Hans-CN and en-GB and true param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4500', 0, function () { it('i18n_test_4500', 0, function () {
let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-US', true); let value = I18n.getDisplayLanguage('zh-Hans-CN', 'en-GB', true);
console.log('i18n_test_4500 ' + value); console.log('i18n_test_4500 ' + value);
expect(value).assertEqual('Chinese'); expect(value).assertEqual('Chinese');
}) })
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4600 * @tc.number SUB_GLOBAL_I18N_JS_4600
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh and en-US and true param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4600', 0, function () { it('i18n_test_4600', 0, function () {
...@@ -637,7 +637,7 @@ describe('I18nTest', function () { ...@@ -637,7 +637,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4700 * @tc.number SUB_GLOBAL_I18N_JS_4700
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh-CN and en-US and true param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4700', 0, function () { it('i18n_test_4700', 0, function () {
...@@ -648,7 +648,7 @@ describe('I18nTest', function () { ...@@ -648,7 +648,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4800 * @tc.number SUB_GLOBAL_I18N_JS_4800
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh-Hans and en-US and true param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4800', 0, function () { it('i18n_test_4800', 0, function () {
...@@ -659,7 +659,7 @@ describe('I18nTest', function () { ...@@ -659,7 +659,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_4900 * @tc.number SUB_GLOBAL_I18N_JS_4900
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh-Hans-CN and en-US and false param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_4900', 0, function () { it('i18n_test_4900', 0, function () {
...@@ -670,7 +670,7 @@ describe('I18nTest', function () { ...@@ -670,7 +670,7 @@ describe('I18nTest', function () {
/* * /* *
* @tc.number SUB_GLOBAL_I18N_JS_5000 * @tc.number SUB_GLOBAL_I18N_JS_5000
* @tc.name format the language in locale * @tc.name getDisplayLanguage with zh-Hans-CN and en-US param
* @tc.desc check the language * @tc.desc check the language
*/ */
it('i18n_test_5000', 0, function () { it('i18n_test_5000', 0, function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册