diff options
| author | Simon Ser <contact@emersion.fr> | 2024-07-07 18:48:44 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-07-09 18:22:10 +0200 |
| commit | fa1811ce3e1475a95aa39e00cfa083797661d651 (patch) | |
| tree | 81f1d287ce2aa5bed1e6f3a851d5700bffc3bf92 /tests/data/small.xml | |
| parent | scanner: fix validator for bitfields (diff) | |
| download | wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.tar wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.tar.gz wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.tar.bz2 wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.tar.lz wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.tar.xz wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.tar.zst wayland-fa1811ce3e1475a95aa39e00cfa083797661d651.zip | |
tests: add enum bitfield test
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tests/data/small.xml')
| -rw-r--r-- | tests/data/small.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/data/small.xml b/tests/data/small.xml index ac52779..ab29749 100644 --- a/tests/data/small.xml +++ b/tests/data/small.xml @@ -58,5 +58,12 @@ <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> + + <enum name="bar" bitfield="true"> + <entry name="first" value="0x01" summary="this is the first"/> + <entry name="second" value="0x02" summary="this is the second"/> + <entry name="third" value="0x04" since="2" summary="this is the third"/> + </enum> + </interface> </protocol> |
