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

!5434 【包管理子系统】【master】修改用例名

Merge pull request !5434 from ry/master
...@@ -37,11 +37,11 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -37,11 +37,11 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/* /*
* @tc.number: bms_AccessTokenId_0100 * @tc.number: BMS_SECURITY_INITIALIZE_0004
* @tc.name: test accessTokenId * @tc.name: getAccessTokenIdOfEntry
* @tc.desc: get the accessTokenId * @tc.desc: get the accessTokenId
*/ */
it('bms_AccessTokenId_0100', 0, async function (done) { it('getAccessTokenIdOfEntry', 0, async function (done) {
await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_DEFAULT, userId) await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_DEFAULT, userId)
.then(applicationInfo => { .then(applicationInfo => {
console.info('accessTokenId: ' + applicationInfo.accessTokenId); console.info('accessTokenId: ' + applicationInfo.accessTokenId);
...@@ -55,11 +55,11 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -55,11 +55,11 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/* /*
* @tc.number: bms_AccessTokenId_0200 * @tc.number: SUB_BMS_APPINFO_QUERYPERMISSION_0001
* @tc.name: test reqPermissionStates * @tc.name: getReqPermissionOfEntry
* @tc.desc: get the reqPermissions and reqPermissionStates * @tc.desc: get the reqPermissions and reqPermissionStates
*/ */
it('bms_AccessTokenId_0200', 0, async function (done) { it('getReqPermissionOfEntry', 0, async function (done) {
await bundle.getBundleInfo(BUNDLE_NAME3, bundle.BundleFlag.GET_BUNDLE_WITH_REQUESTED_PERMISSION) await bundle.getBundleInfo(BUNDLE_NAME3, bundle.BundleFlag.GET_BUNDLE_WITH_REQUESTED_PERMISSION)
.then(bundleInfo => { .then(bundleInfo => {
expect(bundleInfo.name).assertEqual(BUNDLE_NAME3); expect(bundleInfo.name).assertEqual(BUNDLE_NAME3);
...@@ -79,11 +79,11 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -79,11 +79,11 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/* /*
* @tc.number: bms_AccessTokenId_0300 * @tc.number: SUB_BMS_APPINFO_QUERYPERMISSION_0008
* @tc.name: test reqPermissionStates * @tc.name: getReqPermissionUpdateEntry
* @tc.desc: get the reqPermissions and reqPermissionStates * @tc.desc: get the reqPermissions and reqPermissionStates
*/ */
it('bms_AccessTokenId_0300', 0, async function (done) { it('getReqPermissionUpdateEntry', 0, async function (done) {
await bundle.getBundleInfo(BUNDLE_NAME2, bundle.BundleFlag.GET_BUNDLE_WITH_REQUESTED_PERMISSION) await bundle.getBundleInfo(BUNDLE_NAME2, bundle.BundleFlag.GET_BUNDLE_WITH_REQUESTED_PERMISSION)
.then(bundleInfo => { .then(bundleInfo => {
expect(bundleInfo.name).assertEqual(BUNDLE_NAME2); expect(bundleInfo.name).assertEqual(BUNDLE_NAME2);
...@@ -107,11 +107,11 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -107,11 +107,11 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/* /*
* @tc.number: bms_AccessTokenId_0400 * @tc.number: SUB_BMS_APPINFO_QUERYPERMISSION_0003
* @tc.name: test reqPermissionStates * @tc.name: getReqPermissionUpdateEntryAndFeature
* @tc.desc: get the reqPermissions and reqPermissionStates * @tc.desc: get the reqPermissions and reqPermissionStates
*/ */
it('bms_AccessTokenId_0400', 0, async function (done) { it('getReqPermissionUpdateEntryAndFeature', 0, async function (done) {
await bundle.getBundleInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_WITH_REQUESTED_PERMISSION) await bundle.getBundleInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_WITH_REQUESTED_PERMISSION)
.then(bundleInfo => { .then(bundleInfo => {
expect(bundleInfo.name).assertEqual(BUNDLE_NAME1); expect(bundleInfo.name).assertEqual(BUNDLE_NAME1);
...@@ -137,14 +137,14 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -137,14 +137,14 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/** /**
* @tc.number bms_AccessTokenId_0500 * @tc.number BMS_SECURITY_INITIALIZE_0013
* @tc.name BUNDLE::getBundleInfos * @tc.name getAccessTokenIdWithDefault
* @tc.desc Test getBundleInfos interfaces with with a flag * @tc.desc Test getBundleInfos interfaces with with a flag
*/ */
it("bms_AccessTokenId_0500", 0, async function (done) { it("getAccessTokenIdWithDefault", 0, async function (done) {
await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_DEFAULT) await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_DEFAULT)
.then((applicationInfo) => { .then((applicationInfo) => {
console.info("bms_AccessTokenId_0500 accessTokenId: " + applicationInfo.accessTokenId); console.info("getAccessTokenIdWithDefault accessTokenId: " + applicationInfo.accessTokenId);
expect(applicationInfo.name).assertEqual(BUNDLE_NAME1); expect(applicationInfo.name).assertEqual(BUNDLE_NAME1);
expect(applicationInfo.accessTokenId).assertLarger(0); expect(applicationInfo.accessTokenId).assertLarger(0);
done(); done();
...@@ -155,14 +155,14 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -155,14 +155,14 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/** /**
* @tc.number bms_AccessTokenId_0600 * @tc.number BMS_SECURITY_INITIALIZE_0014
* @tc.name BUNDLE::getBundleInfos * @tc.name getAccessTokenIdWithGetAbilities
* @tc.desc Test getBundleInfos interfaces with a flag * @tc.desc Test getBundleInfos interfaces with a flag
*/ */
it("bms_AccessTokenId_0600", 0, async function (done) { it("getAccessTokenIdWithGetAbilities", 0, async function (done) {
await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_WITH_ABILITIES) await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_BUNDLE_WITH_ABILITIES)
.then((applicationInfo) => { .then((applicationInfo) => {
console.info("bms_AccessTokenId_0600 accessTokenId: " + applicationInfo.accessTokenId); console.info("getAccessTokenIdWithGetAbilities accessTokenId: " + applicationInfo.accessTokenId);
expect(applicationInfo.name).assertEqual(BUNDLE_NAME1); expect(applicationInfo.name).assertEqual(BUNDLE_NAME1);
expect(applicationInfo.accessTokenId).assertLarger(0); expect(applicationInfo.accessTokenId).assertLarger(0);
done(); done();
...@@ -173,14 +173,14 @@ describe('ActsBmsAccessTokenTest', function () { ...@@ -173,14 +173,14 @@ describe('ActsBmsAccessTokenTest', function () {
}); });
/** /**
* @tc.number bms_AccessTokenId_0700 * @tc.number BMS_SECURITY_INITIALIZE_0015
* @tc.name BUNDLE::getBundleInfos * @tc.name getAccessTokenIdWithGetPermission
* @tc.desc Test getBundleInfos interfaces with a flag * @tc.desc Test getBundleInfos interfaces with a flag
*/ */
it("bms_AccessTokenId_0700", 0, async function (done) { it("getAccessTokenIdWithGetPermission", 0, async function (done) {
await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_APPLICATION_INFO_WITH_PERMISSION) await bundle.getApplicationInfo(BUNDLE_NAME1, bundle.BundleFlag.GET_APPLICATION_INFO_WITH_PERMISSION)
.then((applicationInfo) => { .then((applicationInfo) => {
console.info("bms_AccessTokenId_0700 accessTokenId: " + applicationInfo.accessTokenId); console.info("getAccessTokenIdWithGetPermission accessTokenId: " + applicationInfo.accessTokenId);
expect(applicationInfo.name).assertEqual(BUNDLE_NAME1); expect(applicationInfo.name).assertEqual(BUNDLE_NAME1);
expect(applicationInfo.accessTokenId).assertLarger(0); expect(applicationInfo.accessTokenId).assertLarger(0);
done(); done();
......
...@@ -44,10 +44,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -44,10 +44,10 @@ export default function actsBmsJsUnPermissionTest() {
/** /**
* @tc.number getApplicationInfos_1300 * @tc.number getApplicationInfos_1300
* @tc.name getApplicationInfos_1300 * @tc.name getApplicationInfosUnPermission
* @tc.desc test getAllApplicationInfo * @tc.desc test getAllApplicationInfo
*/ */
it('getApplicationInfos_1300', 0, async function (done) { it('getApplicationInfosUnPermission', 0, async function (done) {
await bundle.getAllApplicationInfo(DEFAULT_FLAG).then(data => { await bundle.getAllApplicationInfo(DEFAULT_FLAG).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -62,10 +62,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -62,10 +62,10 @@ export default function actsBmsJsUnPermissionTest() {
/** /**
* @tc.number getBundleInfo_2000 * @tc.number getBundleInfo_2000
* @tc.name getBundleInfo_2000 * @tc.name getBundleInfoUnPermission
* @tc.desc test getBundleInfo * @tc.desc test getBundleInfo
*/ */
it('getBundleInfo_2000', 0, async function (done) { it('getBundleInfoUnPermission', 0, async function (done) {
await bundle.getBundleInfo(BUNDLE_NAME_OTHER, DEFAULT_FLAG, { userId: userId }).then(data => { await bundle.getBundleInfo(BUNDLE_NAME_OTHER, DEFAULT_FLAG, { userId: userId }).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -80,10 +80,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -80,10 +80,10 @@ export default function actsBmsJsUnPermissionTest() {
/** /**
* @tc.number getApplicationInfo_1800 * @tc.number getApplicationInfo_1800
* @tc.name getApplicationInfo_1800 * @tc.name getApplicationInfoUnPermission
* @tc.desc test getApplicationInfo * @tc.desc test getApplicationInfo
*/ */
it('getApplicationInfo_1800', 0, async function (done) { it('getApplicationInfoUnPermission', 0, async function (done) {
await bundle.getApplicationInfo(BUNDLE_NAME_OTHER, DEFAULT_FLAG).then(data => { await bundle.getApplicationInfo(BUNDLE_NAME_OTHER, DEFAULT_FLAG).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -98,10 +98,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -98,10 +98,10 @@ export default function actsBmsJsUnPermissionTest() {
/* /*
* @tc.number: SUB_BMS_HAP_STATUS_0011 * @tc.number: SUB_BMS_HAP_STATUS_0011
* @tc.name: test hasInstalled * @tc.name: hasInstalledUnPermissionSelf
* @tc.desc: test hasInstalled without permission * @tc.desc: test hasInstalled without permission
*/ */
it('SUB_BMS_HAP_STATUS_0011', 0, async function (done) { it('hasInstalledUnPermissionSelf', 0, async function (done) {
let flag = 0; let flag = 0;
pkg.hasInstalled({ pkg.hasInstalled({
bundleName: SELF_BUNDLENAME, bundleName: SELF_BUNDLENAME,
...@@ -124,10 +124,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -124,10 +124,10 @@ export default function actsBmsJsUnPermissionTest() {
/* /*
* @tc.number: SUB_BMS_HAP_STATUS_0012 * @tc.number: SUB_BMS_HAP_STATUS_0012
* @tc.name: test hasInstalled * @tc.name: hasInstalledUnPermissionOther
* @tc.desc: test hasInstalled without permission * @tc.desc: test hasInstalled without permission
*/ */
it('SUB_BMS_HAP_STATUS_0012', 0, async function (done) { it('hasInstalledUnPermissionOther', 0, async function (done) {
let flag = 0; let flag = 0;
pkg.hasInstalled({ pkg.hasInstalled({
bundleName: BUNDLE_NAME_OTHER, bundleName: BUNDLE_NAME_OTHER,
...@@ -150,10 +150,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -150,10 +150,10 @@ export default function actsBmsJsUnPermissionTest() {
/* /*
* @tc.number: SUB_BMS_APPINFO_GETABILITYICON_0006 * @tc.number: SUB_BMS_APPINFO_GETABILITYICON_0006
* @tc.name: test getAbilityIcon * @tc.name: getAbilityIconUnPermission
* @tc.desc: test getAbilityIcon without permission * @tc.desc: test getAbilityIcon without permission
*/ */
it('SUB_BMS_APPINFO_GETABILITYICON_0006', 0, async function (done) { it('getAbilityIconUnPermission', 0, async function (done) {
await bundle.getAbilityIcon(BUNDLE_NAME_OTHER, ABILITIY_NAME_OTHER).then(pixelmap => { await bundle.getAbilityIcon(BUNDLE_NAME_OTHER, ABILITIY_NAME_OTHER).then(pixelmap => {
expect(pixelmap).assertFail(); expect(pixelmap).assertFail();
}).catch(err => { }).catch(err => {
...@@ -166,8 +166,8 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -166,8 +166,8 @@ export default function actsBmsJsUnPermissionTest() {
}); });
/* /*
* @tc.number: getAbilityInfo_100 * @tc.number: SUB_BMS_APPINFO_GETABILITYINFO_0008
* @tc.name: test getAbilityInfo * @tc.name: getAbilityInfoUnPermissionSelf
* @tc.desc: test getAbilityInfo * @tc.desc: test getAbilityInfo
*/ */
it('getAbilityInfo_200', 0, async function (done) { it('getAbilityInfo_200', 0, async function (done) {
...@@ -199,10 +199,10 @@ export default function actsBmsJsUnPermissionTest() { ...@@ -199,10 +199,10 @@ export default function actsBmsJsUnPermissionTest() {
/* /*
* @tc.number: SUB_BMS_APPINFO_EXTENSION_0019 * @tc.number: SUB_BMS_APPINFO_EXTENSION_0019
* @tc.name: test queryExtensionAbilityInfos api * @tc.name: queryExtensionAbilityInfosUnPermission
* @tc.desc: test queryExtensionAbilityInfos no permission * @tc.desc: test queryExtensionAbilityInfos no permission
*/ */
it('SUB_BMS_APPINFO_EXTENSION_0019', 0, async function (done) { it('queryExtensionAbilityInfosUnPermission', 0, async function (done) {
await bundle.queryExtensionAbilityInfos( await bundle.queryExtensionAbilityInfos(
{ {
"bundleName": BUNDLE_NAME1, "bundleName": BUNDLE_NAME1,
......
...@@ -58,11 +58,11 @@ describe('ActsBmsGetBackGroundModes', function () { ...@@ -58,11 +58,11 @@ describe('ActsBmsGetBackGroundModes', function () {
}); });
/* /*
* @tc.number: bms_backGroundModes_0100 * @tc.number: SUB_BMS_APPINFO_QUERY_0085
* @tc.name: Get the backgroundModes information of the application through queryAbilityByWant * @tc.name: getBackgroundModesMultiAbility
* @tc.desc: Get the information of the background modes from multi-ability application * @tc.desc: Get the information of the background modes from multi-ability application
*/ */
it('bms_backGroundModes_0100', 0, async function (done) { it('getBackgroundModesMultiAbility', 0, async function (done) {
let dataInfos = await bundle.queryAbilityByWant({ let dataInfos = await bundle.queryAbilityByWant({
action: 'action.system.home', action: 'action.system.home',
entities: ['entity.system.home'], entities: ['entity.system.home'],
...@@ -100,12 +100,12 @@ describe('ActsBmsGetBackGroundModes', function () { ...@@ -100,12 +100,12 @@ describe('ActsBmsGetBackGroundModes', function () {
}); });
/* /*
* @tc.number: bms_backGroundModes_0200 * @tc.number: SUB_BMS_APPINFO_QUERY_0086
* @tc.name: Get the backgroundModes information of the application through queryAbilityByWant * @tc.name: getBackgroundModesAllModes
* @tc.desc: Get all background modes information, and each ability of the application * @tc.desc: Get all background modes information, and each ability of the application
* contains one of the background mode * contains one of the background mode
*/ */
it('bms_backGroundModes_0200', 0, async function (done) { it('getBackgroundModesAllModes', 0, async function (done) {
let dataInfos = await bundle.queryAbilityByWant({ let dataInfos = await bundle.queryAbilityByWant({
action: 'action.system.home', action: 'action.system.home',
entities: ['entity.system.home'], entities: ['entity.system.home'],
...@@ -121,11 +121,11 @@ describe('ActsBmsGetBackGroundModes', function () { ...@@ -121,11 +121,11 @@ describe('ActsBmsGetBackGroundModes', function () {
}); });
/* /*
* @tc.number: bms_backGroundModes_0300 * @tc.number: SUB_BMS_APPINFO_QUERY_0087
* @tc.name: Get the backgroundModes information of the application through queryAbilityByWant * @tc.name: getBackgroundModesInvalidModes
* @tc.desc: Read the backgroundModes information of the app's ability and replace invalid attributes * @tc.desc: Read the backgroundModes information of the app's ability and replace invalid attributes
*/ */
it('bms_backGroundModes_0300', 0, async function (done) { it('getBackgroundModesInvalidModes', 0, async function (done) {
let dataInfos = await bundle.queryAbilityByWant({ let dataInfos = await bundle.queryAbilityByWant({
action: 'action.system.home', action: 'action.system.home',
entities: ['entity.system.home'], entities: ['entity.system.home'],
...@@ -160,11 +160,11 @@ describe('ActsBmsGetBackGroundModes', function () { ...@@ -160,11 +160,11 @@ describe('ActsBmsGetBackGroundModes', function () {
}); });
/* /*
* @tc.number: bms_backGroundModes_0400 * @tc.number: SUB_BMS_APPINFO_QUERY_0088
* @tc.name: Get the backgroundModes information of the application through queryAbilityByWant * @tc.name: getBackgroundModesNotModes
* @tc.desc: Read the backgroundModes information of the app's ability and replace invalid attributes * @tc.desc: Read the backgroundModes information of the app's ability and replace invalid attributes
*/ */
it('bms_backGroundModes_0400', 0, async function (done) { it('getBackgroundModesNotModes', 0, async function (done) {
let dataInfos = await bundle.queryAbilityByWant({ let dataInfos = await bundle.queryAbilityByWant({
action: 'action.system.home', action: 'action.system.home',
entities: ['entity.system.home'], entities: ['entity.system.home'],
...@@ -181,11 +181,11 @@ describe('ActsBmsGetBackGroundModes', function () { ...@@ -181,11 +181,11 @@ describe('ActsBmsGetBackGroundModes', function () {
}); });
/* /*
* @tc.number: bms_backGroundModes_0500 * @tc.number: SUB_BMS_APPINFO_QUERY_0089
* @tc.name: Get the backgroundModes information of the application through queryAbilityByWant * @tc.name: getBackgroundModesMultiHap
* @tc.desc: Get the backgroundModes information of the multi-hap package of the application * @tc.desc: Get the backgroundModes information of the multi-hap package of the application
*/ */
it('bms_backGroundModes_0500', 0, async function (done) { it('getBackgroundModesMultiHap', 0, async function (done) {
let dataInfos = await bundle.queryAbilityByWant({ let dataInfos = await bundle.queryAbilityByWant({
action: 'action.system.home', action: 'action.system.home',
entities: ['entity.system.home'], entities: ['entity.system.home'],
......
...@@ -38,12 +38,12 @@ describe('ActsBmsQueryAbilityByWant', function () { ...@@ -38,12 +38,12 @@ describe('ActsBmsQueryAbilityByWant', function () {
}); });
/* /*
* @tc.number: bms_queryAbilityByWant_0100 * @tc.number: SUB_BMS_APPINFO_QUERYSYS_0008
* @tc.name: queryAbilityByWant callback by other callback * @tc.name: queryAbilityByWantThirdApp
* @tc.desc: 1.queryAbilityByWant callback * @tc.desc: 1.queryAbilityByWant callback
* 2.queryAbilityByWant for third app * 2.queryAbilityByWant for third app
*/ */
it('bms_queryAbilityByWant_0100', 0, async function (done) { it('queryAbilityByWantThirdApp', 0, async function (done) {
await bundle.queryAbilityByWant({ await bundle.queryAbilityByWant({
action: ACTION_NAME, action: ACTION_NAME,
entities: [ENTITY_NAME], entities: [ENTITY_NAME],
...@@ -67,12 +67,12 @@ describe('ActsBmsQueryAbilityByWant', function () { ...@@ -67,12 +67,12 @@ describe('ActsBmsQueryAbilityByWant', function () {
}); });
/* /*
* @tc.number: bms_queryAbilityByWant_0200 * @tc.number: SUB_BMS_APPINFO_QUERYSYS_0007
* @tc.name: queryAbilityByWant callback by other callback * @tc.name: queryAbilityByWantSystemApp
* @tc.desc: 1.queryAbilityByWant callback * @tc.desc: 1.queryAbilityByWant callback
* 2.queryAbilityByWant for systemapp * 2.queryAbilityByWant for systemapp
*/ */
it('bms_queryAbilityByWant_0200', 0, async function (done) { it('queryAbilityByWantSystemApp', 0, async function (done) {
await bundle.queryAbilityByWant( await bundle.queryAbilityByWant(
{ {
action: ACTION_NAME, action: ACTION_NAME,
...@@ -107,11 +107,11 @@ describe('ActsBmsQueryAbilityByWant', function () { ...@@ -107,11 +107,11 @@ describe('ActsBmsQueryAbilityByWant', function () {
}); });
/* /*
* @tc.number: bms_queryAbilityByEntities_0300 * @tc.number: SUB_BMS_APPINFO_QUERY_0084
* @tc.name: Use the implicit query method in queryAbilityByWant to get abilityInfos * @tc.name: queryAbilityByWantImplicitByEntities
* @tc.desc: The entities in the parameter want pass in the new field, and use the implicit query to get abilitInfos * @tc.desc: The entities in the parameter want pass in the new field, and use the implicit query to get abilitInfos
*/ */
it('bms_queryAbilityByEntities_0300', 0, async function (done) { it('queryAbilityByWantImplicitByEntities', 0, async function (done) {
let dataInfos = await bundle.queryAbilityByWant({ let dataInfos = await bundle.queryAbilityByWant({
action: ACTION_NAME, action: ACTION_NAME,
entities: ["entity.app.music", entities: ["entity.app.music",
......
...@@ -38,11 +38,11 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -38,11 +38,11 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getApplicationInfoTest_100 * @tc.number: getApplicationInfo_1900
* @tc.name: test getApplicationInfo * @tc.name: getApplicationInfoUnPermissionUserId
* @tc.desc: test getApplicationInfo * @tc.desc: test getApplicationInfo
*/ */
it('getApplicationInfoTest_100', 0, async function (done) { it('getApplicationInfoUnPermissionUserId', 0, async function (done) {
await bundle.getApplicationInfo(LAUNCHER_BUNDLE_NAME, DEFAULT_FLAG, userId).then(data => { await bundle.getApplicationInfo(LAUNCHER_BUNDLE_NAME, DEFAULT_FLAG, userId).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -56,11 +56,11 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -56,11 +56,11 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getAllApplicationInfoTest_100 * @tc.number: getApplicationInfos_1500
* @tc.name: test getAllApplicationInfo * @tc.name: getApplicationInfosUnPermissionUserId
* @tc.desc: test getAllApplicationInfo * @tc.desc: test getAllApplicationInfo
*/ */
it('getAllApplicationInfoTest_100', 0, async function (done) { it('getApplicationInfosUnPermissionUserId', 0, async function (done) {
await bundle.getAllApplicationInfo(DEFAULT_FLAG, userId).then(data => { await bundle.getAllApplicationInfo(DEFAULT_FLAG, userId).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -74,11 +74,11 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -74,11 +74,11 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getBundleInfoTest_100 * @tc.number: getBundleInfo_2300
* @tc.name: test getBundleInfo * @tc.name: getBundleInfoUnPermissionUserId
* @tc.desc: test getBundleInfo * @tc.desc: test getBundleInfo
*/ */
it('getBundleInfoTest_100', 0, async function (done) { it('getBundleInfoUnPermissionUserId', 0, async function (done) {
await bundle.getBundleInfo(LAUNCHER_BUNDLE_NAME, userId).then(data => { await bundle.getBundleInfo(LAUNCHER_BUNDLE_NAME, userId).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -92,11 +92,11 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -92,11 +92,11 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getAllBundleInfoTest_100 * @tc.number: getBundleInfos_1000
* @tc.name: test getAllBundleInfo * @tc.name: getAllBundleInfoUnPermission
* @tc.desc: test getAllBundleInfo * @tc.desc: test getAllBundleInfo
*/ */
it('getAllBundleInfoTest_100', 0, async function (done) { it('getAllBundleInfoUnPermission', 0, async function (done) {
await bundle.getAllBundleInfo(DEFAULT_FLAG).then(data => { await bundle.getAllBundleInfo(DEFAULT_FLAG).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -110,11 +110,11 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -110,11 +110,11 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: queryAbilityByWantTest_100 * @tc.number: SUB_BMS_APPINFO_QUERY_0015
* @tc.name: test queryAbilityByWant * @tc.name: queryAbilityByWantUnPermission
* @tc.desc: test queryAbilityByWant * @tc.desc: test queryAbilityByWant
*/ */
it('queryAbilityByWantTest_100', 0, async function (done) { it('queryAbilityByWantUnPermission', 0, async function (done) {
await bundle.queryAbilityByWant({ await bundle.queryAbilityByWant({
bundleName: LAUNCHER_BUNDLE_NAME, bundleName: LAUNCHER_BUNDLE_NAME,
abilityName: LAUNCHER_MAIN_ABILITY abilityName: LAUNCHER_MAIN_ABILITY
...@@ -135,11 +135,11 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -135,11 +135,11 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getLaunchWantForBundleTest_100 * @tc.number: SUB_BMS_APPINFO_QUERY_0010
* @tc.name: test getLaunchWantForBundle * @tc.name: getLaunchWantForBundleUnPermission
* @tc.desc: test getLaunchWantForBundle * @tc.desc: test getLaunchWantForBundle
*/ */
it('getLaunchWantForBundleTest_100', 0, async function (done) { it('getLaunchWantForBundleUnPermission', 0, async function (done) {
await bundle.getLaunchWantForBundle(LAUNCHER_BUNDLE_NAME).then(data => { await bundle.getLaunchWantForBundle(LAUNCHER_BUNDLE_NAME).then(data => {
expect().assertFail(); expect().assertFail();
}).catch(err => { }).catch(err => {
...@@ -153,12 +153,12 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -153,12 +153,12 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getAbilityLabelTest_100 * @tc.number: SUB_BMS_APPINFO_GETABILITYLABELP_0006
* @tc.name: getAbilityLabel : Gets the specified ability label * @tc.name: getAbilityLabelUnPermission
* @tc.desc: Check the return value of the interface * @tc.desc: Check the return value of the interface
* @tc.level 0 * @tc.level 0
*/ */
it('getAbilityLabelTest_100', 0, async function (done) { it('getAbilityLabelUnPermission', 0, async function (done) {
await bundle.getAbilityLabel(LAUNCHER_BUNDLE_NAME, LAUNCHER_MAIN_ABILITY) await bundle.getAbilityLabel(LAUNCHER_BUNDLE_NAME, LAUNCHER_MAIN_ABILITY)
.then((data) => { .then((data) => {
expect().assertFail(); expect().assertFail();
...@@ -174,8 +174,8 @@ describe('ActsBmsJsUnPermissionTest', function () { ...@@ -174,8 +174,8 @@ describe('ActsBmsJsUnPermissionTest', function () {
}); });
/* /*
* @tc.number: getAbilityInfo_100 * @tc.number: SUB_BMS_APPINFO_GETABILITYINFO_0006
* @tc.name: test getAbilityInfo * @tc.name: getAbilityInfoUnPermission
* @tc.desc: test getAbilityInfo * @tc.desc: test getAbilityInfo
*/ */
it('getAbilityInfo_100', 0, async function (done) { it('getAbilityInfo_100', 0, async function (done) {
......
...@@ -32,7 +32,7 @@ const PROFILE_JSON_STRING = "{\"src\":[\"MainAbility/pages/index/index\",\"MainA ...@@ -32,7 +32,7 @@ const PROFILE_JSON_STRING = "{\"src\":[\"MainAbility/pages/index/index\",\"MainA
export default function getProfileByAbility() { export default function getProfileByAbility() {
describe('getProfileByAbility', function () { describe('getProfileByAbility', function () {
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0021 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0011
* @tc.name: getProfileByAbilityInvalidModulePro * @tc.name: getProfileByAbilityInvalidModulePro
* @tc.desc: Check the invalid moduleName (by promise) * @tc.desc: Check the invalid moduleName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -50,7 +50,7 @@ export default function getProfileByAbility() { ...@@ -50,7 +50,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0031 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0015
* @tc.name: getProfileByAbilityEmptyModulePro * @tc.name: getProfileByAbilityEmptyModulePro
* @tc.desc: Check the empty moduleName (by promise) * @tc.desc: Check the empty moduleName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -68,7 +68,7 @@ export default function getProfileByAbility() { ...@@ -68,7 +68,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0028 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0017
* @tc.name: getProfileByAbilityInvalidModuleCall * @tc.name: getProfileByAbilityInvalidModuleCall
* @tc.desc: Check the invalid moduleName (by callback) * @tc.desc: Check the invalid moduleName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -87,7 +87,7 @@ export default function getProfileByAbility() { ...@@ -87,7 +87,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0037 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0034
* @tc.name: getProfileByAbilityEmptyModuleCall * @tc.name: getProfileByAbilityEmptyModuleCall
* @tc.desc: Check the empty moduleName (by callback) * @tc.desc: Check the empty moduleName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -106,7 +106,7 @@ export default function getProfileByAbility() { ...@@ -106,7 +106,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0013 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0012
* @tc.name: getProfileByAbilityInvalidAbilityPro * @tc.name: getProfileByAbilityInvalidAbilityPro
* @tc.desc: Check the invalid abilityName (by promise) * @tc.desc: Check the invalid abilityName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -124,7 +124,7 @@ export default function getProfileByAbility() { ...@@ -124,7 +124,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0032 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0029
* @tc.name: getProfileByAbilityEmptyAbilityPro * @tc.name: getProfileByAbilityEmptyAbilityPro
* @tc.desc: Check the empty abilityName (by promise) * @tc.desc: Check the empty abilityName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -142,7 +142,7 @@ export default function getProfileByAbility() { ...@@ -142,7 +142,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0023 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0022
* @tc.name: getProfileByAbilityInvalidAbilityCall * @tc.name: getProfileByAbilityInvalidAbilityCall
* @tc.desc: Check the invalid abilityName (by callback) * @tc.desc: Check the invalid abilityName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -161,7 +161,7 @@ export default function getProfileByAbility() { ...@@ -161,7 +161,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0038 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0029
* @tc.name: getProfileByAbilityEmptyAbilityCall * @tc.name: getProfileByAbilityEmptyAbilityCall
* @tc.desc: Check the empty abilityName (by callback) * @tc.desc: Check the empty abilityName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -180,7 +180,7 @@ export default function getProfileByAbility() { ...@@ -180,7 +180,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0025 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0024
* @tc.name: getProfileByAbilityCallback * @tc.name: getProfileByAbilityCallback
* @tc.desc: Check the valid metadataName (by callback) * @tc.desc: Check the valid metadataName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -200,7 +200,7 @@ export default function getProfileByAbility() { ...@@ -200,7 +200,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0027 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0026
* @tc.name: getProfileByAbilityInvalidMetaDataCall * @tc.name: getProfileByAbilityInvalidMetaDataCall
* @tc.desc: Check the invalid metadataName (by callback) * @tc.desc: Check the invalid metadataName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -219,7 +219,7 @@ export default function getProfileByAbility() { ...@@ -219,7 +219,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0039 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0036
* @tc.name: getProfileByAbilityEmptyMetaDataCall * @tc.name: getProfileByAbilityEmptyMetaDataCall
* @tc.desc: Check the empty metadataName (by callback) * @tc.desc: Check the empty metadataName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -241,7 +241,7 @@ export default function getProfileByAbility() { ...@@ -241,7 +241,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0003 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0002
* @tc.name: getProfileByAbilityPromise * @tc.name: getProfileByAbilityPromise
* @tc.desc: Check the valid metadataName (by promise) * @tc.desc: Check the valid metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -261,7 +261,7 @@ export default function getProfileByAbility() { ...@@ -261,7 +261,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0016 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0004
* @tc.name: getProfileByAbilityInvalidMetaDataPro * @tc.name: getProfileByAbilityInvalidMetaDataPro
* @tc.desc: Check the invalid metadataName (by promise) * @tc.desc: Check the invalid metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -279,7 +279,7 @@ export default function getProfileByAbility() { ...@@ -279,7 +279,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0033 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0030
* @tc.name: getProfileByAbilityEmptyMetaDataPro * @tc.name: getProfileByAbilityEmptyMetaDataPro
* @tc.desc: Check the empty metadataName (by promise) * @tc.desc: Check the empty metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -301,7 +301,7 @@ export default function getProfileByAbility() { ...@@ -301,7 +301,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0010 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0009
* @tc.name: getProfileByAbilityNoMetaDataPro * @tc.name: getProfileByAbilityNoMetaDataPro
* @tc.desc: without metadataName (by promise) * @tc.desc: without metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -323,7 +323,7 @@ export default function getProfileByAbility() { ...@@ -323,7 +323,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0049 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0048
* @tc.name: getProfileByAbilityNoProfilePro * @tc.name: getProfileByAbilityNoProfilePro
* @tc.desc: no profile configured under the ability (by promise) * @tc.desc: no profile configured under the ability (by promise)
* @tc.level 0 * @tc.level 0
...@@ -341,7 +341,7 @@ export default function getProfileByAbility() { ...@@ -341,7 +341,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0043 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0045
* @tc.name: getProfileByAbilityNotPrefixPro * @tc.name: getProfileByAbilityNotPrefixPro
* @tc.desc: resource has no prefix '$profile:' (by promise) * @tc.desc: resource has no prefix '$profile:' (by promise)
* @tc.level 0 * @tc.level 0
...@@ -359,7 +359,7 @@ export default function getProfileByAbility() { ...@@ -359,7 +359,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0042 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0044
* @tc.name: getProfileByAbilityNotPrefixCall * @tc.name: getProfileByAbilityNotPrefixCall
* @tc.desc: resource has no prefix '$profile:' (by callback) * @tc.desc: resource has no prefix '$profile:' (by callback)
* @tc.level 0 * @tc.level 0
...@@ -378,7 +378,7 @@ export default function getProfileByAbility() { ...@@ -378,7 +378,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0019 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0007
* @tc.name: getProfileByAbilityNotSuffixPro * @tc.name: getProfileByAbilityNotSuffixPro
* @tc.desc: profile is .txt suffix (by promise) * @tc.desc: profile is .txt suffix (by promise)
* @tc.level 0 * @tc.level 0
...@@ -397,7 +397,7 @@ export default function getProfileByAbility() { ...@@ -397,7 +397,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0041 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0040
* @tc.name: getProfileByAbilityNotSuffixCall * @tc.name: getProfileByAbilityNotSuffixCall
* @tc.desc: profile is .txt suffix (by callback) * @tc.desc: profile is .txt suffix (by callback)
* @tc.level 0 * @tc.level 0
...@@ -416,7 +416,7 @@ export default function getProfileByAbility() { ...@@ -416,7 +416,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0020 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0008
* @tc.name: getProfileByAbilityNoJsonPro * @tc.name: getProfileByAbilityNoJsonPro
* @tc.desc: profile is invalid json format (by promise) * @tc.desc: profile is invalid json format (by promise)
* @tc.level 0 * @tc.level 0
...@@ -434,7 +434,7 @@ export default function getProfileByAbility() { ...@@ -434,7 +434,7 @@ export default function getProfileByAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0047 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0046
* @tc.name: getProfileByAbilityNoJsonCall * @tc.name: getProfileByAbilityNoJsonCall
* @tc.desc: profile is invalid json format (by callback) * @tc.desc: profile is invalid json format (by callback)
* @tc.level 0 * @tc.level 0
......
...@@ -32,7 +32,7 @@ const PROFILE_JSON_STRING = "{\"src\":[\"MainAbility/pages/index/index\",\"MainA ...@@ -32,7 +32,7 @@ const PROFILE_JSON_STRING = "{\"src\":[\"MainAbility/pages/index/index\",\"MainA
export default function getProfileByExtensionAbility() { export default function getProfileByExtensionAbility() {
describe('getProfileByExtensionAbility', function () { describe('getProfileByExtensionAbility', function () {
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0011 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0021
* @tc.name: getProfileByExtensionInvalidModulePro * @tc.name: getProfileByExtensionInvalidModulePro
* @tc.desc: Check the invalid moduleName (by promise) * @tc.desc: Check the invalid moduleName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -50,7 +50,7 @@ export default function getProfileByExtensionAbility() { ...@@ -50,7 +50,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0015 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0031
* @tc.name: getProfileByExtensionEmptyModulePro * @tc.name: getProfileByExtensionEmptyModulePro
* @tc.desc: Check the Empty moduleName (by promise) * @tc.desc: Check the Empty moduleName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -68,7 +68,7 @@ export default function getProfileByExtensionAbility() { ...@@ -68,7 +68,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0017 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0028
* @tc.name: getProfileByExtensionEmptyModuleCall * @tc.name: getProfileByExtensionEmptyModuleCall
* @tc.desc: Check the invalid moduleName (by callback) * @tc.desc: Check the invalid moduleName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -87,7 +87,7 @@ export default function getProfileByExtensionAbility() { ...@@ -87,7 +87,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0034 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0037
* @tc.name: getProfileByExtensionEmptyModuleCall * @tc.name: getProfileByExtensionEmptyModuleCall
* @tc.desc: Check the Empty moduleName (by callback) * @tc.desc: Check the Empty moduleName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -106,7 +106,7 @@ export default function getProfileByExtensionAbility() { ...@@ -106,7 +106,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0012 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0013
* @tc.name: getProfileByExtensionInvalidAbilityPro * @tc.name: getProfileByExtensionInvalidAbilityPro
* @tc.desc: Check the invalid abilityName (by promise) * @tc.desc: Check the invalid abilityName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -124,7 +124,7 @@ export default function getProfileByExtensionAbility() { ...@@ -124,7 +124,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0029 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0032
* @tc.name: getProfileByExtensionEmptyAbilityPro * @tc.name: getProfileByExtensionEmptyAbilityPro
* @tc.desc: Check the Empty abilityName (by promise) * @tc.desc: Check the Empty abilityName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -142,7 +142,7 @@ export default function getProfileByExtensionAbility() { ...@@ -142,7 +142,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0022 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0023
* @tc.name: getProfileByExtensionInvalidAbilityCall * @tc.name: getProfileByExtensionInvalidAbilityCall
* @tc.desc: Check the invalid abilityName (by callback) * @tc.desc: Check the invalid abilityName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -161,7 +161,7 @@ export default function getProfileByExtensionAbility() { ...@@ -161,7 +161,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0035 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0038
* @tc.name: getProfileByExtensionEmptyAbilityCall * @tc.name: getProfileByExtensionEmptyAbilityCall
* @tc.desc: Check the Empty abilityName (by callback) * @tc.desc: Check the Empty abilityName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -180,7 +180,7 @@ export default function getProfileByExtensionAbility() { ...@@ -180,7 +180,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0024 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0025
* @tc.name: getProfileByExtensionAbilityCallback * @tc.name: getProfileByExtensionAbilityCallback
* @tc.desc: Check the valid metadataName (by callback) * @tc.desc: Check the valid metadataName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -200,7 +200,7 @@ export default function getProfileByExtensionAbility() { ...@@ -200,7 +200,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0026 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0027
* @tc.name: getProfileByExtensionInvalidMetaDataCall * @tc.name: getProfileByExtensionInvalidMetaDataCall
* @tc.desc: Check the invalid metadataName (by callback) * @tc.desc: Check the invalid metadataName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -219,7 +219,7 @@ export default function getProfileByExtensionAbility() { ...@@ -219,7 +219,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0036 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0039
* @tc.name: getProfileByExtensionEmptyMetaDataCall * @tc.name: getProfileByExtensionEmptyMetaDataCall
* @tc.desc: Check the empty metadataName (by callback) * @tc.desc: Check the empty metadataName (by callback)
* @tc.level 0 * @tc.level 0
...@@ -241,7 +241,7 @@ export default function getProfileByExtensionAbility() { ...@@ -241,7 +241,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0002 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0003
* @tc.name: getProfileByExtensionAbilityPromise * @tc.name: getProfileByExtensionAbilityPromise
* @tc.desc: Check the valid metadataName (by promise) * @tc.desc: Check the valid metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -261,7 +261,7 @@ export default function getProfileByExtensionAbility() { ...@@ -261,7 +261,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0004 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0016
* @tc.name: getProfileByExtensionInvalidMetaDataPro * @tc.name: getProfileByExtensionInvalidMetaDataPro
* @tc.desc: Check the invalid metadataName (by promise) * @tc.desc: Check the invalid metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -279,7 +279,7 @@ export default function getProfileByExtensionAbility() { ...@@ -279,7 +279,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0030 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0033
* @tc.name: getProfileByExtensionEmptyMetaDataPro * @tc.name: getProfileByExtensionEmptyMetaDataPro
* @tc.desc: Check the empty metadataName (by promise) * @tc.desc: Check the empty metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -301,7 +301,7 @@ export default function getProfileByExtensionAbility() { ...@@ -301,7 +301,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0009 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0010
* @tc.name: getProfileByExtensionAbilityNoMetaDataPro * @tc.name: getProfileByExtensionAbilityNoMetaDataPro
* @tc.desc: without metadataName (by promise) * @tc.desc: without metadataName (by promise)
* @tc.level 0 * @tc.level 0
...@@ -323,7 +323,7 @@ export default function getProfileByExtensionAbility() { ...@@ -323,7 +323,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0048 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0049
* @tc.name: getProfileByExtensionAbilityNoProfilePro * @tc.name: getProfileByExtensionAbilityNoProfilePro
* @tc.desc: no profile configured under the ability (by promise) * @tc.desc: no profile configured under the ability (by promise)
* @tc.level 0 * @tc.level 0
...@@ -341,7 +341,7 @@ export default function getProfileByExtensionAbility() { ...@@ -341,7 +341,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0045 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0043
* @tc.name: getProfileByExtensionNotPrefixPro * @tc.name: getProfileByExtensionNotPrefixPro
* @tc.desc: resource has no prefix '$profile:' (by promise) * @tc.desc: resource has no prefix '$profile:' (by promise)
* @tc.level 0 * @tc.level 0
...@@ -359,7 +359,7 @@ export default function getProfileByExtensionAbility() { ...@@ -359,7 +359,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0044 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0042
* @tc.name: getProfileByExtensionNotPrefixCall * @tc.name: getProfileByExtensionNotPrefixCall
* @tc.desc: resource has no prefix '$profile:' (by callback) * @tc.desc: resource has no prefix '$profile:' (by callback)
* @tc.level 0 * @tc.level 0
...@@ -378,7 +378,7 @@ export default function getProfileByExtensionAbility() { ...@@ -378,7 +378,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0007 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0019
* @tc.name: getProfileByExtensionNotSuffixPro * @tc.name: getProfileByExtensionNotSuffixPro
* @tc.desc: profile is .txt suffix (by promise) * @tc.desc: profile is .txt suffix (by promise)
* @tc.level 0 * @tc.level 0
...@@ -397,7 +397,7 @@ export default function getProfileByExtensionAbility() { ...@@ -397,7 +397,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0040 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0041
* @tc.name: getProfileByExtensionNotSuffixCall * @tc.name: getProfileByExtensionNotSuffixCall
* @tc.desc: profile is .txt suffix (by callback) * @tc.desc: profile is .txt suffix (by callback)
* @tc.level 0 * @tc.level 0
...@@ -416,7 +416,7 @@ export default function getProfileByExtensionAbility() { ...@@ -416,7 +416,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0008 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0020
* @tc.name: getProfileByExtensionNoJsonPro * @tc.name: getProfileByExtensionNoJsonPro
* @tc.desc: profile is invalid json format (by promise) * @tc.desc: profile is invalid json format (by promise)
* @tc.level 0 * @tc.level 0
...@@ -434,7 +434,7 @@ export default function getProfileByExtensionAbility() { ...@@ -434,7 +434,7 @@ export default function getProfileByExtensionAbility() {
}) })
/* /*
* @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0046 * @tc.number: SUB_BMS_APPINFO_QUERYMETAFILE_0047
* @tc.name: getProfileByExtensionNoJsonCall * @tc.name: getProfileByExtensionNoJsonCall
* @tc.desc: profile is invalid json format (by callback) * @tc.desc: profile is invalid json format (by callback)
* @tc.level 0 * @tc.level 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册