From bf3fb39fa3a46e4477284be4e744d0baf2fc39bd Mon Sep 17 00:00:00 2001 From: r00559040 Date: Fri, 21 Jan 2022 19:34:40 +0800 Subject: [PATCH] xts update Signed-off-by: r00559040 --- .../src/main/js/test/ActsBmsMetaDataTest.test.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js index 7e64f7512..8e8c21528 100644 --- a/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js +++ b/appexecfwk/bundle_standard/bundlemanager/actsbmsmetadatatest/entry/src/main/js/test/ActsBmsMetaDataTest.test.js @@ -41,7 +41,7 @@ describe('ActsBmsMetaDataTest', function () { { "bundleName": 'com.example.third1', "abilityName": 'com.example.third1.MainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { for (let i = 0, len = dataInfos.length; i < len; i++) { dataMap.set(dataInfos[i].name, dataInfos[i].metaData) } @@ -95,7 +95,7 @@ describe('ActsBmsMetaDataTest', function () { { "bundleName": 'com.example.third1', "abilityName": 'com.example.third1.AMainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { for (let i = 0, len = dataInfos.length; i < len; i++) { dataMap.set(dataInfos[i].name, dataInfos[i].metaData) } @@ -144,7 +144,7 @@ describe('ActsBmsMetaDataTest', function () { { bundleName: 'com.example.third1', abilityName: 'com.example.third1.MainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { expect(dataInfos.length).assertEqual(0); }); done(); @@ -176,7 +176,7 @@ describe('ActsBmsMetaDataTest', function () { { bundleName: 'com.example.third5', abilityName: 'com.example.third5.AMainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { for (let i = 0, len = dataInfos.length; i < len; i++) { dataMap.set(dataInfos[i].name, dataInfos[i].metaData) } @@ -208,7 +208,7 @@ describe('ActsBmsMetaDataTest', function () { { bundleName: 'com.example.noexist', abilityName: 'com.example.noexist.MainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { expect(dataInfos.length).assertEqual(0); }) done(); @@ -227,7 +227,7 @@ describe('ActsBmsMetaDataTest', function () { { bundleName: 'com.example.system1', abilityName: 'com.example.system1.MainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { for (let i = 0, len = dataInfos.length; i < len; i++) { dataMap.set(dataInfos[i].name, dataInfos[i].metaData) } @@ -251,7 +251,7 @@ describe('ActsBmsMetaDataTest', function () { { bundleName: 'com.example.vendor1', abilityName: 'com.example.vendor1.MainAbility', - }, 32, 0).then(dataInfos => { + }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_METADATA, 0).then(dataInfos => { for (let i = 0, len = dataInfos.length; i < len; i++) { dataMap.set(dataInfos[i].name, dataInfos[i].metaData) } -- GitLab