提交 eabbdefd 编写于 作者: S SoftSquirrel

Issue:#I6XL4R

Description:add extension type(driver)
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: NSoftSquirrel <xuhao47@huawei.com>
上级 699cff7d
......@@ -481,9 +481,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(13);
expect(extensionList.length).assertEqual(14);
let count = 0;
for (let i = 0;i < 13; i++) {
for (let i = 0;i < 14; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......@@ -613,7 +613,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo.length).assertEqual(0);
let extensionList = data.hapModulesInfo[0].extensionAbilitiesInfo
let count = 0;
for (let i = 0;i < 13; i++) {
for (let i = 0;i < 14; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......
......@@ -481,9 +481,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(13);
expect(extensionList.length).assertEqual(14);
let count = 0;
for (let i = 0;i < 13; i++) {
for (let i = 0;i < 14; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......@@ -613,7 +613,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo.length).assertEqual(0);
let extensionList = data.hapModulesInfo[0].extensionAbilitiesInfo
let count = 0;
for (let i = 0;i < 13; i++) {
for (let i = 0;i < 14; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......
......@@ -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(13);
expect(extensionList.length).assertEqual(14);
let count = 0;
for (let i = 0;i < 13; i++) {
for (let i = 0;i < 14; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......@@ -617,7 +617,7 @@ export default function getBundleInfoForSelf() {
expect(data.hapModulesInfo[0].abilitiesInfo.length).assertEqual(0);
let extensionList = data.hapModulesInfo[0].extensionAbilitiesInfo
let count = 0;
for (let i = 0;i < 13; i++) {
for (let i = 0;i < 14; i++) {
switch (extensionList[i].name) {
case "Form":
console.info("Form" + JSON.stringify(extensionList[i].extensionAbilityType));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册