gsettings: add test for repeated <summary> errors

Make sure error handling on repeated <summary> and <description> is
being done properly, not resulting in glib-compile-schemas throwing a
critical.

https://bugzilla.gnome.org/show_bug.cgi?id=747542
This commit is contained in:
Ryan Lortie
2015-04-08 22:11:27 -04:00
parent 7f4fdb59aa
commit 3fa0a051a4
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<schemalist>
<schema path="/org/gnome/gnome-screenshot/" id="org.gnome.gnome-screenshot">
<key type="b" name="take-window-shot">
<default>false</default>
<summary>Window-specific screenshot (deprecated)</summary>
<summary lang="an">Captura especifica de finestra (obsoleto)</summary>
<summary lang="ar">لقطة شاشة مختصّة بنافذة (مُبطل)</summary>
<summary lang="as">উইন্ডোৰ ক্ষেত্ৰত নিৰ্দিষ্ট স্ক্ৰিনশ্বট (স্খলিত)</summary>
<summary lang="ast">Captura específica de ventana (obsoleto)</summary>
<description>Bla</description>
</key>
</schema>
</schemalist>