forked from AuroraMiddleware/gtk
Add some more builder tests
This commit is contained in:
parent
ef9ac24e95
commit
824fa0314d
@ -163,14 +163,13 @@ test_icontheme = \
|
||||
$(NULL)
|
||||
|
||||
test_ui = \
|
||||
ui/test1.ui \
|
||||
ui/test1.expected \
|
||||
ui/test2.ui \
|
||||
ui/test2.expected \
|
||||
ui/test3.ui \
|
||||
ui/test3.expected \
|
||||
ui/test4.ui \
|
||||
ui/test4.expected \
|
||||
ui/test1.ui ui/test1.expected \
|
||||
ui/test2.ui ui/test2.expected \
|
||||
ui/test3.ui ui/test3.expected \
|
||||
ui/test4.ui ui/test4.expected \
|
||||
ui/test5.ui ui/test5.expected \
|
||||
ui/test6.ui ui/test6.expected \
|
||||
ui/test7.ui ui/test7.expected \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DIST += \
|
||||
|
1
testsuite/gtk/ui/test5.expected
Normal file
1
testsuite/gtk/ui/test5.expected
Normal file
@ -0,0 +1 @@
|
||||
SUCCESS
|
7
testsuite/gtk/ui/test5.ui
Normal file
7
testsuite/gtk/ui/test5.ui
Normal file
@ -0,0 +1,7 @@
|
||||
<interface>
|
||||
<object class="GtkBox" id="foo">
|
||||
</object>
|
||||
<object class="GtkBox" id="bar">
|
||||
<property name="visible" bind-source="foo" bind-property="visible" bind-flags="invert-boolean|sync-create"/>
|
||||
</object>
|
||||
</interface>
|
2
testsuite/gtk/ui/test6.expected
Normal file
2
testsuite/gtk/ui/test6.expected
Normal file
@ -0,0 +1,2 @@
|
||||
ERROR: gtk-builder-error-quark 8
|
||||
Duplicate object ID 'foo' on line 5 (previously on line 3)
|
6
testsuite/gtk/ui/test6.ui
Normal file
6
testsuite/gtk/ui/test6.ui
Normal file
@ -0,0 +1,6 @@
|
||||
<interface>
|
||||
<object class="GtkBox" id="foo">
|
||||
</object>
|
||||
<object class="GtkBox" id="foo">
|
||||
</object>
|
||||
</interface>
|
2
testsuite/gtk/ui/test7.expected
Normal file
2
testsuite/gtk/ui/test7.expected
Normal file
@ -0,0 +1,2 @@
|
||||
ERROR: gtk-builder-error-quark 4
|
||||
<input>:4:1 'object' is not a valid tag here
|
6
testsuite/gtk/ui/test7.ui
Normal file
6
testsuite/gtk/ui/test7.ui
Normal file
@ -0,0 +1,6 @@
|
||||
<interface>
|
||||
<object class="GtkBox">
|
||||
<object class="GtkBox">
|
||||
</object>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user