/* * SPDX-FileCopyrightText: 2025 Felix Morgner * SPDX-License-Identifier: LGPL-2.1-only */ #ifndef TURNS_GUI_TESTS_GTK_TEST_HPP #define TURNS_GUI_TESTS_GTK_TEST_HPP #include #include #include #include namespace Turns::gui::tests { struct gtk_test : Catch::EventListenerBase { using Catch::EventListenerBase::EventListenerBase; static inline Glib::RefPtr application{}; auto testRunStarting(Catch::TestRunInfo const &) -> void override; auto testRunEnded(Catch::TestRunStats const &) -> void override; auto testCaseEnded(Catch::TestCaseStats const &) -> void override; }; CATCH_REGISTER_LISTENER(gtk_test); } // namespace turns::ui::tests #endif