summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2013-11-22 09:24:07 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-02-13 13:41:12 +0100
commit1eaa416f22d7d247a3a69afe6ff025984f10b491 (patch)
tree300aebcbff17ad2b7fe64caf95d32c11a06ff873
parente684851698924e5b3872ac3adc93c2773ef910ee (diff)
introspection,tests: add new 'Test' interface
-rw-r--r--configure.ac1
-rw-r--r--introspection/Makefile.am3
-rw-r--r--introspection/tests/Makefile.am3
-rw-r--r--introspection/tests/org.freedesktop.ModemManager1.Test.xml31
4 files changed, 38 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6e4a88c6..fa4b0fa3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -291,6 +291,7 @@ plugins/Makefile
uml290/Makefile
test/Makefile
introspection/Makefile
+introspection/tests/Makefile
po/Makefile.in
docs/Makefile
docs/man/Makefile
diff --git a/introspection/Makefile.am b/introspection/Makefile.am
index cf91caff..d09c55c6 100644
--- a/introspection/Makefile.am
+++ b/introspection/Makefile.am
@@ -1,3 +1,6 @@
+
+SUBDIRS = . tests
+
# DBus Introspection files
XMLS = $(wildcard *.xml)
xmldir = $(datadir)/dbus-1/interfaces
diff --git a/introspection/tests/Makefile.am b/introspection/tests/Makefile.am
new file mode 100644
index 00000000..4582933a
--- /dev/null
+++ b/introspection/tests/Makefile.am
@@ -0,0 +1,3 @@
+
+# DBus Introspection files
+EXTRA_DIST = org.freedesktop.ModemManager1.Test.xml
diff --git a/introspection/tests/org.freedesktop.ModemManager1.Test.xml b/introspection/tests/org.freedesktop.ModemManager1.Test.xml
new file mode 100644
index 00000000..2048cb4a
--- /dev/null
+++ b/introspection/tests/org.freedesktop.ModemManager1.Test.xml
@@ -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>