Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
06801115
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看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
06801115
编写于
3月 21, 2023
作者:
O
openharmony_ci
提交者:
Gitee
3月 21, 2023
浏览文件
操作
浏览文件
下载
差异文件
!8123 【XTS】【事件通知子系统】ActsCommonEventManagerSupportTest_master
Merge pull request !8123 from zhijianwen/master
上级
ba90fce4
1a39512a
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
44 addition
and
4 deletion
+44
-4
notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js
...est/src/main/js/test/ActsCommonEventManagerSupportTest.js
+44
-4
未找到文件。
notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js
浏览文件 @
06801115
...
...
@@ -204,7 +204,7 @@ export default function ActsCommonEventManagerSupportTest() {
})
/*
* @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1
3
00
* @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1
2
00
* @tc.name : commonEventManager.Support
* @tc.desc : Bluetooth
*/
...
...
@@ -377,11 +377,51 @@ export default function ActsCommonEventManagerSupportTest() {
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SLOT_CHANGE
).
assertEqual
(
'
usual.event.SLOT_CHANGE
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SPN_INFO_CHANGED
).
assertEqual
(
'
usual.event.SPN_INFO_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_QUICK_FIX_APPLY_RESULT
).
assertEqual
(
'
usual.event.QUICK_FIX_APPLY_RESULT
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_USER_INFO_UPDATED
).
assertEqual
(
'
usual.event.USER_INFO_UPDATED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_HTTP_PROXY_CHANGE
).
assertEqual
(
'
usual.event.HTTP_PROXY_CHANGE
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_USER_INFO_UPDATED
).
assertEqual
(
'
usual.event.USER_INFO_UPDATED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_HTTP_PROXY_CHANGE
).
assertEqual
(
'
usual.event.HTTP_PROXY_CHANGE
'
)
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2000 END`
)
})
/*
* @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2100
* @tc.name : commonEventManager.Support
* @tc.desc : SIM common event
*/
it
(
'
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2100
'
,
0
,
async
function
()
{
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2100 START`
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SIM_STATE_CHANGED
).
assertEqual
(
'
usual.event.SIM_STATE_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED
).
assertEqual
(
'
usual.event.SIM.DEFAULT_SMS_SUBSCRIPTION_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED
).
assertEqual
(
'
usual.event.SIM.DEFAULT_DATA_SUBSCRIPTION_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED
).
assertEqual
(
'
usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED
).
assertEqual
(
'
usual.event.SIM.DEFAULT_VOICE_SUBSCRIPTION_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SMS_RECEIVED_COMPLETED
).
assertEqual
(
'
usual.event.SMS_RECEIVED_COMPLETED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED
).
assertEqual
(
'
usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED
).
assertEqual
(
'
usual.event.SMS_CB_RECEIVE_COMPLETED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED
).
assertEqual
(
'
usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_OPERATOR_CONFIG_CHANGED
).
assertEqual
(
'
usual.event.OPERATOR_CONFIG_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_CALL_STATE_CHANGED
).
assertEqual
(
'
usual.event.CALL_STATE_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_INCOMING_CALL_MISSED
).
assertEqual
(
'
usual.event.INCOMING_CALL_MISSED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED
).
assertEqual
(
'
usual.event.CELLULAR_DATA_STATE_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_NETWORK_STATE_CHANGED
).
assertEqual
(
'
usual.event.NETWORK_STATE_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_SIGNAL_INFO_CHANGED
).
assertEqual
(
'
usual.event.SIGNAL_INFO_CHANGED
'
)
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2100 END`
)
})
/*
* @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2200
* @tc.name : commonEventManager.Support
* @tc.desc : STK common event
*/
it
(
'
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2200
'
,
0
,
async
function
()
{
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2200 START`
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_STK_COMMAND
).
assertEqual
(
'
usual.event.STK_COMMAND
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_STK_SESSION_END
).
assertEqual
(
'
usual.event.STK_SESSION_END
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_STK_CARD_STATE_CHANGED
).
assertEqual
(
'
usual.event.STK_CARD_STATE_CHANGED
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_STK_ALPHA_IDENTIFIER
).
assertEqual
(
'
usual.event.STK_ALPHA_IDENTIFIER
'
)
expect
(
commonEventManager
.
Support
.
COMMON_EVENT_RADIO_STATE_CHANGE
).
assertEqual
(
'
usual.event.RADIO_STATE_CHANGE
'
)
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_2200 END`
)
})
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST END`
)
})
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录