summaryrefslogtreecommitdiff
path: root/res/tests/windows.cpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2024-07-11 13:17:03 +0200
committerFelix Morgner <felix.morgner@gmail.com>2024-07-11 16:03:04 +0200
commitf597be870eec6d04de6bed0effa7dd23bcb72bf8 (patch)
tree569ceeeef1bbf143b0d3a32ccf9a2fc716ff13e1 /res/tests/windows.cpp
downloadturns-f597be870eec6d04de6bed0effa7dd23bcb72bf8.tar.xz
turns-f597be870eec6d04de6bed0effa7dd23bcb72bf8.zip
initial commit
Diffstat (limited to 'res/tests/windows.cpp')
-rw-r--r--res/tests/windows.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/tests/windows.cpp b/res/tests/windows.cpp
new file mode 100644
index 0000000..9daab51
--- /dev/null
+++ b/res/tests/windows.cpp
@@ -0,0 +1,13 @@
+#include <catch2/catch_test_macros.hpp>
+
+#include <gtkmm/builder.h>
+
+TEST_CASE("GResource for main_window")
+{
+ auto builder = Gtk::Builder::create_from_resource("/turns/windows/main_window.ui");
+
+ SECTION("can create Gtk.Builder for the main window UI definition")
+ {
+ REQUIRE(builder);
+ }
+} \ No newline at end of file