mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Add a test for CDATA in gschema.xml files
This commit is contained in:
parent
7ec69ecd32
commit
fc0b8d4f28
@ -119,7 +119,8 @@ static const SchemaTest tests[] = {
|
||||
{ "flags-with-enum-attr", NULL, "*<enum id='flags'> not (yet) defined*" },
|
||||
{ "flags-with-enum-tag", NULL, "*<flags id='flags'> not (yet) defined*" },
|
||||
{ "inherit-gettext-domain", NULL, NULL },
|
||||
{ "range-type-test", NULL, NULL }
|
||||
{ "range-type-test", NULL, NULL },
|
||||
{ "cdata", NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
|
7
gio/tests/schema-tests/cdata.gschema.xml
Normal file
7
gio/tests/schema-tests/cdata.gschema.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<schemalist>
|
||||
<schema id="no-default" path="/tests/">
|
||||
<key name="bla" type="as">
|
||||
<default><![CDATA[['<bla>','<bla>']]]></default>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
Loading…
Reference in New Issue
Block a user