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

!6032 新增getBundleInfoForSelf接口不同flag的测试脚本

Merge pull request !6032 from ry/master
......@@ -15,8 +15,10 @@
import getProfileByAbility from './GetProfileByAbility.test.ets';
import getProfileByExtensionAbility from './GetProfileByExtensionAbility.test.ets';
import getBundleInfoForSelf from './GetBundleInfoForSelf.test.ets';
export default function testsuite() {
getProfileByAbility();
getProfileByExtensionAbility();
getBundleInfoForSelf();
}
\ No newline at end of file
......@@ -76,6 +76,7 @@
"descriptionId": 16777219,
"icon": "$media:icon",
"iconId": 16777225,
"label": "$string:entry_label",
"metadata": [
{
"name": "ohos.extension.form",
......@@ -113,11 +114,29 @@
"descriptionId": 16777219,
"icon": "$media:icon",
"iconId": 16777225,
"label": "$string:entry_label",
"name": "Form1",
"srcEntrance": "./ets/FormAbility/FormAbility.ts",
"type": "form",
"visible": true
}
],
"requestPermissions": [
{
"name": "ohos.permission.GET_BUNDLE_INFO",
"reason": "$string:permission_reason",
"usedScene": {
"abilities": ["MainAbility"],
"when": "inuse"
}
}
],
"metadata": [
{
"name": "MetaData1",
"value": "MetaDataValue",
"resource": "$profile:shortcuts_config"
}
]
}
}
......@@ -35,6 +35,10 @@
{
"name": "form_FormAbility_label",
"value": "form_label"
},
{
"name": "permission_reason",
"value": "Need permission"
}
]
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册