From 02a030a95b27034eedc151488a014950595510de Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 25 Jul 2024 08:53:59 +0200 Subject: turns: dissolve test_support library --- test_support/src/glib_main.cpp | 20 -------------------- test_support/src/gtk_main.cpp | 18 ------------------ test_support/src/intl_main.cpp | 13 ------------- 3 files changed, 51 deletions(-) delete mode 100644 test_support/src/glib_main.cpp delete mode 100644 test_support/src/gtk_main.cpp delete mode 100644 test_support/src/intl_main.cpp (limited to 'test_support/src') diff --git a/test_support/src/glib_main.cpp b/test_support/src/glib_main.cpp deleted file mode 100644 index c2fe10f..0000000 --- a/test_support/src/glib_main.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include - -#include - -#include - -namespace turns::tests -{ - auto register_types() -> void; -} // namespace turns::tests - -auto main(int argc, char * argv[]) -> int -{ - Gio::init(); - Glib::init(); - - turns::tests::register_types(); - - return Catch::Session().run(argc, argv); -} \ No newline at end of file diff --git a/test_support/src/gtk_main.cpp b/test_support/src/gtk_main.cpp deleted file mode 100644 index 4656c12..0000000 --- a/test_support/src/gtk_main.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include - -#include - -#include - -auto main(int argc, char * argv[]) -> int -{ - setlocale(LC_ALL, ""); - bindtextdomain("turns", TESTLOCALEDIR); - bind_textdomain_codeset("turns", "UTF-8"); - textdomain("turns"); - - Gtk::init_gtkmm_internals(); - adw_init(); - - return Catch::Session().run(argc, argv); -} \ No newline at end of file diff --git a/test_support/src/intl_main.cpp b/test_support/src/intl_main.cpp deleted file mode 100644 index 4a74ac5..0000000 --- a/test_support/src/intl_main.cpp +++ /dev/null @@ -1,13 +0,0 @@ -#include - -#include - -auto main(int argc, char * argv[]) -> int -{ - setlocale(LC_ALL, ""); - bindtextdomain("turns", TESTLOCALEDIR); - bind_textdomain_codeset("turns", "UTF-8"); - textdomain("turns"); - - return Catch::Session().run(argc, argv); -} \ No newline at end of file -- cgit v1.2.3