Add some more builder parser tests
These tests contain non-canonical and non-existing property names.
This commit is contained in:
1
testsuite/gtk/ui/dialog7.expected
Normal file
1
testsuite/gtk/ui/dialog7.expected
Normal file
@ -0,0 +1 @@
|
|||||||
|
SUCCESS
|
10
testsuite/gtk/ui/dialog7.ui
Normal file
10
testsuite/gtk/ui/dialog7.ui
Normal 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>
|
2
testsuite/gtk/ui/dialog8.expected
Normal file
2
testsuite/gtk/ui/dialog8.expected
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ERROR: gtk-builder-error-quark 11
|
||||||
|
.:6:39 Invalid property: GtkButton.cantdefault
|
10
testsuite/gtk/ui/dialog8.ui
Normal file
10
testsuite/gtk/ui/dialog8.ui
Normal 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>
|
Reference in New Issue
Block a user