提交 a65429aa 编写于 作者: J jidong

remove APP_ACCOUNT_AUTHORIZATION extension type

Signed-off-by: Njidong <jidong4@huawei.com>
Change-Id: I910508386fdcfc087f78dd2bee32b67d7e20d9be
上级 58e3fda9
......@@ -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.
先完成此消息的编辑!
想要评论请 注册