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

Fix codex

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