mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Add some more builder parser tests
These tests contain non-canonical and non-existing property names.
This commit is contained in:
parent
019078364e
commit
65aa367029
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>
|
Loading…
Reference in New Issue
Block a user