mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-26 06:59:58 -05:00
tests: add deprecated-since attributes
Add a new event and enum entry to small.xml with a deprecated-since attribute to exercise the scanner code generation. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
da8e1bbc45
commit
80c65f862f
8 changed files with 105 additions and 3 deletions
|
|
@ -49,11 +49,14 @@
|
|||
|
||||
<event name="hey"/>
|
||||
|
||||
<event name="yo" since="2" deprecated-since="3"/>
|
||||
|
||||
<enum name="foo">
|
||||
<entry name="first" value="0" summary="this is the first"/>
|
||||
<entry name="second" value="1" summary="this is the second"/>
|
||||
<entry name="third" value="2" since="2" summary="this is the third"/>
|
||||
<entry name="negative" value="-1" since="2" summary="this is a negative value"/>
|
||||
<entry name="deprecated" value="3" since="2" deprecated-since="3" summary="this is a deprecated value"/>
|
||||
</enum>
|
||||
</interface>
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue