提交 7998d3cf 编写于 作者: Y y00314596 提交者: 杨清

fixed b8baaea1 from https://gitee.com/yangqing3/xts_acts/pulls/8776

add by yangqing3@huawei.com
Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 fadcc00e
...@@ -90,50 +90,6 @@ describe('I18nTest', function () { ...@@ -90,50 +90,6 @@ describe('I18nTest', function () {
expect(locale).assertInstanceOf('String'); 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.number SUB_GLOBAL_I18N_JS_3800
* @tc.name getDisplayCountry with zh-Hans-CN and en-US and true param * @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.
先完成此消息的编辑!
想要评论请 注册