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

!9613 remove APP_ACCOUNT_AUTHORIZATION extension type

Merge pull request !9613 from jidong/dev073001
......@@ -585,20 +585,15 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.DRIVER)
count = count + 14;
break;
case 'appAccountAuthorization':
console.info("appAccountAuthorization" + JSON.stringify(extensionList[i].extensionAbilityType));
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.APP_ACCOUNT_AUTHORIZATION)
count = count + 15;
break;
case 'push':
console.info("push" + JSON.stringify(extensionList[i].extensionAbilityType));
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.PUSH)
count = count + 16;
count = count + 15;
break;
}
console.info("count" + JSON.stringify(count));
}
expect(count).assertEqual(136);
expect(count).assertEqual(120);
expect(data.hapModulesInfo[0].metadata.length).assertEqual(0);
expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0);
......@@ -726,20 +721,15 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.DRIVER)
count = count + 14;
break;
case 'appAccountAuthorization':
console.info("appAccountAuthorization" + JSON.stringify(extensionList[i].extensionAbilityType));
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.APP_ACCOUNT_AUTHORIZATION)
count = count + 15;
break;
case 'push':
console.info("push" + JSON.stringify(extensionList[i].extensionAbilityType));
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.PUSH)
count = count + 16;
count = count + 15;
break;
}
console.info("count" + JSON.stringify(count));
}
expect(count).assertEqual(136);
expect(count).assertEqual(120);
expect(data.hapModulesInfo[0].metadata.length).assertEqual(0);
expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0);
......@@ -1386,21 +1376,15 @@ export default function getBundleInfoForSelf() {
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.DRIVER)
count = count + 14;
break;
case 'appAccountAuthorization':
console.info("appAccountAuthorization" + JSON.stringify(extensionList[i].extensionAbilityType));
expect(extensionList[i].extensionAbilityType)
.assertEqual(bundle.ExtensionAbilityType.APP_ACCOUNT_AUTHORIZATION)
count = count + 15;
break;
case 'push':
console.info("push" + JSON.stringify(extensionList[i].extensionAbilityType));
expect(extensionList[i].extensionAbilityType).assertEqual(bundle.ExtensionAbilityType.PUSH)
count = count + 16;
count = count + 15;
break;
}
console.info("count" + JSON.stringify(count));
}
expect(count).assertEqual(136);
expect(count).assertEqual(120);
expect(data.hapModulesInfo[0].metadata.length).assertEqual(0);
expect(data.reqPermissionDetails.length).assertEqual(0);
expect(data.permissionGrantStates.length).assertEqual(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册