/* * SPDX-FileCopyrightText: 2025 Felix Morgner * SPDX-License-Identifier: LGPL-2.1-only */ #include "resources.hpp" #include #include #include #include namespace Turns::gui::tests { SCENARIO("Resources are correctly bundled") { auto file = GENERATE(resource::metainfo_xml, resource::participant_editor_ui, resource::participant_row_ui, resource::preferences_ui, resource::tracker_ui, resource::turn_order_view_ui); GIVEN(std::format("The resource path '{}'", file)) { WHEN("looking for a global resource at that path") { auto exists = Gio::Resource::get_file_exists_global_nothrow(file); THEN("one exists") { REQUIRE(exists); } } } } } // namespace Turns::gui::tests