From 0e01f8974a9bbbf5d8b6dd896538593de49a0d86 Mon Sep 17 00:00:00 2001 From: zhijianwen Date: Mon, 24 Oct 2022 20:06:00 +0800 Subject: [PATCH] --account-- Signed-off-by: zhijianwen --- .../js/test/ActsCommonEventManagerSupportTest.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 5a6ef1f6e..6c9567b34 100644 --- a/notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js +++ b/notification/ces_standard/actsCommonEventManagerSupportTest/src/main/js/test/ActsCommonEventManagerSupportTest.js @@ -164,6 +164,20 @@ 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 -- GitLab