未验证 提交 ba4e1972 编写于 作者: O openharmony_ci 提交者: Gitee

!8785 delete I18n.isSuggested to 4.0beta1

Merge pull request !8785 from 杨清/cherry-pick-1685155346
......@@ -90,50 +90,6 @@ describe('I18nTest', function () {
expect(locale).assertInstanceOf('String');
})
/* *
* @tc.number SUB_GLOBAL_I18N_JS_2310
* @tc.name isSuggested with zh param
* @tc.desc check the isSuggested
*/
it('i18n_test_2310', 0, function () {
let value = I18n.isSuggested('zh');
console.log('i18n_test_2310 ' + value);
expect(value).assertTrue();
})
/* *
* @tc.number SUB_GLOBAL_I18N_JS_2320
* @tc.name isSuggested with en param
* @tc.desc check the isSuggested
*/
it('i18n_test_2320', 0, function () {
let value = I18n.isSuggested('en');
console.log('i18n_test_2320 ' + value);
expect(value).assertFalse();
})
/* *
* @tc.number SUB_GLOBAL_I18N_JS_2330
* @tc.name isSuggested with zh-CN param
* @tc.desc check the isSuggested
*/
it('i18n_test_2330', 0, function () {
let value = I18n.isSuggested('zh', 'CN');
console.log('i18n_test_2330 ' + value);
expect(value).assertTrue();
})
/* *
* @tc.number SUB_GLOBAL_I18N_JS_2340
* @tc.name isSuggested with en-US param
* @tc.desc check the isSuggested
*/
it('i18n_test_2340', 0, function () {
let value = I18n.isSuggested('en' , 'US');
console.log('i18n_test_2340 ' + value);
expect(value).assertTrue();
})
/* *
* @tc.number SUB_GLOBAL_I18N_JS_3800
* @tc.name getDisplayCountry with zh-Hans-CN and en-US and true param
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册