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

!9655 ActionExtensionXTS适配

Merge pull request !9655 from xinking129/master
......@@ -485,9 +485,9 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo).assertEqual(null);
expect(data.hapModulesInfo[0].abilitiesInfo.length).assertEqual(0);
let extensionList = data.hapModulesInfo[0].extensionAbilitiesInfo
expect(extensionList.length).assertEqual(16);
expect(extensionList.length).assertEqual(17);
let count = 0;
for (let i = 0;i < 16; i++) {
for (let i = 0;i < 17; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......@@ -621,9 +621,9 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo).assertEqual(null);
expect(data.hapModulesInfo[0].abilitiesInfo.length).assertEqual(0);
let extensionList = data.hapModulesInfo[0].extensionAbilitiesInfo
expect(extensionList.length).assertEqual(16);
expect(extensionList.length).assertEqual(17);
let count = 0;
for (let i = 0;i < 16; i++) {
for (let i = 0;i < 17; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......@@ -1276,9 +1276,9 @@ export default function getBundleInfoForSelf() {
expect(data.appInfo).assertEqual(null);
expect(data.hapModulesInfo[0].abilitiesInfo.length).assertEqual(0);
let extensionList = data.hapModulesInfo[0].extensionAbilitiesInfo
expect(extensionList.length).assertEqual(16);
expect(extensionList.length).assertEqual(17);
let count = 0;
for (let i = 0;i < 16; i++) {
for (let i = 0;i < 17; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......
......@@ -375,6 +375,17 @@
"srcEntrance": "./ets/FormAbility/FormAbility.ts",
"type": "push",
"visible": true
},
{
"description": "$string:form_description",
"descriptionId": 16777219,
"icon": "$media:icon",
"iconId": 16777225,
"label": "$string:entry_label",
"name": "action",
"srcEntrance": "./ets/FormAbility/FormAbility.ts",
"type": "action",
"visible": true
}
],
"requestPermissions": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册