/* * SPDX-FileCopyrightText: 2025 Felix Morgner * SPDX-License-Identifier: LGPL-2.1-only */ #include #include #include #include SCENARIO("Resources are correctly bundled") { auto file = GENERATE("/ch/arknet/Turns/participant_editor.ui", "/ch/arknet/Turns/participant_row.ui", "/ch/arknet/Turns/preferences.ui", "/ch/arknet/Turns/tracker.ui", "/ch/arknet/Turns/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); } } } }