From fc0b8d4f28c1d3d24a0d92b134ebbe74966a4a73 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 7 Nov 2011 00:14:28 -0500 Subject: [PATCH] Add a test for CDATA in gschema.xml files --- gio/tests/gschema-compile.c | 3 ++- gio/tests/schema-tests/cdata.gschema.xml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 gio/tests/schema-tests/cdata.gschema.xml diff --git a/gio/tests/gschema-compile.c b/gio/tests/gschema-compile.c index bcff5628b..ad3f9ddee 100644 --- a/gio/tests/gschema-compile.c +++ b/gio/tests/gschema-compile.c @@ -119,7 +119,8 @@ static const SchemaTest tests[] = { { "flags-with-enum-attr", NULL, "* not (yet) defined*" }, { "flags-with-enum-tag", NULL, "* not (yet) defined*" }, { "inherit-gettext-domain", NULL, NULL }, - { "range-type-test", NULL, NULL } + { "range-type-test", NULL, NULL }, + { "cdata", NULL, NULL } }; diff --git a/gio/tests/schema-tests/cdata.gschema.xml b/gio/tests/schema-tests/cdata.gschema.xml new file mode 100644 index 000000000..be2aac869 --- /dev/null +++ b/gio/tests/schema-tests/cdata.gschema.xml @@ -0,0 +1,7 @@ + + + + ','']]]> + + +