mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 07:09:16 +02: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-attr", NULL, "*<enum id='flags'> not (yet) defined*" },
|
||||||
{ "flags-with-enum-tag", NULL, "*<flags id='flags'> not (yet) defined*" },
|
{ "flags-with-enum-tag", NULL, "*<flags id='flags'> not (yet) defined*" },
|
||||||
{ "inherit-gettext-domain", NULL, NULL },
|
{ "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…
x
Reference in New Issue
Block a user