Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
c0911029
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看板
未验证
提交
c0911029
编写于
2月 15, 2023
作者:
O
openharmony_ci
提交者:
Gitee
2月 15, 2023
浏览文件
操作
浏览文件
下载
差异文件
!7608 删除标注废弃的api9公共事件用例
Merge pull request !7608 from FangJinliang/pr_0207
上级
835f140d
4a2256c4
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
11 deletion
+0
-11
notification/ces_standard/actsCommonEventSupportTest/src/main/js/test/ActsCommonEventSupportTest.js
...upportTest/src/main/js/test/ActsCommonEventSupportTest.js
+0
-11
未找到文件。
notification/ces_standard/actsCommonEventSupportTest/src/main/js/test/ActsCommonEventSupportTest.js
浏览文件 @
c0911029
...
...
@@ -105,7 +105,6 @@ export default function ActscommonEventSupportTest() {
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_0600 START`
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_PACKAGE_RESTARTED
).
assertEqual
(
'
usual.event.PACKAGE_RESTARTED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_PACKAGE_DATA_CLEARED
).
assertEqual
(
'
usual.event.PACKAGE_DATA_CLEARED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_PACKAGE_CACHE_CLEARED
).
assertEqual
(
'
usual.event.PACKAGE_CACHE_CLEARED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_PACKAGES_SUSPENDED
).
assertEqual
(
'
usual.event.PACKAGES_SUSPENDED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_PACKAGES_UNSUSPENDED
).
assertEqual
(
'
usual.event.PACKAGES_UNSUSPENDED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_MY_PACKAGE_SUSPENDED
).
assertEqual
(
'
usual.event.MY_PACKAGE_SUSPENDED
'
)
...
...
@@ -317,8 +316,6 @@ export default function ActscommonEventSupportTest() {
*/
it
(
'
SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1800
'
,
0
,
async
function
()
{
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1800 START`
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_USB_STATE
).
assertEqual
(
'
usual.event.hardware.usb.action.USB_STATE
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_USB_PORT_CHANGED
).
assertEqual
(
'
usual.event.hardware.usb.action.USB_PORT_CHANGED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_USB_DEVICE_ATTACHED
).
assertEqual
(
'
usual.event.hardware.usb.action.USB_DEVICE_ATTACHED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_USB_DEVICE_DETACHED
).
assertEqual
(
'
usual.event.hardware.usb.action.USB_DEVICE_DETACHED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_USB_ACCESSORY_ATTACHED
).
assertEqual
(
'
usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED
'
)
...
...
@@ -339,11 +336,6 @@ export default function ActscommonEventSupportTest() {
expect
(
commonEvent
.
Support
.
COMMON_EVENT_DISK_BAD_REMOVAL
).
assertEqual
(
'
usual.event.data.DISK_BAD_REMOVAL
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_DISK_UNMOUNTABLE
).
assertEqual
(
'
usual.event.data.DISK_UNMOUNTABLE
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_DISK_EJECT
).
assertEqual
(
'
usual.event.data.DISK_EJECT
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_VOLUME_REMOVED
).
assertEqual
(
'
usual.event.data.VOLUME_REMOVED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_VOLUME_UNMOUNTED
).
assertEqual
(
'
usual.event.data.VOLUME_UNMOUNTED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_VOLUME_MOUNTED
).
assertEqual
(
'
usual.event.data.VOLUME_MOUNTED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_VOLUME_BAD_REMOVAL
).
assertEqual
(
'
usual.event.data.VOLUME_BAD_REMOVAL
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_VOLUME_EJECT
).
assertEqual
(
'
usual.event.data.VOLUME_EJECT
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED
).
assertEqual
(
'
usual.event.data.VISIBLE_ACCOUNTS_UPDATED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_ACCOUNT_DELETED
).
assertEqual
(
'
usual.event.data.ACCOUNT_DELETED
'
)
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1900 END`
)
...
...
@@ -359,9 +351,6 @@ export default function ActscommonEventSupportTest() {
expect
(
commonEvent
.
Support
.
COMMON_EVENT_FOUNDATION_READY
).
assertEqual
(
'
common.event.FOUNDATION_READY
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_AIRPLANE_MODE_CHANGED
).
assertEqual
(
'
usual.event.AIRPLANE_MODE
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_SPLIT_SCREEN
).
assertEqual
(
'
common.event.SPLIT_SCREEN
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_SLOT_CHANGE
).
assertEqual
(
'
usual.event.SLOT_CHANGE
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_SPN_INFO_CHANGED
).
assertEqual
(
'
usual.event.SPN_INFO_CHANGED
'
)
expect
(
commonEvent
.
Support
.
COMMON_EVENT_QUICK_FIX_APPLY_RESULT
).
assertEqual
(
'
usual.event.QUICK_FIX_APPLY_RESULT
'
)
console
.
info
(
`
${
TAG
}
SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_2000 END`
)
})
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录