diff options
Diffstat (limited to 'test_support/src')
| -rw-r--r-- | test_support/src/glib_main.cpp | 20 | ||||
| -rw-r--r-- | test_support/src/gtk_main.cpp | 18 | ||||
| -rw-r--r-- | test_support/src/intl_main.cpp | 13 |
3 files changed, 0 insertions, 51 deletions
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 <catch2/catch_session.hpp> - -#include <glibmm/init.h> - -#include <giomm/init.h> - -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 <catch2/catch_session.hpp> - -#include <gtkmm/init.h> - -#include <adwaita.h> - -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 <catch2/catch_session.hpp> - -#include <libintl.h> - -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 |
