aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/small.xml
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-04-08 13:32:31 +0200
committerSimon Ser <contact@emersion.fr>2024-04-24 16:18:28 +0000
commit80c65f862f7919691d3b0d31810f5a40f8675f37 (patch)
treeb8941a0918ffb67c1b1bf7d47408f5d9e56fbfb2 /tests/data/small.xml
parentprotocol: mark wl_pointer.axis_discrete as deprecated (diff)
downloadwayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar
wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.gz
wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.bz2
wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.lz
wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.xz
wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.zst
wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.zip
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>
Diffstat (limited to 'tests/data/small.xml')
-rw-r--r--tests/data/small.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/small.xml b/tests/data/small.xml
index 685c891..ac52779 100644
--- a/tests/data/small.xml
+++ b/tests/data/small.xml
@@ -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>