summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests.txt54
1 files changed, 53 insertions, 1 deletions
diff --git a/tests.txt b/tests.txt
index d1d60b1..a876aa4 100644
--- a/tests.txt
+++ b/tests.txt
@@ -4,15 +4,67 @@ Tests are functions which will perform a particular transformation on the input
<annotation name="org.freedesktop.DBus.Description" value="Returns the sum of the values in the input list"/>
<method name="sum" >
+ <arg type="ay" direction="in"/>
+ <arg type="u" direction="out"/>
+</method>
+
+<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" >
+<method name="mapping_invert" >
<arg type="a{ss}" direction="in"/>
<arg type="a{sas}" direction="out"/>
</method>
+<annotation name="org.freedesktop.DBus.Description" value="This method returns the contents of a struct as separate values"/>
+<method name="destruct" >
+ <arg type="(sun)" direction="in"/>
+ <arg type="s" direction="out"/>
+ <arg type="u" direction="out"/>
+ <arg type="n" direction="out"/>
+</method>
+
+<annotation name="org.freedesktop.DBus.Description" value="Given any compound type as a variant, return all the primitive types recursively contained within as an array of variants"/>
+<method name="primitize" >
+ <arg type="v" direction="in"/>
+ <arg type="av" direction="out"/>
+</method>
+
+<annotation name="org.freedesktop.DBus.Description" value="inverts it's input"/>
+<method name="invert" >
+ <arg type="b" direction="in"/>
+ <arg type="b" direction="out"/>
+</method>
+
+<annotation name="org.freedesktop.DBus.Description" value="triggers sending of a signal from the supplied object with the given parameter"/>
+<method name="triggersignal" >
+ <arg type="o" direction="in"/>
+ <arg type="t" direction="in"/>
+</method>
+
+<signal name="triggered">
+ <arg type="t"/>
+</signal>
+
+<signal name="trigger">
+ <arg type="q"/>
+ <arg type="d"/>
+</signal>
+
+<annotation name="org.freedesktop.DBus.Description" value="when the trigger signal is received, this method should be called on the sending service/object."/>
+<method name="signalresponse" >
+ <arg type="q" direction="in"/>
+ <arg type="d" direction="in"/>
+</method>
+
+
+Clients try and cause these to fail in the most obscure way possible. Servers make sure all of their methods are called each run. Output format:
+
+
+