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

fixed 0e3637e0 from https://gitee.com/yangqing3/xts_acts/pulls/2835

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