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

!5727 getAppPreferredLanguage测试

Merge pull request !5727 from 杨清/1228
......@@ -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.
先完成此消息的编辑!
想要评论请 注册