tests.xml 2.0 KB

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