xref: /aosp_15_r20/external/wayland/protocol/tests.xml (revision 84e872a0dc482bffdb63672969dd03a827d67c73)
1*84e872a0SLloyd Pique<?xml version="1.0" encoding="UTF-8"?>
2*84e872a0SLloyd Pique<protocol name="build_time_wayland_tests">
3*84e872a0SLloyd Pique
4*84e872a0SLloyd Pique  <copyright>
5*84e872a0SLloyd Pique    Copyright © 2017 Samsung Electronics Co., Ltd
6*84e872a0SLloyd Pique
7*84e872a0SLloyd Pique    Permission is hereby granted, free of charge, to any person
8*84e872a0SLloyd Pique    obtaining a copy of this software and associated documentation files
9*84e872a0SLloyd Pique    (the "Software"), to deal in the Software without restriction,
10*84e872a0SLloyd Pique    including without limitation the rights to use, copy, modify, merge,
11*84e872a0SLloyd Pique    publish, distribute, sublicense, and/or sell copies of the Software,
12*84e872a0SLloyd Pique    and to permit persons to whom the Software is furnished to do so,
13*84e872a0SLloyd Pique    subject to the following conditions:
14*84e872a0SLloyd Pique
15*84e872a0SLloyd Pique    The above copyright notice and this permission notice (including the
16*84e872a0SLloyd Pique    next paragraph) shall be included in all copies or substantial
17*84e872a0SLloyd Pique    portions of the Software.
18*84e872a0SLloyd Pique
19*84e872a0SLloyd Pique    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20*84e872a0SLloyd Pique    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21*84e872a0SLloyd Pique    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22*84e872a0SLloyd Pique    NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
23*84e872a0SLloyd Pique    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24*84e872a0SLloyd Pique    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25*84e872a0SLloyd Pique    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26*84e872a0SLloyd Pique    SOFTWARE.
27*84e872a0SLloyd Pique  </copyright>
28*84e872a0SLloyd Pique
29*84e872a0SLloyd Pique  <interface name="fd_passer" version="2">
30*84e872a0SLloyd Pique    <description summary="Sends an event with an fd">
31*84e872a0SLloyd Pique      A trivial interface for fd passing tests.
32*84e872a0SLloyd Pique    </description>
33*84e872a0SLloyd Pique
34*84e872a0SLloyd Pique    <request name="destroy" type="destructor"/>
35*84e872a0SLloyd Pique
36*84e872a0SLloyd Pique    <event name="pre_fd"/>
37*84e872a0SLloyd Pique
38*84e872a0SLloyd Pique    <event name="fd">
39*84e872a0SLloyd Pique      <description summary="passes a file descriptor"/>
40*84e872a0SLloyd Pique      <arg name="fd" type="fd" summary="file descriptor"/>
41*84e872a0SLloyd Pique    </event>
42*84e872a0SLloyd Pique
43*84e872a0SLloyd Pique    <!-- Version 2 additions -->
44*84e872a0SLloyd Pique    <request name="conjoin" since="2">
45*84e872a0SLloyd Pique      <description summary="register another fd passer with this one">
46*84e872a0SLloyd Pique	Tells this fd passer object about another one to send events
47*84e872a0SLloyd Pique	to for more complicated fd leak tests.
48*84e872a0SLloyd Pique      </description>
49*84e872a0SLloyd Pique      <arg name="passer" type="object" interface="fd_passer"/>
50*84e872a0SLloyd Pique    </request>
51*84e872a0SLloyd Pique  </interface>
52*84e872a0SLloyd Pique</protocol>
53