diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-25 08:53:59 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-25 08:53:59 +0200 |
| commit | 02a030a95b27034eedc151488a014950595510de (patch) | |
| tree | 4a66c7321a32590d370a58f8729db2e0b2b2ddd8 /test_support/src | |
| parent | e05d980091724358f689598643b0f17ec671d495 (diff) | |
| download | turns-02a030a95b27034eedc151488a014950595510de.tar.xz turns-02a030a95b27034eedc151488a014950595510de.zip | |
turns: dissolve test_support library
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 |
