From 61f27e24023a15447fba71820f695cf434e9dc21 Mon Sep 17 00:00:00 2001 From: wangtiantian Date: Tue, 21 Dec 2021 04:51:02 +0000 Subject: [PATCH 1/2] IssueNo:https://gitee.com/openharmony/appexecfwk_standard/issues/I4N11L Description:fix compile problem Sig:appexecfwk Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangtiantian --- .../notificationfuzztest/src/notificationfuzztestmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp b/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp index b2c7ef219..4b5f41d24 100644 --- a/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp +++ b/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp @@ -616,12 +616,12 @@ void NotificationFuzzTestManager::RegisterLauncherService() temp->IsAbilityEnabled(abilityInfo); }); - callFunctionMap_.emplace("LauncherServiceGetShortcutInfos", []() { + /*callFunctionMap_.emplace("LauncherServiceGetShortcutInfos", []() { std::shared_ptr temp = GetParamLauncherService(); const std::string bundleName = GetStringParam(); std::vector launcherShortcutInfo = GetParamLauncherShortcutInfoVector(); temp->GetShortcutInfos(bundleName, launcherShortcutInfo); - }); + });*/ callFunctionMap_.emplace("LauncherServiceRegisterCallback", []() { std::shared_ptr temp = GetParamLauncherService(); -- Gitee From 594a2ea17daf92ebe121837bb5308842175e19b8 Mon Sep 17 00:00:00 2001 From: wangtiantian Date: Wed, 22 Dec 2021 03:55:12 +0000 Subject: [PATCH 2/2] IssueNo:https://gitee.com/openharmony/appexecfwk_standard/issues/I4N11L Description:fix compile problem Sig:appexecfwk Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: wangtiantian --- .../src/notificationfuzztestmanager.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp b/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp index 4b5f41d24..45eba385c 100644 --- a/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp +++ b/test/resource/notificationfuzztest/src/notificationfuzztestmanager.cpp @@ -616,13 +616,6 @@ void NotificationFuzzTestManager::RegisterLauncherService() temp->IsAbilityEnabled(abilityInfo); }); - /*callFunctionMap_.emplace("LauncherServiceGetShortcutInfos", []() { - std::shared_ptr temp = GetParamLauncherService(); - const std::string bundleName = GetStringParam(); - std::vector launcherShortcutInfo = GetParamLauncherShortcutInfoVector(); - temp->GetShortcutInfos(bundleName, launcherShortcutInfo); - });*/ - callFunctionMap_.emplace("LauncherServiceRegisterCallback", []() { std::shared_ptr temp = GetParamLauncherService(); const sptr callback = GetParamIBundleStatusCallback(); -- Gitee