From 63aa6b86c211828c47027145ff405fd7e3fc5c3a Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Sun, 8 Jun 2025 14:53:13 +0200 Subject: gui: wrap tests in application --- gui/tests/gtk-test.hpp | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 gui/tests/gtk-test.hpp (limited to 'gui/tests/gtk-test.hpp') diff --git a/gui/tests/gtk-test.hpp b/gui/tests/gtk-test.hpp deleted file mode 100644 index 5ac6753..0000000 --- a/gui/tests/gtk-test.hpp +++ /dev/null @@ -1,33 +0,0 @@ -/* - * 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 -- cgit v1.2.3