From 8c8012d428741b1a30b54a3788121e2511dc46d1 Mon Sep 17 00:00:00 2001 From: xdongs Date: Wed, 4 Jun 2025 19:11:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnotification=20dump=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5tdd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xdongs --- frameworks/ans/test/unittest/notification_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frameworks/ans/test/unittest/notification_test.cpp b/frameworks/ans/test/unittest/notification_test.cpp index efd6ae753..87d1a0940 100644 --- a/frameworks/ans/test/unittest/notification_test.cpp +++ b/frameworks/ans/test/unittest/notification_test.cpp @@ -316,7 +316,7 @@ HWTEST_F(NotificationTest, Dump_00001, Function | SmallTest | Level1) "permitted = true, isAgent = false, updateOnly = false, isForceDistributed = false, " "isNotDistributed = false, isDoNotDisturbByPassed = false, " "removalWantAgent = null, maxScreenWantAgent = null, " - "additionalParams = null, littleIcon = null, bigIcon = null, overlayIcon = null, " + "additionalParams = null, extendInfo = null, littleIcon = null, bigIcon = null, overlayIcon = null, " "notificationContent = null, notificationTemplate = null, actionButtons = empty, " "messageUsers = empty, userInputHistory = empty, distributedOptions = " "NotificationDistributedOptions{ isDistributed = true, devicesSupportDisplay = [], " @@ -324,7 +324,8 @@ HWTEST_F(NotificationTest, Dump_00001, Function | SmallTest | Level1) "notificationBundleOption = null, agentBundle = null, creatorUserId = -1, ownerUserId = -1, " "receiverUserId = -1, updateDeadLine = 0, finishDeadLine = 0, sound = , distributed = 0: " "flag: 0, unifiedGroupInfo_ = null }, postTime = 0, " - "sound = nullptr, vibrationStyle = [], updateTimer = 0, finishTimer = 0, archiveTimer = 0 }"; + "sound = nullptr, vibrationStyle = [], updateTimer = 0, finishTimer = 0, archiveTimer = 0, " + "isPrivileged = false }"; EXPECT_EQ(rrc->Dump(), ret); } -- Gitee