diff options
author | mjj29 <mjj29@illythia> | 2006-07-17 19:21:19 -0100 |
---|---|---|
committer | mjj29 <mjj29@illythia> | 2006-07-17 19:21:19 -0100 |
commit | 5de6b292449138fe8dd4171943e742c5dfd65d88 (patch) | |
tree | 6583ff3db7ff67e26742209ab76eef059a092fe0 /tests.txt |
tests stuff
Diffstat (limited to 'tests.txt')
-rw-r--r-- | tests.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests.txt b/tests.txt new file mode 100644 index 0000000..d1d60b1 --- /dev/null +++ b/tests.txt @@ -0,0 +1,18 @@ +Tests for DBus binding test rig: + +Tests are functions which will perform a particular transformation on the input and return the result. The should be defined as a DBus signature and description of the function. For example: + +<annotation name="org.freedesktop.DBus.Description" value="Returns the sum of the values in the input list"/> +<method name="sum" > + <arg type="ai" direction="in"/> + <arg type="x" direction="out"/> +</method> + +<annotation name="org.freedesktop.DBus.Description" value="Given a map of A => B, should return a map of B => a list of all the As which mapped to B"/> +<method name="sum" > + <arg type="a{ss}" direction="in"/> + <arg type="a{sas}" direction="out"/> +</method> + + + |