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

!9656 ShareExtensionXTS适配

Merge pull request !9656 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(17);
expect(extensionList.length).assertEqual(18);
let count = 0;
for (let i = 0;i < 17; i++) {
for (let i = 0;i < 18; 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(17);
expect(extensionList.length).assertEqual(18);
let count = 0;
for (let i = 0;i < 17; i++) {
for (let i = 0;i < 18; 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(17);
expect(extensionList.length).assertEqual(18);
let count = 0;
for (let i = 0;i < 17; i++) {
for (let i = 0;i < 18; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......
......@@ -386,6 +386,17 @@
"srcEntrance": "./ets/FormAbility/FormAbility.ts",
"type": "action",
"visible": true
},
{
"description": "$string:form_description",
"descriptionId": 16777219,
"icon": "$media:icon",
"iconId": 16777225,
"label": "$string:entry_label",
"name": "share",
"srcEntrance": "./ets/FormAbility/FormAbility.ts",
"type": "share",
"visible": true
}
],
"requestPermissions": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册