diff --git a/notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js b/notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js index 859f6a52c7f1cf1bb3dc0867d2475dae5401eea7..5a6ef1f6e64ad852e52faf7ba99df625c9465381 100644 --- a/notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js +++ b/notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js @@ -164,20 +164,6 @@ export default function ActsCommonEventManagerSupportTest() { console.info(`${TAG} SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_0900 END`) }) - /* - * @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1000 - * @tc.name : commonEventManager.Support - * @tc.desc : Distributed account - */ - // it('SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1000', 0, async function () { - // console.info(`${TAG} SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1000 START`) - // expect(commonEventManager.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN).assertEqual('common.event.DISTRIBUTED_ACCOUNT_LOGIN') - // expect(commonEventManager.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT).assertEqual('common.event.DISTRIBUTED_ACCOUNT_LOGOUT') - // expect(commonEventManager.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID).assertEqual('common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID') - // expect(commonEventManager.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF).assertEqual('common.event.DISTRIBUTED_ACCOUNT_LOGOFF') - // console.info(`${TAG} SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1000 END`) - // }) - /* * @tc.number : SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1100 * @tc.name : commonEventManager.Support @@ -228,6 +214,8 @@ export default function ActsCommonEventManagerSupportTest() { expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT).assertEqual('usual.event.bluetooth.remotedevice.SDP_RESULT') expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE).assertEqual('usual.event.bluetooth.remotedevice.UUID_VALUE') expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ).assertEqual('usual.event.bluetooth.remotedevice.PAIRING_REQ') + expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL).assertEqual('usual.event.bluetooth.remotedevice.PAIRING_CANCEL') + expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ).assertEqual('usual.event.bluetooth.remotedevice.CONNECT_REQ') expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY).assertEqual('usual.event.bluetooth.remotedevice.CONNECT_REPLY') expect(commonEventManager.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL).assertEqual('usual.event.bluetooth.remotedevice.CONNECT_CANCEL') console.info(`${TAG} SUB_NOTIFICATION_CES_MANAGER_SUPPORT_ENUM_TEST_1200 END`) diff --git a/notification/ces_standard/actsCommonEventSupportTest/src/main/js/test/ActsCommonEventSupportTest.js b/notification/ces_standard/actsCommonEventSupportTest/src/main/js/test/ActsCommonEventSupportTest.js index a2a78d3636d53c68d168bc727c82904f6944b210..66543ca58d34bee30667222338d26099877f55f7 100644 --- a/notification/ces_standard/actsCommonEventSupportTest/src/main/js/test/ActsCommonEventSupportTest.js +++ b/notification/ces_standard/actsCommonEventSupportTest/src/main/js/test/ActsCommonEventSupportTest.js @@ -164,20 +164,6 @@ export default function ActscommonEventSupportTest() { console.info(`${TAG} SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_0900 END`) }) - /* - * @tc.number : SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1000 - * @tc.name : commonEvent.Support - * @tc.desc : Distributed account - */ - // it('SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1000', 0, async function () { - // console.info(`${TAG} SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1000 START`) - // expect(commonEvent.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGIN).assertEqual('common.event.DISTRIBUTED_ACCOUNT_LOGIN') - // expect(commonEvent.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOUT).assertEqual('common.event.DISTRIBUTED_ACCOUNT_LOGOUT') - // expect(commonEvent.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_TOKEN_INVALID).assertEqual('common.event.DISTRIBUTED_ACCOUNT_TOKEN_INVALID') - // expect(commonEvent.Support.COMMON_EVENT_DISTRIBUTED_ACCOUNT_LOGOFF).assertEqual('common.event.DISTRIBUTED_ACCOUNT_LOGOFF') - // console.info(`${TAG} SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1000 END`) - // }) - /* * @tc.number : SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1100 * @tc.name : commonEvent.Support @@ -228,6 +214,8 @@ export default function ActscommonEventSupportTest() { expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT).assertEqual('usual.event.bluetooth.remotedevice.SDP_RESULT') expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE).assertEqual('usual.event.bluetooth.remotedevice.UUID_VALUE') expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ).assertEqual('usual.event.bluetooth.remotedevice.PAIRING_REQ') + expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL).assertEqual('usual.event.bluetooth.remotedevice.PAIRING_CANCEL') + expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ).assertEqual('usual.event.bluetooth.remotedevice.CONNECT_REQ') expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY).assertEqual('usual.event.bluetooth.remotedevice.CONNECT_REPLY') expect(commonEvent.Support.COMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL).assertEqual('usual.event.bluetooth.remotedevice.CONNECT_CANCEL') console.info(`${TAG} SUB_NOTIFICATION_CES_SUPPORT_ENUM_TEST_1200 END`)