提交 04a7ead6 编写于 作者: Y y00314596

add by yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 0b63da33
......@@ -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.
先完成此消息的编辑!
想要评论请 注册