From d95b750a1d936d962b4c00be2d65ea1606f143cb Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 31 Mar 2011 15:12:34 +0530 Subject: [PATCH] compile schemas test: open ranges for all types We need to make sure that every value in the table actually parses with GVariant. --- gio/tests/gschema-compile.c | 3 +- .../schema-tests/range-type-test.gschema.xml | 76 +++++++++++++++++++ 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 gio/tests/schema-tests/range-type-test.gschema.xml diff --git a/gio/tests/gschema-compile.c b/gio/tests/gschema-compile.c index 65c5c3a25..ee40974dc 100644 --- a/gio/tests/gschema-compile.c +++ b/gio/tests/gschema-compile.c @@ -118,7 +118,8 @@ static const SchemaTest tests[] = { { "flags-more-than-one-bit", NULL, "*flags values must have at most 1 bit set*" }, { "flags-with-enum-attr", NULL, "* not (yet) defined*" }, { "flags-with-enum-tag", NULL, "* not (yet) defined*" }, - { "inherit-gettext-domain", NULL, NULL } + { "inherit-gettext-domain", NULL, NULL }, + { "range-type-test", NULL, NULL } }; diff --git a/gio/tests/schema-tests/range-type-test.gschema.xml b/gio/tests/schema-tests/range-type-test.gschema.xml new file mode 100644 index 000000000..80072bbce --- /dev/null +++ b/gio/tests/schema-tests/range-type-test.gschema.xml @@ -0,0 +1,76 @@ + + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + +