gdbus-introspection test: test escaping attributes

Make sure attribute values are properly escaped in generated XML.

https://bugzilla.gnome.org/show_bug.cgi?id=721796
This commit is contained in:
Ryan Lortie 2014-01-08 11:01:55 -05:00
parent 04ee782486
commit 8bc63b0ef0

View File

@ -163,7 +163,9 @@ test_generate (void)
" <method name='Sleep'>"
" <arg type='i' name='timeout' direction='in'/>"
" </method>"
" <property name='y' type='y' access='readwrite'/>"
" <property name='y' type='y' access='readwrite'>"
" <annotation name='needs-escaping' value='bar&lt;&gt;&apos;&quot;'/>"
" </property>"
" </interface>"
" </node>";