glib/gio/tests/schema-tests
Matthias Clasen b2734d762f glib-compile-schema: Don't accept duplicate docs
This schema compiler was completely ignoring <summary> and
<description> tags. Unfortunately, there are modules out there
who merge translations for these back in, with xml:lang. And
this is giving dconf-editor a hard time. Since this is not
how translations of schemas are meant to be done, just
reject such schema files.

Also add tests exercising the new error handling.

https://bugzilla.gnome.org/show_bug.cgi?id=747209
2015-04-01 18:55:54 -04:00
..
array-default-not-in-choices.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
bad-choice.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
bad-key2.gschema.xml Add tests for --allow-any-name 2010-04-21 09:50:42 -04:00
bad-key3.gschema.xml Add tests for --allow-any-name 2010-04-21 09:50:42 -04:00
bad-key4.gschema.xml Add tests for --allow-any-name 2010-04-21 09:50:42 -04:00
bad-key.gschema.xml Add tests for --allow-any-name 2010-04-21 09:50:42 -04:00
bad-type.gschema.xml Simplify gschema-compile test suite 2010-04-20 23:28:49 -04:00
bare-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
cdata.gschema.xml Add a test for CDATA in gschema.xml files 2011-11-07 00:14:28 -05:00
choice-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choice-bad.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choice-badtype.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choice-invalid-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choice-missing-value.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
choice-shadowed-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choice-upside-down.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choice.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
choices-wrong-type.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
default-in-aliases.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
default-not-in-choices.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
default-out-of-range.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
description-xmllang.gschema.xml glib-compile-schema: Don't accept duplicate docs 2015-04-01 18:55:54 -04:00
empty-key.gschema.xml Add some more schema compiler tests 2010-04-21 00:43:55 -04:00
enum-with-aliases.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum-with-bad-default.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum-with-chained-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum-with-choice.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum-with-invalid-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum-with-repeated-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum-with-repeated-nick.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
enum-with-repeated-value.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
enum-with-shadow-alias.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
enum.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
extend-and-shadow-indirect.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
extend-and-shadow.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
extend-missing.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
extend-nonlist.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
extend-self.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
extend-wrong-list-indirect.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
extend-wrong-list.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
extending.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
flags-aliased-default.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
flags-bad-default.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
flags-more-than-one-bit.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
flags-with-enum-attr.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
flags-with-enum-tag.gschema.xml Bug 622124 - implement flags for GSettings 2010-07-01 19:06:02 -04:00
from-docs.gschema.xml Fix bug in strinfo 2010-06-19 11:41:30 -04:00
incomplete-list.gschema.xml Simplify gschema-compile test suite 2010-04-20 23:28:49 -04:00
inherit-gettext-domain.gschema.xml Inherit gettext-domain from <schemalist> 2010-11-28 19:01:21 +01:00
invalid-path.gschema.xml Bug 620496 - schema compiler: reject invalid paths 2010-06-07 10:18:43 +02:00
key-in-list-indirect.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
key-in-list.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
list-of-missing.gschema.xml GSettings: new <schema> tags 'extends', 'list-of' 2010-06-29 15:58:35 -04:00
missing-quotes.gschema.xml Simplify gschema-compile test suite 2010-04-20 23:28:49 -04:00
no-default.gschema.xml Simplify gschema-compile test suite 2010-04-20 23:28:49 -04:00
overflow.gschema.xml Simplify gschema-compile test suite 2010-04-20 23:28:49 -04:00
override-missing.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
override-range-error.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
override-then-key.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
override-twice.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
override-type-error.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
override.gschema.xml GSettings: add <override>, tests, modify output 2010-06-29 20:24:39 -04:00
range-badtype.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
range-default-high.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
range-default-low.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
range-high-default.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
range-low-default.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
range-missing-max.gschema.xml gschema-test: invert expectation for min/max omit 2011-03-31 15:15:09 +05:30
range-missing-min.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
range-parse-error.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
range-type-test.gschema.xml compile schemas test: open ranges for all types 2011-03-31 15:15:09 +05:30
range-wrong-type.gschema.xml Add testcases for <range> and <choices> 2010-04-25 20:07:26 -05:00
range.gschema.xml GSettings: enum/choices/aliases/range test cases 2010-06-17 00:03:44 -04:00
summary-xmllang.gschema.xml glib-compile-schema: Don't accept duplicate docs 2015-04-01 18:55:54 -04:00
wrong-category.gschema.xml Fix the wrong-category schema test 2010-11-28 17:26:30 -05:00