1# Copyright (c) 2022-2023 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. 13 14import("//base/notification/distributed_notification_service/notification.gni") 15import("//build/ohos.gni") 16import("//build/test.gni") 17 18module_output_path = 19 "${component_name}/distributed_notification_service/unittest" 20 21ohos_unittest("ans_unit_test") { 22 module_out_path = module_output_path 23 include_dirs = [ 24 ".", 25 "include", 26 "/${services_path}/ans/include", 27 "${services_path}/ans/test/unittest/mock/include", 28 "${services_path}/../framworks/core/include", 29 ] 30 31 defines = [] 32 33 sources = [ 34 "${test_path}/mock/mock_tokenid_kit.cpp", 35 "mock/blob.cpp", 36 "mock/distributed_kv_data_manager.cpp", 37 "mock/mock_access_token_helper.cpp", 38 "mock/mock_accesstoken_kit.cpp", 39 "mock/mock_bundle_manager_helper.cpp", 40 "mock/mock_event_handler.cpp", 41 "mock/mock_ipc.cpp", 42 "mock/mock_push_callback_stub.cpp", 43 "mock/mock_single_kv_store.cpp", 44 "mock/mock_swing_callback_stub.cpp", 45 "notification_dialog_test/mock_os_account_manager_annex.cpp", 46 "notification_hisysevent_test.cpp", 47 "notification_local_live_view_subscriber_manager_test.cpp", 48 "notification_slot_filter_test.cpp", 49 "permission_filter_test.cpp", 50 ] 51 52 deps = [ 53 "${frameworks_module_ans_path}:ans_innerkits", 54 "${services_path}/ans:libans", 55 "//third_party/googletest:gmock_main", 56 "//third_party/googletest:gtest_main", 57 ] 58 59 if (distributed_notification_supported) { 60 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 61 deps += [ "${services_path}/distributed:libans_distributed" ] 62 include_dirs += [ "${services_path}/distributed/include" ] 63 } 64 65 if (notification_smart_reminder_supported) { 66 sources += [ "reminder_swing_decision_center_test.cpp" ] 67 defines += [ "NOTIFICATION_SMART_REMINDER_SUPPORTED" ] 68 } 69 70 external_deps = [ 71 "ability_base:want", 72 "ability_base:zuri", 73 "ability_runtime:abilitykit_native", 74 "ability_runtime:app_manager", 75 "ability_runtime:wantagent_innerkits", 76 "access_token:libaccesstoken_sdk", 77 "bundle_framework:appexecfwk_base", 78 "bundle_framework:appexecfwk_core", 79 "c_utils:utils", 80 "common_event_service:cesfwk_innerkits", 81 "device_manager:devicemanagersdk", 82 "eventhandler:libeventhandler", 83 "ffrt:libffrt", 84 "hilog:libhilog", 85 "hitrace:hitrace_meter", 86 "hitrace:libhitracechain", 87 "image_framework:image_native", 88 "ipc:ipc_core", 89 "kv_store:distributeddata_inner", 90 "os_account:os_account_innerkits", 91 "relational_store:native_rdb", 92 "safwk:system_ability_fwk", 93 "samgr:samgr_proxy", 94 "time_service:time_client", 95 ] 96 97 if (device_usage) { 98 external_deps += [ "device_usage_statistics:usagestatsinner" ] 99 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 100 } 101 102 if (player_framework) { 103 external_deps += [ "player_framework:media_client" ] 104 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 105 } 106 107 cflags = [] 108 if (hisysevent_usage) { 109 external_deps += [ "hisysevent:libhisysevent" ] 110 cflags += [ "-DHAS_HISYSEVENT_PART" ] 111 } 112 113 subsystem_name = "${subsystem_name}" 114 part_name = "${component_name}" 115} 116 117ohos_unittest("notification_preferences_database_test") { 118 module_out_path = module_output_path 119 include_dirs = [ 120 ".", 121 "include", 122 "/${services_path}/ans/include", 123 "${services_path}/ans/test/unittest/mock/include", 124 "${services_path}/../framworks/core/include", 125 ] 126 127 defines = [] 128 129 sources = [ 130 "${test_path}/mock/mock_tokenid_kit.cpp", 131 "mock/blob.cpp", 132 "mock/distributed_kv_data_manager.cpp", 133 "mock/mock_access_token_helper.cpp", 134 "mock/mock_accesstoken_kit.cpp", 135 "mock/mock_bundle_manager_helper.cpp", 136 "mock/mock_event_handler.cpp", 137 "mock/mock_ipc.cpp", 138 "mock/mock_push_callback_stub.cpp", 139 "mock/mock_single_kv_store.cpp", 140 "mock/mock_swing_callback_stub.cpp", 141 "notification_preferences_database_test.cpp", 142 ] 143 144 deps = [ 145 "${frameworks_module_ans_path}:ans_innerkits", 146 "${services_path}/ans:libans", 147 "//third_party/googletest:gmock_main", 148 "//third_party/googletest:gtest_main", 149 ] 150 151 if (distributed_notification_supported) { 152 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 153 deps += [ "${services_path}/distributed:libans_distributed" ] 154 include_dirs += [ "${services_path}/distributed/include" ] 155 } 156 157 external_deps = [ 158 "ability_base:want", 159 "ability_base:zuri", 160 "ability_runtime:abilitykit_native", 161 "ability_runtime:app_manager", 162 "ability_runtime:wantagent_innerkits", 163 "access_token:libaccesstoken_sdk", 164 "bundle_framework:appexecfwk_base", 165 "bundle_framework:appexecfwk_core", 166 "c_utils:utils", 167 "common_event_service:cesfwk_innerkits", 168 "device_manager:devicemanagersdk", 169 "eventhandler:libeventhandler", 170 "ffrt:libffrt", 171 "hilog:libhilog", 172 "hitrace:hitrace_meter", 173 "hitrace:libhitracechain", 174 "image_framework:image_native", 175 "ipc:ipc_core", 176 "kv_store:distributeddata_inner", 177 "os_account:os_account_innerkits", 178 "relational_store:native_rdb", 179 "safwk:system_ability_fwk", 180 "samgr:samgr_proxy", 181 "time_service:time_client", 182 ] 183 184 if (device_usage) { 185 external_deps += [ "device_usage_statistics:usagestatsinner" ] 186 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 187 } 188 189 if (player_framework) { 190 external_deps += [ "player_framework:media_client" ] 191 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 192 } 193 194 cflags = [] 195 if (hisysevent_usage) { 196 external_deps += [ "hisysevent:libhisysevent" ] 197 cflags += [ "-DHAS_HISYSEVENT_PART" ] 198 } 199 200 subsystem_name = "${subsystem_name}" 201 part_name = "${component_name}" 202} 203 204ohos_unittest("notification_subscriber_manager_test") { 205 module_out_path = module_output_path 206 include_dirs = [ 207 ".", 208 "include", 209 "/${services_path}/ans/include", 210 "${services_path}/ans/test/unittest/mock/include", 211 "${services_path}/../framworks/core/include", 212 ] 213 214 defines = [] 215 216 sources = [ 217 "${test_path}/mock/mock_tokenid_kit.cpp", 218 "bundle_manager_helper_test.cpp", 219 "mock/blob.cpp", 220 "mock/distributed_kv_data_manager.cpp", 221 "mock/mock_access_token_helper.cpp", 222 "mock/mock_accesstoken_kit.cpp", 223 "mock/mock_bundle_manager_helper.cpp", 224 "mock/mock_event_handler.cpp", 225 "mock/mock_ipc.cpp", 226 "mock/mock_push_callback_stub.cpp", 227 "mock/mock_single_kv_store.cpp", 228 "mock/mock_swing_callback_stub.cpp", 229 "notification_subscriber_manager_test.cpp", 230 ] 231 232 deps = [ 233 "${frameworks_module_ans_path}:ans_innerkits", 234 "${services_path}/ans:libans", 235 "//third_party/googletest:gmock_main", 236 "//third_party/googletest:gtest_main", 237 ] 238 239 if (distributed_notification_supported) { 240 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 241 deps += [ "${services_path}/distributed:libans_distributed" ] 242 include_dirs += [ "${services_path}/distributed/include" ] 243 } 244 245 external_deps = [ 246 "ability_base:want", 247 "ability_base:zuri", 248 "ability_runtime:abilitykit_native", 249 "ability_runtime:app_manager", 250 "ability_runtime:wantagent_innerkits", 251 "access_token:libaccesstoken_sdk", 252 "bundle_framework:appexecfwk_base", 253 "bundle_framework:appexecfwk_core", 254 "c_utils:utils", 255 "common_event_service:cesfwk_innerkits", 256 "device_manager:devicemanagersdk", 257 "eventhandler:libeventhandler", 258 "ffrt:libffrt", 259 "hilog:libhilog", 260 "hitrace:hitrace_meter", 261 "hitrace:libhitracechain", 262 "image_framework:image_native", 263 "ipc:ipc_core", 264 "kv_store:distributeddata_inner", 265 "os_account:os_account_innerkits", 266 "relational_store:native_rdb", 267 "safwk:system_ability_fwk", 268 "samgr:samgr_proxy", 269 "time_service:time_client", 270 ] 271 272 if (device_usage) { 273 external_deps += [ "device_usage_statistics:usagestatsinner" ] 274 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 275 } 276 277 if (player_framework) { 278 external_deps += [ "player_framework:media_client" ] 279 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 280 } 281 282 cflags = [] 283 if (hisysevent_usage) { 284 external_deps += [ "hisysevent:libhisysevent" ] 285 cflags += [ "-DHAS_HISYSEVENT_PART" ] 286 } 287 288 subsystem_name = "${subsystem_name}" 289 part_name = "${component_name}" 290} 291 292ohos_unittest("notification_service_test") { 293 sanitize = { 294 integer_overflow = true 295 ubsan = true 296 boundary_sanitize = true 297 cfi = true 298 cfi_cross_dso = true 299 debug = false 300 } 301 module_out_path = module_output_path 302 include_dirs = [ 303 ".", 304 "include", 305 "/${services_path}/ans/include", 306 "${services_path}/ans/test/unittest/mock/include", 307 ] 308 309 defines = [] 310 311 sources = [ 312 "${test_path}/mock/mock_tokenid_kit.cpp", 313 "advanced_notification_live_view_service_test.cpp", 314 "advanced_notification_service_test.cpp", 315 "advanced_notification_slot_service_test.cpp", 316 "advanced_notification_utils_test.cpp", 317 "ans_manager_stub_test.cpp", 318 "clone_test/notification_clone_bundle_info_test.cpp", 319 "mock/blob.cpp", 320 "mock/distributed_kv_data_manager.cpp", 321 "mock/mock_access_token_helper.cpp", 322 "mock/mock_accesstoken_kit.cpp", 323 "mock/mock_bundle_manager_helper.cpp", 324 "mock/mock_bundle_mgr.cpp", 325 "mock/mock_event_handler.cpp", 326 "mock/mock_ipc.cpp", 327 "mock/mock_push_callback_stub.cpp", 328 "mock/mock_single_kv_store.cpp", 329 "notification_dialog_test/mock_os_account_manager_annex.cpp", 330 ] 331 332 deps = [ 333 "${frameworks_module_ans_path}:ans_innerkits", 334 "${services_path}/ans:libans", 335 "//third_party/googletest:gtest_main", 336 ] 337 338 if (distributed_notification_supported) { 339 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 340 deps += [ "${services_path}/distributed:libans_distributed" ] 341 include_dirs += [ "${services_path}/distributed/include" ] 342 } 343 344 external_deps = [ 345 "ability_base:base", 346 "ability_base:want", 347 "ability_base:zuri", 348 "ability_runtime:abilitykit_native", 349 "ability_runtime:app_manager", 350 "ability_runtime:wantagent_innerkits", 351 "access_token:libaccesstoken_sdk", 352 "bundle_framework:appexecfwk_base", 353 "bundle_framework:appexecfwk_core", 354 "c_utils:utils", 355 "common_event_service:cesfwk_innerkits", 356 "device_manager:devicemanagersdk", 357 "eventhandler:libeventhandler", 358 "ffrt:libffrt", 359 "hilog:libhilog", 360 "hitrace:hitrace_meter", 361 "hitrace:libhitracechain", 362 "image_framework:image_native", 363 "ipc:ipc_core", 364 "kv_store:distributeddata_inner", 365 "os_account:os_account_innerkits", 366 "relational_store:native_rdb", 367 "safwk:system_ability_fwk", 368 "samgr:samgr_proxy", 369 "time_service:time_client", 370 ] 371 372 if (device_usage) { 373 external_deps += [ "device_usage_statistics:usagestatsinner" ] 374 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 375 } 376 377 if (player_framework) { 378 external_deps += [ "player_framework:media_client" ] 379 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 380 } 381 382 cflags = [] 383 if (hisysevent_usage) { 384 external_deps += [ "hisysevent:libhisysevent" ] 385 cflags += [ "-DHAS_HISYSEVENT_PART" ] 386 } 387 388 subsystem_name = "${subsystem_name}" 389 part_name = "${component_name}" 390} 391 392ohos_unittest("notification_publish_service_test") { 393 sanitize = { 394 integer_overflow = true 395 ubsan = true 396 boundary_sanitize = true 397 cfi = true 398 cfi_cross_dso = true 399 debug = false 400 } 401 module_out_path = module_output_path 402 include_dirs = [ 403 ".", 404 "include", 405 "/${services_path}/ans/include", 406 "${services_path}/ans/test/unittest/mock/include", 407 ] 408 409 defines = [] 410 411 sources = [ 412 "${test_path}/mock/mock_tokenid_kit.cpp", 413 "advanced_notification_flow_control_service_test.cpp", 414 "advanced_notification_publish_service_test.cpp", 415 "mock/blob.cpp", 416 "mock/distributed_kv_data_manager.cpp", 417 "mock/mock_access_token_helper.cpp", 418 "mock/mock_accesstoken_kit.cpp", 419 "mock/mock_bundle_manager_helper.cpp", 420 "mock/mock_bundle_mgr.cpp", 421 "mock/mock_event_handler.cpp", 422 "mock/mock_ipc.cpp", 423 "mock/mock_push_callback_stub.cpp", 424 "mock/mock_single_kv_store.cpp", 425 "notification_dialog_test/mock_os_account_manager_annex.cpp", 426 ] 427 428 deps = [ 429 "${frameworks_module_ans_path}:ans_innerkits", 430 "${services_path}/ans:libans", 431 "//third_party/googletest:gtest_main", 432 ] 433 434 if (distributed_notification_supported) { 435 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 436 deps += [ "${services_path}/distributed:libans_distributed" ] 437 include_dirs += [ "${services_path}/distributed/include" ] 438 } 439 440 external_deps = [ 441 "ability_base:base", 442 "ability_base:want", 443 "ability_base:zuri", 444 "ability_runtime:ability_manager", 445 "ability_runtime:abilitykit_native", 446 "ability_runtime:app_manager", 447 "ability_runtime:wantagent_innerkits", 448 "access_token:libaccesstoken_sdk", 449 "bundle_framework:appexecfwk_base", 450 "bundle_framework:appexecfwk_core", 451 "c_utils:utils", 452 "common_event_service:cesfwk_innerkits", 453 "device_manager:devicemanagersdk", 454 "eventhandler:libeventhandler", 455 "ffrt:libffrt", 456 "hilog:libhilog", 457 "hitrace:hitrace_meter", 458 "hitrace:libhitracechain", 459 "image_framework:image_native", 460 "ipc:ipc_core", 461 "kv_store:distributeddata_inner", 462 "os_account:os_account_innerkits", 463 "relational_store:native_rdb", 464 "safwk:system_ability_fwk", 465 "samgr:samgr_proxy", 466 "time_service:time_client", 467 ] 468 469 if (device_usage) { 470 external_deps += [ "device_usage_statistics:usagestatsinner" ] 471 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 472 } 473 474 if (player_framework) { 475 external_deps += [ "player_framework:media_client" ] 476 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 477 } 478 479 cflags = [] 480 if (hisysevent_usage) { 481 external_deps += [ "hisysevent:libhisysevent" ] 482 cflags += [ "-DHAS_HISYSEVENT_PART" ] 483 } 484 485 subsystem_name = "${subsystem_name}" 486 part_name = "${component_name}" 487} 488 489ohos_unittest("notification_service_publish_test") { 490 sanitize = { 491 integer_overflow = true 492 ubsan = true 493 boundary_sanitize = true 494 cfi = true 495 cfi_cross_dso = true 496 debug = false 497 } 498 module_out_path = module_output_path 499 include_dirs = [ 500 ".", 501 "include", 502 "/${services_path}/ans/include", 503 "${services_path}/ans/test/unittest/mock/include", 504 ] 505 506 defines = [] 507 508 sources = [ 509 "${test_path}/mock/mock_tokenid_kit.cpp", 510 "advanced_notification_service_test/advanced_notification_service_publish_test.cpp", 511 "mock/blob.cpp", 512 "mock/distributed_kv_data_manager.cpp", 513 "mock/mock_access_token_helper.cpp", 514 "mock/mock_accesstoken_kit.cpp", 515 "mock/mock_bundle_manager_helper.cpp", 516 "mock/mock_bundle_mgr.cpp", 517 "mock/mock_event_handler.cpp", 518 "mock/mock_ipc.cpp", 519 "mock/mock_push_callback_stub.cpp", 520 "mock/mock_single_kv_store.cpp", 521 "notification_dialog_test/mock_os_account_manager_annex.cpp", 522 ] 523 524 deps = [ 525 "${frameworks_module_ans_path}:ans_innerkits", 526 "${services_path}/ans:libans", 527 "//third_party/googletest:gtest_main", 528 ] 529 530 if (distributed_notification_supported) { 531 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 532 deps += [ "${services_path}/distributed:libans_distributed" ] 533 include_dirs += [ "${services_path}/distributed/include" ] 534 } 535 536 external_deps = [ 537 "ability_base:base", 538 "ability_base:want", 539 "ability_base:zuri", 540 "ability_runtime:abilitykit_native", 541 "ability_runtime:app_manager", 542 "ability_runtime:wantagent_innerkits", 543 "access_token:libaccesstoken_sdk", 544 "bundle_framework:appexecfwk_base", 545 "bundle_framework:appexecfwk_core", 546 "c_utils:utils", 547 "common_event_service:cesfwk_innerkits", 548 "device_manager:devicemanagersdk", 549 "eventhandler:libeventhandler", 550 "ffrt:libffrt", 551 "hilog:libhilog", 552 "hitrace:hitrace_meter", 553 "hitrace:libhitracechain", 554 "image_framework:image_native", 555 "ipc:ipc_core", 556 "kv_store:distributeddata_inner", 557 "os_account:os_account_innerkits", 558 "relational_store:native_rdb", 559 "safwk:system_ability_fwk", 560 "samgr:samgr_proxy", 561 "time_service:time_client", 562 ] 563 564 if (device_usage) { 565 external_deps += [ "device_usage_statistics:usagestatsinner" ] 566 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 567 } 568 569 if (player_framework) { 570 external_deps += [ "player_framework:media_client" ] 571 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 572 } 573 574 cflags = [] 575 if (hisysevent_usage) { 576 external_deps += [ "hisysevent:libhisysevent" ] 577 cflags += [ "-DHAS_HISYSEVENT_PART" ] 578 } 579 580 subsystem_name = "${subsystem_name}" 581 part_name = "${component_name}" 582} 583 584ohos_unittest("notification_preferences_test") { 585 module_out_path = module_output_path 586 include_dirs = [ 587 ".", 588 "include", 589 "/${services_path}/ans/include", 590 "${services_path}/ans/test/unittest/mock/include", 591 ] 592 593 defines = [] 594 595 sources = [ 596 "${test_path}/mock/mock_tokenid_kit.cpp", 597 "advanced_notification_service_ability_test.cpp", 598 "mock/blob.cpp", 599 "mock/distributed_kv_data_manager.cpp", 600 "mock/mock_access_token_helper.cpp", 601 "mock/mock_accesstoken_kit.cpp", 602 "mock/mock_bundle_manager_helper.cpp", 603 "mock/mock_event_handler.cpp", 604 "mock/mock_ipc.cpp", 605 "mock/mock_push_callback_stub.cpp", 606 "mock/mock_single_kv_store.cpp", 607 "notification_preferences_info_test.cpp", 608 "notification_preferences_test.cpp", 609 ] 610 611 deps = [ 612 "${frameworks_module_ans_path}:ans_innerkits", 613 "${services_path}/ans:libans", 614 "//third_party/googletest:gtest_main", 615 ] 616 617 if (distributed_notification_supported) { 618 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 619 deps += [ "${services_path}/distributed:libans_distributed" ] 620 include_dirs += [ "${services_path}/distributed/include" ] 621 } 622 623 external_deps = [ 624 "ability_base:want", 625 "ability_base:zuri", 626 "ability_runtime:abilitykit_native", 627 "ability_runtime:app_manager", 628 "ability_runtime:wantagent_innerkits", 629 "access_token:libaccesstoken_sdk", 630 "bundle_framework:appexecfwk_base", 631 "bundle_framework:appexecfwk_core", 632 "c_utils:utils", 633 "common_event_service:cesfwk_innerkits", 634 "data_share:datashare_common", 635 "data_share:datashare_consumer", 636 "device_manager:devicemanagersdk", 637 "eventhandler:libeventhandler", 638 "ffrt:libffrt", 639 "hilog:libhilog", 640 "hitrace:hitrace_meter", 641 "hitrace:libhitracechain", 642 "image_framework:image_native", 643 "ipc:ipc_core", 644 "kv_store:distributeddata_inner", 645 "os_account:os_account_innerkits", 646 "relational_store:native_rdb", 647 "safwk:system_ability_fwk", 648 "samgr:samgr_proxy", 649 "time_service:time_client", 650 ] 651 652 if (device_usage) { 653 external_deps += [ "device_usage_statistics:usagestatsinner" ] 654 defines += [ "DEVICE_USAGE_STATISTICS_ENABLE" ] 655 } 656 657 if (player_framework) { 658 external_deps += [ "player_framework:media_client" ] 659 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 660 } 661 662 cflags = [] 663 if (hisysevent_usage) { 664 external_deps += [ "hisysevent:libhisysevent" ] 665 cflags += [ "-DHAS_HISYSEVENT_PART" ] 666 } 667 668 subsystem_name = "${subsystem_name}" 669 part_name = "${component_name}" 670} 671 672ohos_unittest("access_token_helper_test") { 673 module_out_path = module_output_path 674 include_dirs = [ 675 ".", 676 "include", 677 "/${services_path}/ans/include", 678 "${services_path}/ans/test/unittest/mock/include", 679 ] 680 681 sources = [ 682 "${services_path}/ans/src/access_token_helper.cpp", 683 "${services_path}/ans/test/unittest/mock/mock_accesstoken_kit.cpp", 684 "${services_path}/ans/test/unittest/mock/mock_notification_analytics_util.cpp", 685 "${test_path}/mock/mock_tokenid_kit.cpp", 686 "access_token_helper_test/access_token_helper_test.cpp", 687 ] 688 689 deps = [ "${frameworks_module_ans_path}:ans_innerkits" ] 690 691 external_deps = [ 692 "ability_base:want", 693 "ability_base:zuri", 694 "ability_runtime:abilitykit_native", 695 "ability_runtime:app_manager", 696 "ability_runtime:wantagent_innerkits", 697 "access_token:libaccesstoken_sdk", 698 "access_token:libtokenid_sdk", 699 "bundle_framework:appexecfwk_base", 700 "bundle_framework:appexecfwk_core", 701 "c_utils:utils", 702 "common_event_service:cesfwk_innerkits", 703 "eventhandler:libeventhandler", 704 "hilog:libhilog", 705 "hitrace:hitrace_meter", 706 "hitrace:libhitracechain", 707 "image_framework:image_native", 708 "init:libbegetutil", 709 "ipc:ipc_core", 710 "kv_store:distributeddata_inner", 711 "os_account:os_account_innerkits", 712 "relational_store:native_rdb", 713 "safwk:system_ability_fwk", 714 "samgr:samgr_proxy", 715 "time_service:time_client", 716 ] 717 718 if (player_framework) { 719 external_deps += [ "player_framework:media_client" ] 720 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 721 } 722 subsystem_name = "${subsystem_name}" 723 part_name = "${component_name}" 724} 725 726ohos_unittest("bundle_manager_helper_branch_test") { 727 module_out_path = module_output_path 728 include_dirs = [ 729 ".", 730 "include", 731 "/${services_path}/ans/include", 732 "${services_path}/ans/test/unittest/mock/include", 733 ] 734 735 sources = [ 736 "bundle_manager_helper_branch_test/bundle_manager_helper_branch_test.cpp", 737 "bundle_manager_helper_branch_test/mock_service_registry.cpp", 738 ] 739 740 deps = [ 741 "${frameworks_module_ans_path}:ans_innerkits", 742 "${services_path}/ans:libans", 743 "//third_party/googletest:gtest_main", 744 ] 745 746 external_deps = [ 747 "ability_base:want", 748 "ability_base:zuri", 749 "ability_runtime:abilitykit_native", 750 "ability_runtime:app_manager", 751 "ability_runtime:wantagent_innerkits", 752 "access_token:libaccesstoken_sdk", 753 "bundle_framework:appexecfwk_base", 754 "bundle_framework:appexecfwk_core", 755 "c_utils:utils", 756 "common_event_service:cesfwk_innerkits", 757 "eventhandler:libeventhandler", 758 "hilog:libhilog", 759 "hitrace:hitrace_meter", 760 "hitrace:libhitracechain", 761 "image_framework:image_native", 762 "ipc:ipc_core", 763 "kv_store:distributeddata_inner", 764 "os_account:os_account_innerkits", 765 "relational_store:native_rdb", 766 "safwk:system_ability_fwk", 767 "samgr:samgr_proxy", 768 "time_service:time_client", 769 ] 770 771 if (player_framework) { 772 external_deps += [ "player_framework:media_client" ] 773 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 774 } 775 subsystem_name = "${subsystem_name}" 776 part_name = "${component_name}" 777} 778 779ohos_unittest("notification_dialog_test") { 780 module_out_path = module_output_path 781 include_dirs = [ 782 ".", 783 "include", 784 "/${services_path}/ans/include", 785 "${services_path}/ans/test/unittest/mock/include", 786 ] 787 788 sources = [ 789 "notification_dialog_test/mock_os_account_manager_annex.cpp", 790 "notification_dialog_test/notification_dialog_test.cpp", 791 ] 792 793 deps = [ 794 "${frameworks_module_ans_path}:ans_innerkits", 795 "${services_path}/ans:libans", 796 "//third_party/googletest:gtest_main", 797 ] 798 799 external_deps = [ 800 "ability_base:want", 801 "ability_base:zuri", 802 "ability_runtime:abilitykit_native", 803 "ability_runtime:app_manager", 804 "ability_runtime:wantagent_innerkits", 805 "access_token:libaccesstoken_sdk", 806 "bundle_framework:appexecfwk_base", 807 "bundle_framework:appexecfwk_core", 808 "c_utils:utils", 809 "common_event_service:cesfwk_innerkits", 810 "eventhandler:libeventhandler", 811 "ffrt:libffrt", 812 "hilog:libhilog", 813 "hitrace:hitrace_meter", 814 "hitrace:libhitracechain", 815 "image_framework:image_native", 816 "ipc:ipc_core", 817 "kv_store:distributeddata_inner", 818 "os_account:os_account_innerkits", 819 "relational_store:native_rdb", 820 "safwk:system_ability_fwk", 821 "samgr:samgr_proxy", 822 "time_service:time_client", 823 ] 824 825 if (player_framework) { 826 external_deps += [ "player_framework:media_client" ] 827 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 828 } 829 subsystem_name = "${subsystem_name}" 830 part_name = "${component_name}" 831} 832 833ohos_unittest("notification_subscriber_manager_branch_test") { 834 module_out_path = module_output_path 835 include_dirs = [ 836 ".", 837 "include", 838 "/${services_path}/ans/include", 839 "${services_path}/ans/test/unittest/mock/include", 840 ] 841 842 defines = [] 843 844 sources = [ 845 "${test_path}/mock/mock_tokenid_kit.cpp", 846 "mock/mock_accesstoken_kit.cpp", 847 "mock/mock_bundle_manager_helper.cpp", 848 "mock/mock_ipc.cpp", 849 "notification_dialog_test/mock_os_account_manager_annex.cpp", 850 "notification_subscriber_manager_branch_test/mock_access_token_helper.cpp", 851 "notification_subscriber_manager_branch_test/mock_notification.cpp", 852 "notification_subscriber_manager_branch_test/mock_notification_preferences.cpp", 853 "notification_subscriber_manager_branch_test/notification_subscriber_manager_branch_test.cpp", 854 ] 855 856 deps = [ 857 "${frameworks_module_ans_path}:ans_innerkits", 858 "${services_path}/ans:libans", 859 "//third_party/googletest:gtest_main", 860 ] 861 862 if (distributed_notification_supported) { 863 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 864 deps += [ "${services_path}/distributed:libans_distributed" ] 865 include_dirs += [ "${services_path}/distributed/include" ] 866 } 867 868 external_deps = [ 869 "ability_base:want", 870 "ability_base:zuri", 871 "ability_runtime:abilitykit_native", 872 "ability_runtime:app_manager", 873 "ability_runtime:wantagent_innerkits", 874 "access_token:libaccesstoken_sdk", 875 "bundle_framework:appexecfwk_base", 876 "bundle_framework:appexecfwk_core", 877 "c_utils:utils", 878 "common_event_service:cesfwk_innerkits", 879 "eventhandler:libeventhandler", 880 "ffrt:libffrt", 881 "hilog:libhilog", 882 "hitrace:hitrace_meter", 883 "hitrace:libhitracechain", 884 "image_framework:image_native", 885 "ipc:ipc_core", 886 "kv_store:distributeddata_inner", 887 "os_account:os_account_innerkits", 888 "relational_store:native_rdb", 889 "safwk:system_ability_fwk", 890 "samgr:samgr_proxy", 891 "time_service:time_client", 892 ] 893 894 if (player_framework) { 895 external_deps += [ "player_framework:media_client" ] 896 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 897 } 898 subsystem_name = "${subsystem_name}" 899 part_name = "${component_name}" 900} 901 902ohos_unittest("advanced_notification_service_branch_test") { 903 module_out_path = module_output_path 904 include_dirs = [ 905 ".", 906 "include", 907 "/${services_path}/ans/include", 908 "${services_path}/ans/test/unittest/mock/include", 909 ] 910 911 defines = [] 912 913 sources = [ 914 "${test_path}/mock/mock_tokenid_kit.cpp", 915 "advanced_notification_service_branch_test.cpp", 916 "mock/blob.cpp", 917 "mock/distributed_kv_data_manager.cpp", 918 "mock/mock_accesstoken_kit.cpp", 919 "mock/mock_advanced_notification_service.cpp", 920 "mock/mock_bundle_manager_helper.cpp", 921 "mock/mock_bundle_mgr.cpp", 922 "mock/mock_event_handler.cpp", 923 "mock/mock_ipc.cpp", 924 "mock/mock_single_kv_store.cpp", 925 "notification_dialog_test/mock_os_account_manager_annex.cpp", 926 "notification_subscriber_manager_branch_test/mock_access_token_helper.cpp", 927 ] 928 929 deps = [ 930 "${frameworks_module_ans_path}:ans_innerkits", 931 "${services_path}/ans:libans", 932 ] 933 934 if (distributed_notification_supported) { 935 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 936 deps += [ "${services_path}/distributed:libans_distributed" ] 937 include_dirs += [ "${services_path}/distributed/include" ] 938 } 939 940 external_deps = [ 941 "ability_base:want", 942 "ability_base:zuri", 943 "ability_runtime:abilitykit_native", 944 "ability_runtime:app_manager", 945 "ability_runtime:wantagent_innerkits", 946 "access_token:libaccesstoken_sdk", 947 "bundle_framework:appexecfwk_base", 948 "bundle_framework:appexecfwk_core", 949 "c_utils:utils", 950 "common_event_service:cesfwk_innerkits", 951 "eventhandler:libeventhandler", 952 "ffrt:libffrt", 953 "googletest:gtest_main", 954 "hilog:libhilog", 955 "hitrace:hitrace_meter", 956 "hitrace:libhitracechain", 957 "image_framework:image_native", 958 "ipc:ipc_core", 959 "kv_store:distributeddata_inner", 960 "os_account:os_account_innerkits", 961 "relational_store:native_rdb", 962 "safwk:system_ability_fwk", 963 "samgr:samgr_proxy", 964 "time_service:time_client", 965 ] 966 967 if (player_framework) { 968 external_deps += [ "player_framework:media_client" ] 969 defines += [ "PLAYER_FRAMEWORK_ENABLE" ] 970 } 971 subsystem_name = "${subsystem_name}" 972 part_name = "${component_name}" 973} 974 975ohos_unittest("notification_preferences_database_branch_test") { 976 module_out_path = module_output_path 977 include_dirs = [ 978 ".", 979 "include", 980 "/${services_path}/ans/include", 981 "${services_path}/ans/test/unittest/mock/include", 982 ] 983 984 sources = [ 985 "${services_path}/ans/src/bundle_manager_helper.cpp", 986 "${services_path}/ans/src/common/file_utils.cpp", 987 "${services_path}/ans/src/common/notification_app_privileges.cpp", 988 "${services_path}/ans/src/common/notification_config_parse.cpp", 989 "${services_path}/ans/src/notification_preferences_database.cpp", 990 "${services_path}/ans/src/notification_preferences_info.cpp", 991 "${services_path}/ans/src/os_account_manager_helper.cpp", 992 "${services_path}/ans/test/unittest/mock/mock_notification_analytics_util.cpp", 993 "notification_dialog_test/mock_os_account_manager_annex.cpp", 994 "notification_preferences_database_branch_test/mock_notification_rdb_data_mgr.cpp", 995 "notification_preferences_database_branch_test/notification_preferences_database_branch_test.cpp", 996 ] 997 998 deps = [ 999 "${frameworks_module_ans_path}:ans_innerkits", 1000 "//third_party/googletest:gtest_main", 1001 "//third_party/libxml2:libxml2", 1002 ] 1003 1004 external_deps = [ 1005 "ability_base:want", 1006 "ability_base:zuri", 1007 "ability_runtime:abilitykit_native", 1008 "ability_runtime:app_manager", 1009 "ability_runtime:wantagent_innerkits", 1010 "access_token:libaccesstoken_sdk", 1011 "bundle_framework:appexecfwk_base", 1012 "bundle_framework:appexecfwk_core", 1013 "c_utils:utils", 1014 "common_event_service:cesfwk_innerkits", 1015 "eventhandler:libeventhandler", 1016 "ffrt:libffrt", 1017 "hilog:libhilog", 1018 "hitrace:hitrace_meter", 1019 "hitrace:libhitracechain", 1020 "image_framework:image_native", 1021 "ipc:ipc_core", 1022 "kv_store:distributeddata_inner", 1023 "os_account:os_account_innerkits", 1024 "relational_store:native_rdb", 1025 "safwk:system_ability_fwk", 1026 "samgr:samgr_proxy", 1027 "time_service:time_client", 1028 ] 1029 1030 if (player_framework) { 1031 external_deps += [ "player_framework:media_client" ] 1032 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 1033 } 1034 subsystem_name = "${subsystem_name}" 1035 part_name = "${component_name}" 1036} 1037 1038ohos_unittest("push_callback_stub_test") { 1039 module_out_path = module_output_path 1040 include_dirs = [ 1041 ".", 1042 "include", 1043 "/${services_path}/ans/include", 1044 ] 1045 1046 sources = [ "push_callback_stub_test.cpp" ] 1047 1048 deps = [ 1049 "${frameworks_module_ans_path}:ans_innerkits", 1050 "${services_path}/ans:libans", 1051 "//third_party/googletest:gtest_main", 1052 ] 1053 1054 external_deps = [ 1055 "ability_base:want", 1056 "ability_base:zuri", 1057 "ability_runtime:abilitykit_native", 1058 "ability_runtime:app_manager", 1059 "ability_runtime:wantagent_innerkits", 1060 "access_token:libaccesstoken_sdk", 1061 "bundle_framework:appexecfwk_base", 1062 "bundle_framework:appexecfwk_core", 1063 "c_utils:utils", 1064 "common_event_service:cesfwk_innerkits", 1065 "eventhandler:libeventhandler", 1066 "hilog:libhilog", 1067 "hitrace:hitrace_meter", 1068 "hitrace:libhitracechain", 1069 "image_framework:image_native", 1070 "ipc:ipc_core", 1071 "kv_store:distributeddata_inner", 1072 "os_account:os_account_innerkits", 1073 "relational_store:native_rdb", 1074 "safwk:system_ability_fwk", 1075 "samgr:samgr_proxy", 1076 "time_service:time_client", 1077 ] 1078 1079 if (player_framework) { 1080 external_deps += [ "player_framework:media_client" ] 1081 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 1082 } 1083 subsystem_name = "${subsystem_name}" 1084 part_name = "${component_name}" 1085} 1086 1087ohos_unittest("notification_rdb_data_mgr_test") { 1088 module_out_path = module_output_path 1089 include_dirs = [ 1090 ".", 1091 "include", 1092 "/${services_path}/ans/include", 1093 "${services_path}/ans/test/unittest/mock/include", 1094 ] 1095 1096 sources = [ 1097 "notification_rdb_data_mgr_test/mock_abs_result_set.cpp", 1098 "notification_rdb_data_mgr_test/mock_abs_shared_result_set.cpp", 1099 "notification_rdb_data_mgr_test/mock_rdb_helper.cpp", 1100 "notification_rdb_data_mgr_test/notification_rdb_data_mgr_test.cpp", 1101 ] 1102 1103 deps = [ 1104 "${frameworks_module_ans_path}:ans_innerkits", 1105 "${services_path}/ans:libans", 1106 "//third_party/googletest:gtest_main", 1107 ] 1108 1109 external_deps = [ 1110 "ability_base:want", 1111 "ability_base:zuri", 1112 "ability_runtime:abilitykit_native", 1113 "ability_runtime:app_manager", 1114 "ability_runtime:wantagent_innerkits", 1115 "access_token:libaccesstoken_sdk", 1116 "bundle_framework:appexecfwk_base", 1117 "bundle_framework:appexecfwk_core", 1118 "c_utils:utils", 1119 "common_event_service:cesfwk_innerkits", 1120 "eventhandler:libeventhandler", 1121 "hilog:libhilog", 1122 "hitrace:hitrace_meter", 1123 "hitrace:libhitracechain", 1124 "image_framework:image_native", 1125 "ipc:ipc_core", 1126 "kv_store:distributeddata_inner", 1127 "os_account:os_account_innerkits", 1128 "relational_store:native_rdb", 1129 "safwk:system_ability_fwk", 1130 "samgr:samgr_proxy", 1131 "time_service:time_client", 1132 ] 1133 1134 if (player_framework) { 1135 external_deps += [ "player_framework:media_client" ] 1136 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 1137 } 1138 subsystem_name = "${subsystem_name}" 1139 part_name = "${component_name}" 1140} 1141 1142ohos_unittest("notification_config_parse_test") { 1143 module_out_path = module_output_path 1144 include_dirs = [ 1145 ".", 1146 "include", 1147 "/${services_path}/ans/include", 1148 "${services_path}/ans/test/unittest/mock/include", 1149 ] 1150 1151 sources = [ 1152 "notification_app_privileges_test.cpp", 1153 "notification_config_parse_test.cpp", 1154 ] 1155 1156 deps = [ 1157 "${frameworks_module_ans_path}:ans_innerkits", 1158 "${services_path}/ans:libans", 1159 "//third_party/googletest:gtest_main", 1160 "//third_party/libxml2:libxml2", 1161 ] 1162 1163 external_deps = [ 1164 "ability_base:want", 1165 "ability_base:zuri", 1166 "ability_runtime:abilitykit_native", 1167 "ability_runtime:app_manager", 1168 "ability_runtime:wantagent_innerkits", 1169 "access_token:libaccesstoken_sdk", 1170 "bundle_framework:appexecfwk_base", 1171 "bundle_framework:appexecfwk_core", 1172 "c_utils:utils", 1173 "common_event_service:cesfwk_innerkits", 1174 "eventhandler:libeventhandler", 1175 "hilog:libhilog", 1176 "hitrace:hitrace_meter", 1177 "hitrace:libhitracechain", 1178 "image_framework:image_native", 1179 "ipc:ipc_core", 1180 "kv_store:distributeddata_inner", 1181 "os_account:os_account_innerkits", 1182 "relational_store:native_rdb", 1183 "safwk:system_ability_fwk", 1184 "samgr:samgr_proxy", 1185 "time_service:time_client", 1186 ] 1187 1188 if (player_framework) { 1189 external_deps += [ "player_framework:media_client" ] 1190 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 1191 } 1192} 1193 1194ohos_unittest("os_account_manager_helper_test") { 1195 module_out_path = module_output_path 1196 include_dirs = [ 1197 ".", 1198 "include", 1199 "/${services_path}/ans/include", 1200 "${services_path}/ans/test/unittest/mock/include", 1201 ] 1202 1203 sources = [ "os_account_manager_helper_test.cpp" ] 1204 1205 deps = [ 1206 "${frameworks_module_ans_path}:ans_innerkits", 1207 "${services_path}/ans:libans", 1208 ] 1209 1210 external_deps = [ 1211 "ability_base:want", 1212 "ability_base:zuri", 1213 "ability_runtime:abilitykit_native", 1214 "ability_runtime:app_manager", 1215 "ability_runtime:wantagent_innerkits", 1216 "access_token:libaccesstoken_sdk", 1217 "bundle_framework:appexecfwk_base", 1218 "bundle_framework:appexecfwk_core", 1219 "c_utils:utils", 1220 "common_event_service:cesfwk_innerkits", 1221 "eventhandler:libeventhandler", 1222 "googletest:gtest_main", 1223 "hilog:libhilog", 1224 "hitrace:hitrace_meter", 1225 "hitrace:libhitracechain", 1226 "image_framework:image_native", 1227 "ipc:ipc_core", 1228 "kv_store:distributeddata_inner", 1229 "os_account:os_account_innerkits", 1230 "relational_store:native_rdb", 1231 "safwk:system_ability_fwk", 1232 "samgr:samgr_proxy", 1233 "time_service:time_client", 1234 ] 1235 1236 if (player_framework) { 1237 external_deps += [ "player_framework:media_client" ] 1238 defines = [ "PLAYER_FRAMEWORK_ENABLE" ] 1239 } 1240 subsystem_name = "${subsystem_name}" 1241 part_name = "${component_name}" 1242} 1243 1244ohos_unittest("disturb_manager_unit_test") { 1245 module_out_path = module_output_path 1246 include_dirs = [ 1247 ".", 1248 "${services_path}/ans/include", 1249 "${services_path}/ans/include/disturb_manager", 1250 "${services_path}/ans/test/unittest/mock/include/mock_ipc_skeleton.h", 1251 "${frameworks_module_ans_path}/core/include", 1252 ] 1253 1254 defines = [] 1255 1256 sources = [ 1257 "${test_path}/mock/mock_tokenid_kit.cpp", 1258 "disturb_manager/disturb_manager_test.cpp", 1259 "mock/mock_accesstoken_kit.cpp", 1260 "notification_dialog_test/mock_os_account_manager_annex.cpp", 1261 "notification_subscriber_manager_branch_test/mock_access_token_helper.cpp", 1262 ] 1263 1264 deps = [ 1265 "${frameworks_module_ans_path}:ans_innerkits", 1266 "${services_path}/ans:libans", 1267 ] 1268 1269 if (distributed_notification_supported) { 1270 defines += [ "DISTRIBUTED_NOTIFICATION_SUPPORTED" ] 1271 deps += [ "${services_path}/distributed:libans_distributed" ] 1272 include_dirs += [ "${services_path}/distributed/include" ] 1273 } 1274 1275 external_deps = [ 1276 "ability_base:want", 1277 "ability_base:zuri", 1278 "ability_runtime:abilitykit_native", 1279 "ability_runtime:app_manager", 1280 "ability_runtime:wantagent_innerkits", 1281 "access_token:libaccesstoken_sdk", 1282 "bundle_framework:appexecfwk_base", 1283 "bundle_framework:appexecfwk_core", 1284 "c_utils:utils", 1285 "common_event_service:cesfwk_innerkits", 1286 "device_manager:devicemanagersdk", 1287 "eventhandler:libeventhandler", 1288 "ffrt:libffrt", 1289 "googletest:gmock_main", 1290 "googletest:gtest_main", 1291 "hilog:libhilog", 1292 "hitrace:hitrace_meter", 1293 "hitrace:libhitracechain", 1294 "image_framework:image_native", 1295 "ipc:ipc_core", 1296 "kv_store:distributeddata_inner", 1297 "os_account:os_account_innerkits", 1298 "relational_store:native_rdb", 1299 "safwk:system_ability_fwk", 1300 "samgr:samgr_proxy", 1301 "time_service:time_client", 1302 ] 1303 1304 subsystem_name = "${subsystem_name}" 1305 part_name = "${component_name}" 1306} 1307 1308ohos_unittest("advanced_datashare_observer_unit_test") { 1309 module_out_path = module_output_path 1310 include_dirs = [ 1311 ".", 1312 "include", 1313 "/${services_path}/ans/include", 1314 "${services_path}/ans/test/unittest/mock/include", 1315 ] 1316 1317 sources = [ 1318 "advanced_datashare_observer_test.cpp", 1319 "bundle_manager_helper_branch_test/mock_service_registry.cpp", 1320 ] 1321 1322 deps = [ 1323 "${frameworks_module_ans_path}:ans_innerkits", 1324 "${services_path}/ans:libans", 1325 ] 1326 1327 external_deps = [ 1328 "c_utils:utils", 1329 "data_share:datashare_common", 1330 "data_share:datashare_consumer", 1331 "eventhandler:libeventhandler", 1332 "googletest:gtest_main", 1333 "hilog:libhilog", 1334 "ipc:ipc_core", 1335 "relational_store:native_rdb", 1336 "safwk:system_ability_fwk", 1337 "samgr:samgr_proxy", 1338 ] 1339 subsystem_name = "${subsystem_name}" 1340 part_name = "${component_name}" 1341} 1342 1343group("unittest") { 1344 testonly = true 1345 deps = [ 1346 ":access_token_helper_test", 1347 ":advanced_datashare_observer_unit_test", 1348 ":advanced_notification_service_branch_test", 1349 ":ans_unit_test", 1350 ":bundle_manager_helper_branch_test", 1351 ":disturb_manager_unit_test", 1352 ":notification_config_parse_test", 1353 ":notification_dialog_test", 1354 ":notification_preferences_database_branch_test", 1355 ":notification_preferences_database_test", 1356 ":notification_preferences_test", 1357 ":notification_publish_service_test", 1358 ":notification_rdb_data_mgr_test", 1359 ":notification_service_publish_test", 1360 ":notification_service_test", 1361 ":notification_subscriber_manager_branch_test", 1362 ":notification_subscriber_manager_test", 1363 ":os_account_manager_helper_test", 1364 ":push_callback_stub_test", 1365 ] 1366} 1367