introspection,tests: add new 'Test' interface

This commit is contained in:
Aleksander Morgado
2013-11-22 09:24:07 +01:00
parent e684851698
commit 1eaa416f22
4 changed files with 38 additions and 0 deletions

View File

@@ -291,6 +291,7 @@ plugins/Makefile
uml290/Makefile
test/Makefile
introspection/Makefile
introspection/tests/Makefile
po/Makefile.in
docs/Makefile
docs/man/Makefile

View File

@@ -1,3 +1,6 @@
SUBDIRS = . tests
# DBus Introspection files
XMLS = $(wildcard *.xml)
xmldir = $(datadir)/dbus-1/interfaces

View File

@@ -0,0 +1,3 @@
# DBus Introspection files
EXTRA_DIST = org.freedesktop.ModemManager1.Test.xml

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
ModemManager 1.1 Interface Specification
Copyright (C) 2013 Aleksander Morgado <aleksander@gnu.org>
-->
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<!--
org.freedesktop.ModemManager1.Test:
@short_description: The ModemManager TEST interface.
The TEST interface defines operations to run ModemManager in a test setup.
-->
<interface name="org.freedesktop.ModemManager1.Test">
<!--
SetProfile:
If the message has not yet been sent, queue it for delivery.
-->
<method name="SetProfile">
<arg name="id" type="s" direction="in" />
<arg name="plugin" type="s" direction="in" />
<arg name="ports" type="as" direction="in" />
</method>
</interface>
</node>