Add some more builder parser tests

These tests contain non-canonical and non-existing property names.
This commit is contained in:
Matthias Clasen 2015-10-19 06:13:33 -04:00
parent 019078364e
commit 65aa367029
4 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1 @@
SUCCESS

View File

@ -0,0 +1,10 @@
<!-- missing attribute in dialog markup -->
<interface>
<object class="GtkDialog">
<child type="action">
<object class="GtkButton" id="button_ok">
<property name="can_default">1</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,2 @@
ERROR: gtk-builder-error-quark 11
.:6:39 Invalid property: GtkButton.cantdefault

View File

@ -0,0 +1,10 @@
<!-- missing attribute in dialog markup -->
<interface>
<object class="GtkDialog">
<child type="action">
<object class="GtkButton" id="button_ok">
<property name="cantdefault">1</property>
</object>
</child>
</object>
</interface>