diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-06-05 20:05:31 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-06-05 20:06:40 +0200 |
| commit | 098be1647edc83493bcbf79d1ee5bbfee6711cf1 (patch) | |
| tree | 0dca0f2c0b9c9ade972b983eac548d7d20cd1c85 /gui/tests/gtk-test.cpp | |
| parent | fe40c3fc1f371d2da7918365c6dd6ec8a6c40dd4 (diff) | |
| download | turns-098be1647edc83493bcbf79d1ee5bbfee6711cf1.tar.xz turns-098be1647edc83493bcbf79d1ee5bbfee6711cf1.zip | |
gui: reintroduce ParticipantRow tests
Diffstat (limited to 'gui/tests/gtk-test.cpp')
| -rw-r--r-- | gui/tests/gtk-test.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gui/tests/gtk-test.cpp b/gui/tests/gtk-test.cpp index 4eea74a..8f897d9 100644 --- a/gui/tests/gtk-test.cpp +++ b/gui/tests/gtk-test.cpp @@ -5,16 +5,16 @@ #include "turnsmm/init.hpp" +#include <catch2/internal/catch_test_run_info.hpp> #include <catch2/reporters/catch_reporter_event_listener.hpp> #include <catch2/reporters/catch_reporter_registrars.hpp> +#include <adwaitamm/application.hpp> +#include <adwaitamm/wrap_init.hpp> #include <glibmm/i18n.h> #include <glibmm/refptr.h> #include <gtkmm/init.h> -#include <adwaitamm/application.hpp> -#include <adwaitamm/wrap_init.hpp> - #include <libintl.h> #include <clocale> @@ -37,6 +37,11 @@ namespace turns::ui::tests Turns::init(); } + auto testCaseEnded(Catch::TestCaseStats const &) -> void override + { + setlocale(LC_ALL, ""); + } + private: Glib::RefPtr<Adwaita::Application> m_app{}; }; |
