未验证 提交 06801115 编写于 作者: O openharmony_ci 提交者: Gitee

!8123 【XTS】【事件通知子系统】ActsCommonEventManagerSupportTest_master

Merge pull request !8123 from zhijianwen/master
......@@ -186,7 +186,7 @@ export default function ActsCommonEventManagerSupportTest() {
*/
it('SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1100', 0, async function () {
console.info(`${TAG} SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1100 START`)
expect(commonEventManager.Support.COMMON_EVENT_WIFI_POWER_STATE).assertEqual('usual.event.wifi.POWER_STATE')
expect(commonEventManager.Support.COMMON_EVENT_WIFI_POWER_STATE).assertEqual('usual.event.wifi.POWER_STATE')
expect(commonEventManager.Support.COMMON_EVENT_WIFI_SCAN_FINISHED).assertEqual('usual.event.wifi.SCAN_FINISHED')
expect(commonEventManager.Support.COMMON_EVENT_WIFI_RSSI_VALUE).assertEqual('usual.event.wifi.RSSI_VALUE')
expect(commonEventManager.Support.COMMON_EVENT_WIFI_CONN_STATE).assertEqual('usual.event.wifi.CONN_STATE')
......@@ -204,7 +204,7 @@ export default function ActsCommonEventManagerSupportTest() {
})
/*
* @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1300
* @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1200
* @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.
先完成此消息的编辑!
想要评论请 注册