projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04ee782
)
gdbus-introspection test: test escaping attributes
author
Ryan Lortie
<desrt@desrt.ca>
Wed, 8 Jan 2014 16:01:55 +0000
(11:01 -0500)
committer
Ryan Lortie
<desrt@desrt.ca>
Thu, 9 Jan 2014 03:58:06 +0000
(22:58 -0500)
Make sure attribute values are properly escaped in generated XML.
https://bugzilla.gnome.org/show_bug.cgi?id=721796
gio/tests/gdbus-introspection.c
patch
|
blob
|
history
diff --git
a/gio/tests/gdbus-introspection.c
b/gio/tests/gdbus-introspection.c
index
f2b268d
..
b7580f3
100644
(file)
--- a/
gio/tests/gdbus-introspection.c
+++ b/
gio/tests/gdbus-introspection.c
@@
-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<>'"'/>"
+ " </property>"
" </interface>"
" </node>";