summaryrefslogtreecommitdiff
path: root/tests/gtktemplate/gtkchild-property-unknown.test
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2021-01-17 13:10:13 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2021-01-17 13:26:00 +0100
commit8ba64b8f0a7b6f3872802179e0854915201e07b4 (patch)
treef44617677e9d1fe3f7c7c696883ff163ff3aedd9 /tests/gtktemplate/gtkchild-property-unknown.test
parent6e7be51cb5455e9c5c721d4ba5121a6ab04673dd (diff)
downloadvala-8ba64b8f0a7b6f3872802179e0854915201e07b4.tar.gz
tests: Add more invalid "GtkTemplate" tests to increase coverage
Diffstat (limited to 'tests/gtktemplate/gtkchild-property-unknown.test')
-rw-r--r--tests/gtktemplate/gtkchild-property-unknown.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/gtktemplate/gtkchild-property-unknown.test b/tests/gtktemplate/gtkchild-property-unknown.test
new file mode 100644
index 000000000..caa6218f3
--- /dev/null
+++ b/tests/gtktemplate/gtkchild-property-unknown.test
@@ -0,0 +1,10 @@
+Invalid Code
+
+[GtkTemplate (ui = "/org/example/gtktemplate.ui")]
+public class GtkTemplate : Gtk.ApplicationWindow {
+ [GtkChild]
+ public unowned Gtk.Button unknown { get; }
+}
+
+void main () {
+}