summaryrefslogtreecommitdiff
path: root/res/tests/windows.cpp
diff options
context:
space:
mode:
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