提交 3f91f1af 编写于 作者: Z zhaoyuan17

Fix codex

Signed-off-by: Nzhaoyuan17 <zhaoyuan17@huawei.com>
上级 eddd7973
...@@ -35,15 +35,12 @@ const ITEM_FOURTEEN = 14; ...@@ -35,15 +35,12 @@ const ITEM_FOURTEEN = 14;
const ITEM_FIFTEEN = 15; const ITEM_FIFTEEN = 15;
const ITEM_SIXTEEN = 16; const ITEM_SIXTEEN = 16;
const ITEM_SEVENTEEN = 17; const ITEM_SEVENTEEN = 17;
const ITEM_EIGHTEEN = 18;
const ITEM_NINETEEN =19;
const ITEM_TWENTY = 20
export default { export default {
data: { data: {
title: "BmsSystemTest", title: "BmsSystemTest",
testcase: [ testcase: [
{
/** /**
* @tc.number: bms_permissionChange_0100 * @tc.number: bms_permissionChange_0100
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -52,11 +49,12 @@ export default { ...@@ -52,11 +49,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister permission changes * 3.Unregister permission changes
*/ */
{
caseName: "bms_permissionChange_0100", caseName: "bms_permissionChange_0100",
num: "_0100", num: "_0100",
item: ITEM_ZERO item: ITEM_ZERO
}, },
{
/** /**
* @tc.number: bms_permissionChange_0200 * @tc.number: bms_permissionChange_0200
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -65,11 +63,12 @@ export default { ...@@ -65,11 +63,12 @@ export default {
* 2.Request a permission that does not exist * 2.Request a permission that does not exist
* 3.Unregister permission changes * 3.Unregister permission changes
*/ */
{
caseName: "bms_permissionChange_0200", caseName: "bms_permissionChange_0200",
num: "_0200", num: "_0200",
item: ITEM_ONE item: ITEM_ONE
}, },
{
/** /**
* @tc.number: bms_permissionChange_0300 * @tc.number: bms_permissionChange_0300
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -78,11 +77,12 @@ export default { ...@@ -78,11 +77,12 @@ export default {
* 2.Start other application to request permissions * 2.Start other application to request permissions
* 3.Unregister permission changes * 3.Unregister permission changes
*/ */
{
caseName: "bms_permissionChange_0300", caseName: "bms_permissionChange_0300",
num: "_0300", num: "_0300",
item: ITEM_TWO item: ITEM_TWO
}, },
{
/** /**
* @tc.number: bms_permissionChange_0400 * @tc.number: bms_permissionChange_0400
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -90,11 +90,12 @@ export default { ...@@ -90,11 +90,12 @@ export default {
* @tc.desc: 1.Register error permission changes to monitor the permission changes of an application * @tc.desc: 1.Register error permission changes to monitor the permission changes of an application
* 2.Request permissions * 2.Request permissions
*/ */
{
caseName: "bms_permissionChange_0400", caseName: "bms_permissionChange_0400",
num: "_0400", num: "_0400",
item: ITEM_THREE item: ITEM_THREE
}, },
{
/** /**
* @tc.number: bms_permissionChange_0500 * @tc.number: bms_permissionChange_0500
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -104,11 +105,12 @@ export default { ...@@ -104,11 +105,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister permission changes * 3.Unregister permission changes
*/ */
{
caseName: "bms_permissionChange_0500", caseName: "bms_permissionChange_0500",
num: "_0500", num: "_0500",
item: ITEM_FOUR item: ITEM_FOUR
}, },
{
/** /**
* @tc.number: bms_permissionChange_0600 * @tc.number: bms_permissionChange_0600
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -118,11 +120,12 @@ export default { ...@@ -118,11 +120,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister those permission changes * 3.Unregister those permission changes
*/ */
{
caseName: "bms_permissionChange_0600", caseName: "bms_permissionChange_0600",
num: "_0600", num: "_0600",
item: ITEM_FIVE item: ITEM_FIVE
}, },
{
/** /**
* @tc.number: bms_permissionChange_0700 * @tc.number: bms_permissionChange_0700
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -131,11 +134,12 @@ export default { ...@@ -131,11 +134,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister permission changes without callback * 3.Unregister permission changes without callback
*/ */
{
caseName: "bms_permissionChange_0700", caseName: "bms_permissionChange_0700",
num: "_0700", num: "_0700",
item: ITEM_SIX item: ITEM_SIX
}, },
{
/** /**
* @tc.number: bms_permissionChange_0800 * @tc.number: bms_permissionChange_0800
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -144,11 +148,12 @@ export default { ...@@ -144,11 +148,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister permission changes without callback * 3.Unregister permission changes without callback
*/ */
{
caseName: "bms_permissionChange_0800", caseName: "bms_permissionChange_0800",
num: "_0800", num: "_0800",
item: ITEM_SEVEN item: ITEM_SEVEN
}, },
{
/** /**
* @tc.number: bms_permissionChange_0900 * @tc.number: bms_permissionChange_0900
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -157,11 +162,12 @@ export default { ...@@ -157,11 +162,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister error permission changes * 3.Unregister error permission changes
*/ */
{
caseName: "bms_permissionChange_0900", caseName: "bms_permissionChange_0900",
num: "_0900", num: "_0900",
item: ITEM_SIXTEEN item: ITEM_SIXTEEN
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0100 * @tc.number: bms_anyPermissionChange_0100
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -170,11 +176,12 @@ export default { ...@@ -170,11 +176,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister any permission changes * 3.Unregister any permission changes
*/ */
{
caseName: "bms_anyPermissionChange_0100", caseName: "bms_anyPermissionChange_0100",
num: "_0100", num: "_0100",
item: ITEM_EIGHT item: ITEM_EIGHT
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0200 * @tc.number: bms_anyPermissionChange_0200
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -183,11 +190,12 @@ export default { ...@@ -183,11 +190,12 @@ export default {
* 2.Request a permission that does not exist * 2.Request a permission that does not exist
* 3.Unregister any permission changes * 3.Unregister any permission changes
*/ */
{
caseName: "bms_anyPermissionChange_0200", caseName: "bms_anyPermissionChange_0200",
num: "_0200", num: "_0200",
item: ITEM_NINE item: ITEM_NINE
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0300 * @tc.number: bms_anyPermissionChange_0300
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -196,11 +204,12 @@ export default { ...@@ -196,11 +204,12 @@ export default {
* 2.Start other abilities to request permissions * 2.Start other abilities to request permissions
* 3.Unregister any permission changes * 3.Unregister any permission changes
*/ */
{
caseName: "bms_anyPermissionChange_0300", caseName: "bms_anyPermissionChange_0300",
num: "_0300", num: "_0300",
item: ITEM_TEN item: ITEM_TEN
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0400 * @tc.number: bms_anyPermissionChange_0400
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -209,11 +218,12 @@ export default { ...@@ -209,11 +218,12 @@ export default {
* of all applications * of all applications
* 2.Request permissions * 2.Request permissions
*/ */
{
caseName: "bms_anyPermissionChange_0400", caseName: "bms_anyPermissionChange_0400",
num: "_0400", num: "_0400",
item: ITEM_ELEVEN item: ITEM_ELEVEN
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0500 * @tc.number: bms_anyPermissionChange_0500
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -223,11 +233,12 @@ export default { ...@@ -223,11 +233,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister any permission changes * 3.Unregister any permission changes
*/ */
{
caseName: "bms_anyPermissionChange_0500", caseName: "bms_anyPermissionChange_0500",
num: "_0500", num: "_0500",
item: ITEM_TWELVE item: ITEM_TWELVE
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0600 * @tc.number: bms_anyPermissionChange_0600
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -237,11 +248,12 @@ export default { ...@@ -237,11 +248,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister those any permission changes callback * 3.Unregister those any permission changes callback
*/ */
{
caseName: "bms_anyPermissionChange_0600", caseName: "bms_anyPermissionChange_0600",
num: "_0600", num: "_0600",
item: ITEM_THIRTEEN item: ITEM_THIRTEEN
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0700 * @tc.number: bms_anyPermissionChange_0700
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -251,11 +263,12 @@ export default { ...@@ -251,11 +263,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister any permission changes without callback * 3.Unregister any permission changes without callback
*/ */
{
caseName: "bms_anyPermissionChange_0700", caseName: "bms_anyPermissionChange_0700",
num: "_0700", num: "_0700",
item: ITEM_FOURTEEN item: ITEM_FOURTEEN
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0800 * @tc.number: bms_anyPermissionChange_0800
* @tc.name: on(anyPermissionChange, callback) : register all permission change * @tc.name: on(anyPermissionChange, callback) : register all permission change
...@@ -264,11 +277,12 @@ export default { ...@@ -264,11 +277,12 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister any permission changes without callback * 3.Unregister any permission changes without callback
*/ */
{
caseName: "bms_anyPermissionChange_0800", caseName: "bms_anyPermissionChange_0800",
num: "_0800", num: "_0800",
item: ITEM_FIFTEEN item: ITEM_FIFTEEN
}, },
{
/** /**
* @tc.number: bms_anyPermissionChange_0900 * @tc.number: bms_anyPermissionChange_0900
* @tc.name: on(permissionChange, uids, callback) : register permission change * @tc.name: on(permissionChange, uids, callback) : register permission change
...@@ -277,6 +291,7 @@ export default { ...@@ -277,6 +291,7 @@ export default {
* 2.Request permissions * 2.Request permissions
* 3.Unregister error any permission changes * 3.Unregister error any permission changes
*/ */
{
caseName: "bms_anyPermissionChange_0900", caseName: "bms_anyPermissionChange_0900",
num: "_0900", num: "_0900",
item: ITEM_SEVENTEEN item: ITEM_SEVENTEEN
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册