提交 0e3637e0 编写于 作者: Y y00314596

add by yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 24f321f9
......@@ -48,6 +48,10 @@
{
"name":"ohos.permission.GET_BUNDLE_INFO",
"reason":"need use ohos.permission.GET_BUNDLE_INFO"
},
{
"name":"ohos.permission.UPDATE_CONFIGURATION",
"reason":"need use ohos.permission.UPDATE_CONFIGURATION"
}
],
"js": [
......
......@@ -166,12 +166,12 @@ describe('I18nTest', function () {
* @tc.name setSystemLanguage with not exist param aaa
* @tc.desc check the language
*/
it('SUB_GLOBAL_I18N_JS_0850', 0, function () {
it('i18n_test_0850', 0, function () {
let value = I18n.setSystemLanguage('aaa');
console.log('SUB_GLOBAL_I18N_JS_0850 ' + value);
console.log('i18n_test_0850 ' + value);
expect(value).assertTrue();
let lang = I18n.getSystemLanguage();
console.log('SUB_GLOBAL_I18N_JS_0850 ' + lang);
console.log('i18n_test_0850 ' + lang);
expect(lang).assertEqual('aaa');
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册