From 839fb4f6867c557c6d57ae89d1241f5d5f7d3abe Mon Sep 17 00:00:00 2001 From: zhijianwen Date: Mon, 7 Nov 2022 20:56:22 +0800 Subject: [PATCH] --add ContentType -- Signed-off-by: zhijianwen --- .../entry/src/main/ets/test/SecondaryDirectory.test.ets | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/notification/ans_standard/actsNotificationSecondaryDirectory/entry/src/main/ets/test/SecondaryDirectory.test.ets b/notification/ans_standard/actsNotificationSecondaryDirectory/entry/src/main/ets/test/SecondaryDirectory.test.ets index 63e5159d7..3862491e5 100644 --- a/notification/ans_standard/actsNotificationSecondaryDirectory/entry/src/main/ets/test/SecondaryDirectory.test.ets +++ b/notification/ans_standard/actsNotificationSecondaryDirectory/entry/src/main/ets/test/SecondaryDirectory.test.ets @@ -524,6 +524,11 @@ describe('secondaryDirectoryTest', function () { expect(typeof flags.vibrationEnabled == 'number').assertTrue() expect(flags.soundEnabled).assertEqual(1) expect(flags.vibrationEnabled).assertEqual(2) + expect(notify.ContentType.NOTIFICATION_CONTENT_BASIC_TEXT).assertEqual(0) + expect(notify.ContentType.NOTIFICATION_CONTENT_LONG_TEXT).assertEqual(1) + expect(notify.ContentType.NOTIFICATION_CONTENT_PICTURE).assertEqual(2) + expect(notify.ContentType.NOTIFICATION_CONTENT_CONVERSATION).assertEqual(3) + expect(notify.ContentType.NOTIFICATION_CONTENT_MULTILINE).assertEqual(4) done() console.info(`${TAG} SUB_NOTIFICATION_ANS_SECONDARY_DIRECTORY_TEST_1100 END`); }); -- GitLab