Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
3f91f1af
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3f91f1af
编写于
12月 13, 2021
作者:
Z
zhaoyuan17
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix codex
Signed-off-by:
N
zhaoyuan17
<
zhaoyuan17@huawei.com
>
上级
eddd7973
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
166 addition
and
151 deletion
+166
-151
appexecfwk/bundle_standard/bundlemanager/bmspermissionchangetest/entry/src/main/js/default/pages/index/index.js
...changetest/entry/src/main/js/default/pages/index/index.js
+166
-151
未找到文件。
appexecfwk/bundle_standard/bundlemanager/bmspermissionchangetest/entry/src/main/js/default/pages/index/index.js
浏览文件 @
3f91f1af
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录