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

!9509 context中abilityInfo,hapModuleInfo等信息与.d.ts声明不符

Merge pull request !9509 from wangkailong/hap
...@@ -45,9 +45,9 @@ export default function GetAppContextTest() { ...@@ -45,9 +45,9 @@ export default function GetAppContextTest() {
); );
expect(context.applicationInfo.description).assertEqual(""); expect(context.applicationInfo.description).assertEqual("");
expect(context.applicationInfo.label).assertEqual("$string:app_name"); expect(context.applicationInfo.label).assertEqual("$string:app_name");
expect(context.applicationInfo.labelId).assertEqual("16777216"); expect(context.applicationInfo.labelId).assertEqual(16777216);
expect(context.applicationInfo.icon).assertEqual("$media:app_icon"); expect(context.applicationInfo.icon).assertEqual("$media:app_icon");
expect(context.applicationInfo.iconId).assertEqual("16777217"); expect(context.applicationInfo.iconId).assertEqual(16777217);
expect(context.applicationInfo.codePath != null).assertTrue(); expect(context.applicationInfo.codePath != null).assertTrue();
abilityDelegator.printSync("ACTS_GET_APP_CONTENT_0001 pass "); abilityDelegator.printSync("ACTS_GET_APP_CONTENT_0001 pass ");
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册