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

fixed 04a7ead6 from https://gitee.com/yangqing3/xts_acts/pulls/5727

add by yangqing3@huawei.com
Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 ae45f8c7
......@@ -198,6 +198,18 @@ describe('LangTest', function () {
}
})
/* *
* @tc.number SUB_GLOBAL_I18N_JS_PREFERREDLANGUAGE_1100
* @tc.name test the getAppPreferredLanguage interface
* @tc.desc check the value of getAppPreferredLanguage method
*/
it('i18n_test_preferredlanguage_1100', 0, function () {
console.log('i18n_test_preferredlanguage_1100 ' + 'start');
let value = I18n.getAppPreferredLanguage();
console.log('i18n_test_preferredlanguage_1100 ' + value);
expect(value).assertEqual('zh-Hans');
})
/* *
* @tc.number SUB_GLOBAL_INTL_JS_TRANSFER_0100
* @tc.name transfer from lower to upper
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册