Commit 86ca248c authored by Matthias Clasen's avatar Matthias Clasen

GtkContainer: Add a test for 'invalid ID'

...and add all the container tests to Makefile.am
parent 83245abf
......@@ -185,6 +185,14 @@ test_ui = \
ui/celllayout5.ui ui/celllayout5.expected \
ui/celllayout6.ui ui/celllayout6.expected \
ui/celllayout7.ui ui/celllayout7.expected \
ui/container1.ui ui/container1.expected \
ui/container2.ui ui/container2.expected \
ui/container3.ui ui/container3.expected \
ui/container4.ui ui/container4.expected \
ui/container5.ui ui/container5.expected \
ui/container6.ui ui/container6.expected \
ui/container7.ui ui/container7.expected \
ui/container8.ui ui/container8.expected \
ui/scale1.ui ui/scale1.expected \
ui/scale2.ui ui/scale2.expected \
ui/scale3.ui ui/scale3.expected \
......
ERROR: gtk-builder-error-quark 13
.:11:29 Object with ID xyzzy not found
<!-- test invalid id in container markup -->
<interface>
<object class="GtkBox">
<child>
<object class="GtkLabel" id="widget1"/>
<packing>
<property name="expand" translatable="yes" comments="foo" context="bar">True</property>
</packing>
</child>
<focus-chain>
<widget name="xyzzy"/>
</focus-chain>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment