• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2022 Huawei Device Co., Ltd.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at
5#
6#     http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13import("//base/notification/distributed_notification_service/notification.gni")
14
15group("fuzztest") {
16  testonly = true
17
18  deps = [
19    "addnotificationslot_fuzzer:AddNotificationSlotFuzzTest",
20    "addnotificationslots_fuzzer:AddNotificationSlotsFuzzTest",
21    "addslotbytype_fuzzer:AddSlotByTypeFuzzTest",
22    "advancednotificationservice:fuzztest",
23    "advancednotificationservice_fuzzer:AdvancedNotificationServiceFuzzTest",
24    "ansmanagerstub_fuzzer:AnsManagerStubFuzzTest",
25    "ansmanagerstubannex_fuzzer:AnsManagerStubAnnexFuzzTest",
26    "ansmanagerstubannexthree_fuzzer:AnsManagerStubAnnexThreeFuzzTest",
27    "ansmanagerstubannextwo_fuzzer:AnsManagerStubAnnexTwoFuzzTest",
28    "cancelasbundle_fuzzer:CancelAsBundleFuzzTest",
29    "cancelgroup_fuzzer:CancelGroupFuzzTest",
30    "cancelnotification_fuzzer:CancelNotificationFuzzTest",
31    "enabledistributed_fuzzer:EnableDistributedFuzzTest",
32    "enablednotificationcallbackdata_fuzzer:EnabledNotificationCallbackDataFuzzTest",
33    "getactivenotificationnums_fuzzer:GetActiveNotificationNumsFuzzTest",
34    "getallactivenotifications_fuzzer:GetAllActiveNotificationsFuzzTest",
35    "getbundleimportance_fuzzer:GetBundleImportanceFuzzTest",
36    "getnotificationslot_fuzzer:GetNotificationSlotFuzzTest",
37    "getnotificationslotnumasbundle_fuzzer:GetNotificationSlotNumAsBundleFuzzTest",
38    "getnotificationslotsforbundle_fuzzer:GetNotificationSlotsForBundleFuzzTest",
39    "messageuser_fuzzer:MessageUserFuzzTest",
40    "notification_fuzzer:NotificationFuzzTest",
41    "notificationactionbutton_fuzzer:NotificationActionButtonFuzzTest",
42    "notificationannex_fuzzer:NotificationAnnexFuzzTest",
43    "notificationbasiccontent_fuzzer:NotificationBasicContentFuzzTest",
44    "notificationbundleoption_fuzzer:NotificationBundleOptionFuzzTest",
45    "notificationcontent_fuzzer:NotificationContentFuzzTest",
46    "notificationconversationalcontent_fuzzer:NotificationConversationalContentFuzzTest",
47    "notificationconversationalmessage_fuzzer:NotificationConversationalMessageFuzzTest",
48    "notificationconversationalmessageannex_fuzzer:NotificationConversationalMessageAnnexFuzzTest",
49    "notificationdistributedoptions_fuzzer:NotificationDistributedOptionsFuzzTest",
50    "notificationdonotdisturbdate_fuzzer:NotificationDoNotDisturbDateFuzzTest",
51    "notificationflags_fuzzer:NotificationFlagsFuzzTest",
52    "notificationhelper_fuzzer:NotificationHelperFuzzTest",
53    "notificationlongtextcontent_fuzzer:NotificationLongTextContentFuzzTest",
54    "notificationlongtextcontentannex_fuzzer:NotificationLongTextContentAnnexFuzzTest",
55    "notificationmediacontent_fuzzer:NotificationMediaContentFuzzTest",
56    "notificationmultilinecontent_fuzzer:NotificationMultiLineContentFuzzTest",
57    "notificationmultilinecontentannex_fuzzer:NotificationMultiLineContentAnnexFuzzTest",
58    "notificationnormalcontent_fuzzer:NotificationNormalContentFuzzTest",
59    "notificationparcel_fuzzer:NotificationParcelFuzzTest",
60    "notificationpicturecontent_fuzzer:NotificationPictureContentFuzzTest",
61    "notificationpicturecontentannex_fuzzer:NotificationPictureContentAnnexFuzzTest",
62    "notificationrequest_fuzzer:NotificationRequestFuzzTest",
63    "notificationrequestannex_fuzzer:NotificationRequestAnnexFuzzTest",
64    "notificationslot_fuzzer:NotificationSlotFuzzTest",
65    "notificationsorting_fuzzer:NotificationSortingFuzzTest",
66    "notificationsortingannex_fuzzer:NotificationSortingAnnexFuzzTest",
67    "notificationsortingmap_fuzzer:NotificationSortingMapFuzzTest",
68    "notificationsortingmapannex_fuzzer:NotificationSortingMapAnnexFuzzTest",
69    "notificationsubscribeInfo_fuzzer:NotificationSubscribeInfoFuzzTest",
70    "notificationtemplate_fuzzer:NotificationTemplateFuzzTest",
71    "notificationtemplateannex_fuzzer:NotificationTemplateAnnexFuzzTest",
72    "notificationuserinput_fuzzer:NotificationUserInputFuzzTest",
73    "notificationuserinputannex_fuzzer:NotificationUserInputAnnexFuzzTest",
74    "publishcontinuoustasknotification_fuzzer:PublishContinuousTaskNotificationFuzzTest",
75    "publishnotification_fuzzer:PublishNotificationFuzzTest",
76    "readfromparcel_fuzzer:ReadFromParcelFuzzTest",
77    "reminderdatamanager_fuzzer:ReminderDataManagerFuzzTest",
78    "reminderdatasharehelper_fuzzer:ReminderDataShareHelperFuzzTest",
79    "reminderhelper_fuzzer:ReminderHelperFuzzTest",
80    "reminderrequest_fuzzer:ReminderRequestFuzzTest",
81    "reminderrequestalarm_fuzzer:ReminderRequestAlarmFuzzTest",
82    "reminderrequestannex_fuzzer:ReminderRequestAnnexFuzzTest",
83    "reminderrequestannexthree_fuzzer:ReminderRequestAnnexThreeFuzzTest",
84    "reminderrequestcalendar_fuzzer:ReminderRequestCalendarFuzzTest",
85    "reminderrequestcontinuate_fuzzer:ReminderRequestContinuateFuzzTest",
86    "reminderrequesttimer_fuzzer:ReminderRequestTimerFuzzTest",
87    "reminderservice_fuzzer:ReminderServiceFuzzTest",
88    "reminderstore_fuzzer:ReminderStoreFuzzTest",
89    "reminderstoreannex_fuzzer:ReminderStoreAnnexFuzzTest",
90    "removenotification_fuzzer:RemoveNotificationFuzzTest",
91    "removenotificationsbybundle_fuzzer:RemoveNotificationsByBundleFuzzTest",
92    "removenotificationslot_fuzzer:RemoveNotificationSlotFuzzTest",
93    "setdonotdisturbdate_fuzzer:SetDoNotDisturbDateFuzzTest",
94    "setnotificationbadgenum_fuzzer:SetNotificationBadgeNumFuzzTest",
95    "setnotificationsenabledforallbundles_fuzzer:SetNotificationsEnabledForAllBundlesFuzzTest",
96    "setprogressbar_fuzzer:SetProgressBarFuzzTest",
97    "settemplate_fuzzer:SetTemplateFuzzTest",
98  ]
99
100  if (distributed_notification_service_feature_all_scenario_collaboration) {
101    deps += [ "notificationextension_fuzzer:NotificationExtensionFuzzTest" ]
102  }
103}
104