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:
Simon Ser 2024-04-08 13:32:31 +02:00
parent da8e1bbc45
commit 80c65f862f
8 changed files with 105 additions and 3 deletions

View file

@ -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>