1# Copyright (c) 2021-2024 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("//build/ohos.gni")
15import("//build/ohos_var.gni")
16import("//build/test.gni")
17import("//foundation/ability/dmsfwk/dmsfwk.gni")
18import("../../../dmsfwk.gni")
19
20module_output_path = "dmsfwk/distributedschedsvrtest"
21
22distributed_service = "//foundation/ability/dmsfwk/services"
23
24dsched_configs =
25    [ "${distributed_service}/dtbschedmgr:distributed_sched_config" ]
26
27config("test_config") {
28  visibility = [ ":*" ]
29  include_dirs = [
30    "${distributed_service}/dtbschedmgr/include",
31    "${distributed_service}/dtbschedmgr/include/continue",
32    "${distributed_service}/dtbschedmgr/include/continue/state",
33    "${distributed_service}/dtbschedmgr/include/continue/state/source_state",
34    "${distributed_service}/dtbschedmgr/include/continue/state/sink_state",
35    "${distributed_service}/dtbschedmgr/include/distributedWant",
36    "${distributed_service}/dtbschedmgr/include/softbus_adapter/transport",
37    "${distributed_service}/dtbschedmgr/test/unittest",
38    "${dms_path}/common/include",
39    "${dms_path}/interfaces/innerkits/distributed_event/include",
40    "${dms_path}/interfaces/innerkits/tests",
41  ]
42}
43
44dsched_external_deps = [
45  "ability_base:base",
46  "ability_base:want",
47  "ability_base:zuri",
48  "ability_runtime:ability_manager",
49  "ability_runtime:app_manager",
50  "ability_runtime:dataobs_manager",
51  "ability_runtime:mission_info",
52  "access_token:libaccesstoken_sdk",
53  "access_token:libnativetoken_shared",
54  "access_token:libtokensetproc_shared",
55  "bundle_framework:appexecfwk_base",
56  "bundle_framework:appexecfwk_core",
57  "cJSON:cjson",
58  "c_utils:utils",
59  "data_share:datashare_consumer",
60  "device_auth:deviceauth_sdk",
61  "device_info_manager:distributed_device_profile_common",
62  "device_info_manager:distributed_device_profile_sdk",
63  "device_manager:devicemanagersdk",
64  "device_security_level:dslm_sdk",
65  "distributed_bundle_framework:dbms_fwk",
66  "dmsfwk:continuation_manager",
67  "dsoftbus:softbus_client",
68  "eventhandler:libeventhandler",
69  "ffrt:libffrt",
70  "hilog:libhilog",
71  "hisysevent:libhisysevent",
72  "hitrace:hitrace_meter",
73  "hitrace:libhitracechain",
74  "init:libbegetutil",
75  "ipc:ipc_core",
76  "kv_store:distributeddata_inner",
77  "safwk:system_ability_fwk",
78  "samgr:samgr_proxy",
79  "window_manager:libwsutils",
80  "window_manager:scene_session",
81  "window_manager:session_manager_lite",
82]
83if (os_account_part) {
84  dsched_external_deps += [ "os_account:os_account_innerkits" ]
85}
86
87if (dmsfwk_report_memmgr) {
88  dsched_external_deps += [ "memmgr:memmgrclient" ]
89}
90
91if (dmsfwk_report_memmgr_plugins) {
92  dsched_external_deps += [ "memmgr_override:memmgrclient" ]
93}
94
95if (dmsfwk_standard_form_share) {
96  dsched_external_deps += [ "form_fwk:form_manager" ]
97}
98
99if (dmsfwk_mission_manager) {
100  dsched_external_deps += [ "image_framework:image_native" ]
101}
102
103if (efficiency_manager_service_enable) {
104  dsched_external_deps += [ "resource_schedule_service:ressched_client" ]
105}
106
107if (dmsfwk_ces_listener) {
108  dsched_external_deps += [ "common_event_service:cesfwk_innerkits" ]
109}
110
111if (dmsfwk_mmi_listener) {
112  dsched_external_deps += [ "input:libmmi-client" ]
113}
114
115dsched_public_deps = [
116  "${distributed_service}/dtbschedmgr:distributedschedsvr",
117  "${dms_path}/common:distributed_sched_utils",
118]
119
120dtbschedmgr_sources = [ "unittest/distributed_sched_test_util.cpp" ]
121
122distributed_event_sources = [
123  "${dms_path}/interfaces/innerkits/distributed_event/src/dms_client.cpp",
124  "${dms_path}/interfaces/innerkits/distributed_event/src/dms_handler.cpp",
125  "${dms_path}/interfaces/innerkits/distributed_event/src/dms_listener_stub.cpp",
126  "${dms_path}/interfaces/innerkits/distributed_event/src/dms_sa_client.cpp",
127]
128
129ohos_unittest("distributedschedcallbacktest") {
130  module_out_path = module_output_path
131
132  sources = [
133    "unittest/dms_callback_task_test.cpp",
134    "unittest/dms_token_callback_test.cpp",
135    "unittest/mock_remote_stub.cpp",
136  ]
137  sources += dtbschedmgr_sources
138
139  configs = [
140    ":test_config",
141    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
142  ]
143  configs += dsched_configs
144  if (is_standard_system) {
145    external_deps = dsched_external_deps
146    public_deps = dsched_public_deps
147  }
148
149  if (dmsfwk_report_memmgr || dmsfwk_report_memmgr_plugins) {
150    defines = [ "SUPPORT_DISTRIBUTEDCOMPONENT_TO_MEMMGR" ]
151  }
152
153  part_name = "dmsfwk"
154  subsystem_name = "ability"
155}
156
157ohos_unittest("distributedschedservicetest") {
158  module_out_path = module_output_path
159
160  sources = [
161    "unittest/distributed_sched_service_first_test.cpp",
162    "unittest/distributed_sched_service_second_test.cpp",
163    "unittest/mock_distributed_sched.cpp",
164  ]
165  sources += dtbschedmgr_sources
166
167  configs = [
168    ":test_config",
169    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
170  ]
171  configs += dsched_configs
172  if (is_standard_system) {
173    external_deps = dsched_external_deps
174    public_deps = dsched_public_deps
175  }
176
177  defines = []
178  if (dmsfwk_report_memmgr || dmsfwk_report_memmgr_plugins) {
179    defines = [ "SUPPORT_DISTRIBUTEDCOMPONENT_TO_MEMMGR" ]
180  }
181
182  if (!dmsfwk_softbus_adapter_common) {
183    defines += [ "DMSFWK_INTERACTIVE_ADAPTER" ]
184  }
185
186  part_name = "dmsfwk"
187  subsystem_name = "ability"
188}
189
190ohos_unittest("distributedschedstubtest") {
191  module_out_path = module_output_path
192
193  sources = [ "unittest/distributed_sched_stub_test.cpp" ]
194  sources += dtbschedmgr_sources
195
196  configs = [
197    ":test_config",
198    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
199  ]
200  configs += dsched_configs
201  if (is_standard_system) {
202    external_deps = dsched_external_deps
203    public_deps = dsched_public_deps
204  }
205
206  if (dmsfwk_report_memmgr || dmsfwk_report_memmgr_plugins) {
207    defines = [ "SUPPORT_DISTRIBUTEDCOMPONENT_TO_MEMMGR" ]
208  }
209
210  part_name = "dmsfwk"
211  subsystem_name = "ability"
212}
213
214ohos_unittest("distributedschedadaptertest") {
215  module_out_path = module_output_path
216
217  sources = [
218    "unittest/continue_scene_session_handler_test.cpp",
219    "unittest/distributed_sched_adapter_test.cpp",
220    "unittest/mock_remote_stub.cpp",
221  ]
222  sources += dtbschedmgr_sources
223
224  configs = [
225    ":test_config",
226    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
227  ]
228  configs += dsched_configs
229  if (is_standard_system) {
230    external_deps = dsched_external_deps
231    public_deps = dsched_public_deps
232  }
233
234  if (dmsfwk_report_memmgr || dmsfwk_report_memmgr_plugins) {
235    defines = [ "SUPPORT_DISTRIBUTEDCOMPONENT_TO_MEMMGR" ]
236  }
237
238  part_name = "dmsfwk"
239  subsystem_name = "ability"
240}
241
242ohos_unittest("distributedcalltest") {
243  sanitize = {
244    cfi = true
245    cfi_cross_dso = true
246    debug = false
247  }
248  module_out_path = module_output_path
249
250  sources = [
251    "unittest/app_state_observer_test.cpp",
252    "unittest/distributed_sched_call_test.cpp",
253  ]
254
255  configs = [
256    ":test_config",
257    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
258  ]
259  configs += dsched_configs
260  if (is_standard_system) {
261    external_deps = dsched_external_deps
262    public_deps = dsched_public_deps
263  }
264  part_name = "dmsfwk"
265  subsystem_name = "ability"
266}
267
268ohos_unittest("dmsfreeinstallcbtest") {
269  sanitize = {
270    cfi = true
271    cfi_cross_dso = true
272    debug = false
273  }
274  module_out_path = module_output_path
275
276  sources = [
277    "unittest/dms_free_install_callback_test.cpp",
278    "unittest/mock_remote_stub.cpp",
279  ]
280
281  configs = [
282    ":test_config",
283    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
284  ]
285  configs += dsched_configs
286  if (is_standard_system) {
287    external_deps = dsched_external_deps
288    public_deps = dsched_public_deps
289  }
290  part_name = "dmsfwk"
291  subsystem_name = "ability"
292}
293
294ohos_unittest("dschedcontinuetest") {
295  sanitize = {
296    cfi = true
297    cfi_cross_dso = true
298    debug = false
299  }
300  module_out_path = module_output_path
301  sources = [
302    "unittest/distributed_sched_continuation_test.cpp",
303    "unittest/dms_version_manager_test.cpp",
304    "unittest/mock_distributed_sched.cpp",
305    "unittest/mock_remote_stub.cpp",
306  ]
307  sources += dtbschedmgr_sources
308
309  configs = [
310    ":test_config",
311    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
312  ]
313  configs += dsched_configs
314  if (is_standard_system) {
315    external_deps = dsched_external_deps
316    public_deps = dsched_public_deps
317  }
318
319  if (dmsfwk_mission_manager) {
320    defines = [ "SUPPORT_DISTRIBUTED_MISSION_MANAGER" ]
321  }
322
323  if (dmsfwk_standard_form_share) {
324    defines += [ "SUPPORT_DISTRIBUTED_FORM_SHARE" ]
325  }
326
327  part_name = "dmsfwk"
328  subsystem_name = "ability"
329}
330
331ohos_unittest("dschedconnecttest") {
332  sanitize = {
333    cfi = true
334    cfi_cross_dso = true
335    debug = false
336  }
337  module_out_path = module_output_path
338
339  sources = [
340    "unittest/distributed_sched_connect_test.cpp",
341    "unittest/mock_remote_stub.cpp",
342  ]
343  sources += dtbschedmgr_sources
344
345  configs = [
346    ":test_config",
347    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
348  ]
349  configs += dsched_configs
350  if (is_standard_system) {
351    external_deps = dsched_external_deps
352    public_deps = dsched_public_deps
353  }
354  part_name = "dmsfwk"
355  subsystem_name = "ability"
356}
357
358ohos_unittest("dschedpermissiontest") {
359  sanitize = {
360    cfi = true
361    cfi_cross_dso = true
362    debug = false
363  }
364  module_out_path = module_output_path
365
366  sources = [ "unittest/distributed_sched_permission_test.cpp" ]
367  sources += dtbschedmgr_sources
368
369  configs = [
370    ":test_config",
371    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
372  ]
373  configs += dsched_configs
374  if (is_standard_system) {
375    external_deps = dsched_external_deps
376    public_deps = dsched_public_deps
377  }
378  if (token_sync_enable) {
379    cflags_cc = [ "-DTOKEN_SYNC_ENABLE" ]
380  }
381  part_name = "dmsfwk"
382  subsystem_name = "ability"
383}
384
385ohos_unittest("distributedmissionmanagertest") {
386  sanitize = {
387    cfi = true
388    cfi_cross_dso = true
389    debug = false
390  }
391  module_out_path = module_output_path
392  cflags = [ "-Dprivate=public" ]
393  sources = [
394    "unittest/mission/distributed_bm_storage_test.cpp",
395    "unittest/mission/distributed_mission_info_test.cpp",
396    "unittest/mission/mission_info_converter_test.cpp",
397    "unittest/mission/snapshot_test.cpp",
398    "unittest/mock_remote_stub.cpp",
399  ]
400  sources += dtbschedmgr_sources
401
402  configs = [
403    ":test_config",
404    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
405  ]
406  configs += dsched_configs
407
408  if (is_standard_system) {
409    external_deps = dsched_external_deps
410    external_deps += [ "config_policy:configpolicy_util" ]
411    public_deps = dsched_public_deps
412  }
413  part_name = "dmsfwk"
414  subsystem_name = "ability"
415}
416
417ohos_unittest("dmscontinuemanagertest") {
418  sanitize = {
419    cfi = true
420    cfi_cross_dso = true
421    debug = false
422  }
423  module_out_path = module_output_path
424  cflags = [ "-Dprivate=public" ]
425  sources = [
426    "unittest/mission/dms_continue_manager_test.cpp",
427    "unittest/mission/dsched_sync_e2e_test.cpp",
428  ]
429  sources += dtbschedmgr_sources
430
431  configs = [
432    ":test_config",
433    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
434  ]
435  configs += dsched_configs
436
437  if (is_standard_system) {
438    external_deps = dsched_external_deps
439    external_deps += [ "config_policy:configpolicy_util" ]
440    public_deps = dsched_public_deps
441  }
442  part_name = "dmsfwk"
443  subsystem_name = "ability"
444}
445
446ohos_unittest("dmsmissionmanagertest") {
447  module_out_path = module_output_path
448  cflags = [ "-Dprivate=public" ]
449  sources = [
450    "unittest/mission/distributed_data_storage_test.cpp",
451    "unittest/mission/dms_mission_manager_test.cpp",
452    "unittest/mission/mock_distributed_sched_adapter.cpp",
453    "unittest/mission/mock_image_packer.cpp",
454  ]
455  sources += dtbschedmgr_sources
456
457  configs = [
458    ":test_config",
459    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
460  ]
461  configs += dsched_configs
462
463  if (is_standard_system) {
464    external_deps = dsched_external_deps
465    external_deps += [ "config_policy:configpolicy_util" ]
466    public_deps = dsched_public_deps
467  }
468
469  external_deps += [ "googletest:gmock" ]
470  part_name = "dmsfwk"
471  subsystem_name = "ability"
472}
473
474ohos_unittest("bundlemanagerinternaltest") {
475  sanitize = {
476    cfi = true
477    cfi_cross_dso = true
478    debug = false
479  }
480  module_out_path = module_output_path
481  sources = [ "unittest/bundle_manager_internal_test.cpp" ]
482  sources += dtbschedmgr_sources
483
484  configs = [
485    ":test_config",
486    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
487  ]
488  configs += dsched_configs
489
490  if (is_standard_system) {
491    external_deps = dsched_external_deps
492    public_deps = dsched_public_deps
493  }
494  part_name = "dmsfwk"
495  subsystem_name = "ability"
496}
497
498ohos_unittest("softbusadaptertest") {
499  module_out_path = module_output_path
500  cflags = [ "-Dprivate=public" ]
501  sources = [ "unittest/softbus_adapter/softbus_transport_test.cpp" ]
502
503  if (!dmsfwk_softbus_adapter_common) {
504    sources += [
505      "unittest/softbus_adapter/mock_softbus_adapter.cpp",
506      "unittest/softbus_adapter/softbus_adapter_test.cpp",
507    ]
508  } else {
509    sources += [ "unittest/softbus_adapter/softbus_adapter_common_test.cpp" ]
510  }
511
512  configs = [
513    ":test_config",
514    "${dms_path}/services/dtbschedmgr/test/resource:coverage_flags",
515  ]
516  configs += dsched_configs
517
518  if (is_standard_system) {
519    external_deps = dsched_external_deps
520    public_deps = dsched_public_deps
521  }
522  external_deps += [ "googletest:gmock" ]
523  part_name = "dmsfwk"
524  subsystem_name = "ability"
525}
526
527ohos_unittest("hisyseventreporttest") {
528  sanitize = {
529    cfi = true
530    cfi_cross_dso = true
531    debug = false
532  }
533  module_out_path = module_output_path
534  sources = [ "unittest/dms_hisysevent_report_test.cpp" ]
535
536  configs = [
537    ":test_config",
538    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
539  ]
540  configs += dsched_configs
541  deps = []
542  if (is_standard_system) {
543    external_deps = dsched_external_deps
544    public_deps = dsched_public_deps
545  }
546  part_name = "dmsfwk"
547  subsystem_name = "ability"
548}
549
550ohos_unittest("distributeduidtest") {
551  module_out_path = module_output_path
552
553  sources = [ "unittest/distributed_sched_uid_test.cpp" ]
554  sources += dtbschedmgr_sources
555
556  configs = [
557    ":test_config",
558    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
559  ]
560  configs += dsched_configs
561  if (is_standard_system) {
562    external_deps = dsched_external_deps
563    public_deps = dsched_public_deps
564  }
565  part_name = "dmsfwk"
566  subsystem_name = "ability"
567}
568
569ohos_unittest("distributedwanttest") {
570  sanitize = {
571    blocklist = "./cfi_blocklist.txt"
572    cfi = true
573    cfi_cross_dso = true
574    debug = false
575  }
576  module_out_path = module_output_path
577
578  sources = [
579    "unittest/distributedWant/distributed_operation_test.cpp",
580    "unittest/distributedWant/distributed_want_params_test.cpp",
581    "unittest/distributedWant/distributed_want_params_wrapper_test.cpp",
582    "unittest/distributedWant/distributed_want_test.cpp",
583  ]
584
585  configs = [
586    ":test_config",
587    "${distributed_service}/dtbschedmgr/test/resource:coverage_flags",
588  ]
589  configs += dsched_configs
590  if (is_standard_system) {
591    external_deps = dsched_external_deps
592    public_deps = dsched_public_deps
593  }
594  part_name = "dmsfwk"
595  subsystem_name = "ability"
596}
597
598ohos_unittest("dmsbasetest") {
599  sanitize = {
600    cfi = true
601    cfi_cross_dso = true
602    debug = false
603  }
604  module_out_path = module_output_path
605  cflags = [ "-Dprivate=public" ]
606  sources = [
607    "unittest/collaborate/dsched_collaborate_callback_mgr_test.cpp",
608    "unittest/deviceManager/dms_device_info_test.cpp",
609    "unittest/dfx/distributed_radar_test.cpp",
610    "unittest/dfx/distributed_sched_dumper_test.cpp",
611    "unittest/dfx/distributed_ue_test.cpp",
612    "unittest/dfx/dms_continue_time_dumper_test.cpp",
613    "unittest/dfx/dms_hisysevent_report_test.cpp",
614    "unittest/mock_distributed_sched.cpp",
615  ]
616  sources += dtbschedmgr_sources
617
618  configs = [
619    ":test_config",
620    "./resource:coverage_flags",
621  ]
622  deps = []
623  configs += dsched_configs
624  if (is_standard_system) {
625    external_deps = dsched_external_deps
626    public_deps = dsched_public_deps
627  }
628  part_name = "dmsfwk"
629  subsystem_name = "ability"
630}
631
632ohos_unittest("dschedswitchstatustest") {
633  sanitize = {
634    cfi = true
635    cfi_cross_dso = true
636    debug = false
637  }
638  module_out_path = module_output_path
639
640  sources = [ "unittest/switch_status_dependency_test.cpp" ]
641
642  configs = [
643    ":test_config",
644    "${dms_path}/services/dtbschedmgr/test/resource:coverage_flags",
645  ]
646  configs += dsched_configs
647  deps = []
648  if (is_standard_system) {
649    external_deps = dsched_external_deps
650    public_deps = dsched_public_deps
651  }
652  part_name = "dmsfwk"
653  subsystem_name = "ability"
654}
655
656ohos_unittest("dschedcontinuestatetest") {
657  module_out_path = module_output_path
658  cflags = [ "-Dprivate=public" ]
659  sources = [
660    "unittest/continue/dsched_continue_event_test.cpp",
661    "unittest/continue/dsched_continue_manager_test.cpp",
662    "unittest/continue/dsched_continue_state_test.cpp",
663    "unittest/continue/dsched_continue_test.cpp",
664    "unittest/continue/mock_dtbschedmgr_device_info.cpp",
665    "unittest/mock_distributed_sched.cpp",
666  ]
667  sources += dtbschedmgr_sources
668  configs = [
669    ":test_config",
670    "${dms_path}/services/dtbschedmgr/test/resource:coverage_flags",
671  ]
672  configs += dsched_configs
673  deps = []
674  if (is_standard_system) {
675    external_deps = dsched_external_deps
676    public_deps = dsched_public_deps
677  }
678  external_deps += [ "googletest:gmock" ]
679  part_name = "dmsfwk"
680  subsystem_name = "ability"
681}
682
683ohos_unittest("distributedeventtest") {
684  sanitize = {
685    cfi = true
686    cfi_cross_dso = true
687    debug = false
688  }
689  module_out_path = module_output_path
690  cflags = [ "-Dprivate=public" ]
691  sources = [
692    "unittest/distributed_event/dms_client_test.cpp",
693    "unittest/distributed_event/dms_handler_test.cpp",
694    "unittest/distributed_event/dms_listener_stub_test.cpp",
695    "unittest/distributed_event/dms_sa_cilent_test.cpp",
696  ]
697  sources += dtbschedmgr_sources
698  sources += distributed_event_sources
699  configs = [
700    ":test_config",
701    "${dms_path}/services/dtbschedmgr/test/resource:coverage_flags",
702  ]
703  configs += dsched_configs
704  deps = []
705  if (is_standard_system) {
706    external_deps = dsched_external_deps
707    public_deps = dsched_public_deps
708  }
709  part_name = "dmsfwk"
710  subsystem_name = "ability"
711}
712
713ohos_unittest("distributedadaptertest") {
714  module_out_path = module_output_path
715  cflags = [ "-Dprivate=public" ]
716  sources = [
717    "unittest/dms_network_adapter_test.cpp",
718    "unittest/dtbschedmgr_device_info_storage_test.cpp",
719  ]
720  if (dmsfwk_mmi_listener) {
721    sources += [ "unittest/adapter/mmi_adapter_test.cpp" ]
722  }
723  sources += dtbschedmgr_sources
724  configs = [
725    ":test_config",
726    "${dms_path}/services/dtbschedmgr/test/resource:coverage_flags",
727  ]
728  configs += dsched_configs
729  deps = []
730  if (is_standard_system) {
731    external_deps = dsched_external_deps
732    public_deps = dsched_public_deps
733  }
734  part_name = "dmsfwk"
735  subsystem_name = "ability"
736}
737
738group("unittest") {
739  testonly = true
740  deps = [
741    ":bundlemanagerinternaltest",
742    ":distributedadaptertest",
743    ":distributedcalltest",
744    ":distributedeventtest",
745    ":distributedschedadaptertest",
746    ":distributedschedcallbacktest",
747    ":distributedschedservicetest",
748    ":distributedschedstubtest",
749    ":distributeduidtest",
750    ":distributedwanttest",
751    ":dmsbasetest",
752    ":dmsfreeinstallcbtest",
753    ":dschedconnecttest",
754    ":dschedcontinuestatetest",
755    ":dschedcontinuetest",
756    ":dschedswitchstatustest",
757    ":hisyseventreporttest",
758    ":softbusadaptertest",
759    "${dms_path}/common/test/unittest:distributed_sched_utils_test",
760  ]
761  if (dmsfwk_mission_manager) {
762    deps += [
763      ":distributedmissionmanagertest",
764      ":dmscontinuemanagertest",
765      ":dmsmissionmanagertest",
766      ":dschedpermissiontest",
767    ]
768  }
769}
770