# SPDX-FileCopyrightText: © 2026 Alexandros Theodotou <alex@zrythm.org>
# SPDX-License-Identifier: LicenseRef-ZrythmLicense

add_executable(zrythm_gui_backend_unit_tests
  device_manager_test.cpp
  editor_arranger_objects_model_test.cpp
  notification_center_test.cpp
  timeline_arranger_objects_model_test.cpp
)

set_target_properties(zrythm_gui_backend_unit_tests PROPERTIES
  AUTOMOC ON
  UNITY_BUILD ${ZRYTHM_UNITY_BUILD}
)

target_link_libraries(zrythm_gui_backend_unit_tests PRIVATE
  GTest::gmock_main
  zrythm_gui_lib
  zrythm_test_helpers_lib
)

zrythm_discover_tests(zrythm_gui_backend_unit_tests)
