From: Ryan Lortie Date: Thu, 31 Mar 2011 09:42:34 +0000 (+0530) Subject: compile schemas test: open ranges for all types X-Git-Tag: 2.29.2~48 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d95b750a1d936d962b4c00be2d65ea1606f143cb;p=platform%2Fupstream%2Fglib.git compile schemas test: open ranges for all types We need to make sure that every value in the table actually parses with GVariant. --- diff --git a/gio/tests/gschema-compile.c b/gio/tests/gschema-compile.c index 65c5c3a..ee40974 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 0000000..80072bb --- /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 + + +