mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-04 16:33:40 +02:00
GSettings: enum/choices/aliases/range test cases
Fix a small bug that one of the tests uncovered.
This commit is contained in:
21
gio/tests/schema-tests/enum-with-repeated-alias.gschema.xml
Normal file
21
gio/tests/schema-tests/enum-with-repeated-alias.gschema.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<schemalist>
|
||||
<enum id='org.gtk.test.MyEnum'>
|
||||
<value nick='nospam' value='0'/>
|
||||
<value nick='spam' value='1'/>
|
||||
<value nick='ham' value='2'/>
|
||||
<value nick='eggs' value='3'/>
|
||||
<value nick='bangers' value='4'/>
|
||||
<value nick='mash' value='5'/>
|
||||
</enum>
|
||||
|
||||
<schema id='org.gtk.test.schema'>
|
||||
<key name='test' enum='org.gtk.test.MyEnum'>
|
||||
<default>'spam'</default>
|
||||
|
||||
<aliases>
|
||||
<alias value='sausages' target='bangers'/>
|
||||
<alias value='sausages' target='mash'/>
|
||||
</aliases>
|
||||
</key>
|
||||
</schema>
|
||||
</schemalist>
|
Reference in New Issue
Block a user