summaryrefslogtreecommitdiff
path: root/test-introspect.xml
blob: 89bf29ead167a7504a3ecae813a5793527bb0dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node name="/Test">
   <interface name="org.freedesktop.DBus.Binding.SingleTests">
   <annotation name="org.freedesktop.DBus.Description" value="A single test to check overloading"/>
      <method name="Sum" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns the sum of the values in the input list"/>
         <arg type="ay" name="input" direction="in"/>
         <arg type="u" name="output" direction="out"/>
      </method>
   </interface>

   <interface name="org.freedesktop.DBus.Binding.Tests">
   <annotation name="org.freedesktop.DBus.Description" value="Contains all the tests to run on the bindings."/>

      <method name="Identity" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="v" name="input" direction="in"/>
         <arg type="v" name="output" direction="out"/>
      </method>
      <method name="IdentityByte" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="y" name="input" direction="in"/>
         <arg type="y" name="output" direction="out"/>
      </method>
      <method name="IdentityBool" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="b" name="input" direction="in"/>
         <arg type="b" name="output" direction="out"/>
      </method>
      <method name="IdentityInt16" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="n" name="input" direction="in"/>
         <arg type="n" name="output" direction="out"/>
      </method>
      <method name="IdentityUInt16" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="q" name="input" direction="in"/>
         <arg type="q" name="output" direction="out"/>
      </method>
      <method name="IdentityInt32" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="i" name="input" direction="in"/>
         <arg type="i" name="output" direction="out"/>
      </method>
      <method name="IdentityUInt32" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="u" name="input" direction="in"/>
         <arg type="u" name="output" direction="out"/>
      </method>
      <method name="IdentityInt64" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="x" name="input" direction="in"/>
         <arg type="x" name="output" direction="out"/>
      </method>
      <method name="IdentityUInt64" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="t" name="input" direction="in"/>
         <arg type="t" name="output" direction="out"/>
      </method>
      <method name="IdentityDouble" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="d" name="input" direction="in"/>
         <arg type="d" name="output" direction="out"/>
      </method>
      <method name="IdentityString" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="s" name="input" direction="in"/>
         <arg type="s" name="output" direction="out"/>
      </method>
      <method name="IdentityArray" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="av" name="input" direction="in"/>
         <arg type="av" name="output" direction="out"/>
      </method>
      <method name="IdentityByteArray" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="ay" name="input" direction="in"/>
         <arg type="ay" name="output" direction="out"/>
      </method>
      <method name="IdentityBoolArray" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="ab" name="input" direction="in"/>
         <arg type="ab" name="output" direction="out"/>
      </method>
      <method name="IdentityInt16Array" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="an" name="input" direction="in"/>
         <arg type="an" name="output" direction="out"/>
      </method>
      <method name="IdentityUInt16Array" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="aq" name="input" direction="in"/>
         <arg type="aq" name="output" direction="out"/>
      </method>
      <method name="IdentityInt32Array" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="ai" name="input" direction="in"/>
         <arg type="ai" name="output" direction="out"/>
      </method>
      <method name="IdentityUInt32Array" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="au" name="input" direction="in"/>
         <arg type="au" name="output" direction="out"/>
      </method>
      <method name="IdentityInt64Array" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="ax" name="input" direction="in"/>
         <arg type="ax" name="output" direction="out"/>
      </method>
      <method name="IdentityUInt64Array" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="at" name="input" direction="in"/>
         <arg type="at" name="output" direction="out"/>
      </method>
      <method name="IdentityDoubleArray" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="ad" name="input" direction="in"/>
         <arg type="ad" name="output" direction="out"/>
      </method>
      <method name="IdentityStringArray" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns whatever it is passed"/>
         <arg type="as" name="input" direction="in"/>
         <arg type="as" name="output" direction="out"/>
      </method>




      <method name="Sum" >
         <annotation name="org.freedesktop.DBus.Description" value="Returns the sum of the values in the input list"/>
         <arg type="ai" name="input" direction="in"/>
         <arg type="x" name="output" direction="out"/>
      </method>

      <method name="InvertMapping" >
         <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"/>
         <arg type="a{ss}" name="input" direction="in"/>
         <arg type="a{sas}" name="output" direction="out"/>
      </method>

      <method name="DeStruct" >
         <annotation name="org.freedesktop.DBus.Description" value="This method returns the contents of a struct as separate values"/>
         <arg type="(sun)" name="input" direction="in"/>
         <arg type="s" name="outstring" direction="out"/>
         <arg type="u" name="outuint32" direction="out"/>
         <arg type="n" name="outuint16" direction="out"/>
      </method>

      <method name="Primitize" >
         <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"/>
         <arg type="v" name="input" direction="in"/>
         <arg type="av" name="output" direction="out"/>
      </method>

      <method name="Invert" >
         <annotation name="org.freedesktop.DBus.Description" value="inverts it's input"/>
         <arg type="b" name="input" direction="in"/>
         <arg type="b" name="output" direction="out"/>
      </method>

      <method name="Trigger" >
         <annotation name="org.freedesktop.DBus.Description" value="triggers sending of a signal from the supplied object with the given parameter"/>
         <arg type="s" name="object" direction="in"/>
         <arg type="t" name="parameter" direction="in"/>
      </method>
      <method name="Exit" >
         <annotation name="org.freedesktop.DBus.Description" value="Causes server process to exit"/>
      </method>
   </interface>

   <interface name="org.freedesktop.DBus.Binding.TestSignals">
   <annotation name="org.freedesktop.DBus.Description" value="Signals that can be sent within the tests."/>
      <signal name="Triggered">
         <annotation name="org.freedesktop.DBus.Description" value="Sent in response to method call Tests.Trigger"/>
         <arg type="t" name="parameter"/>
      </signal>
   </interface>

   <interface name="org.freedesktop.DBus.Binding.TestClient">
   <annotation name="org.freedesktop.DBus.Description" value="Interface on the client side"/>
      <method name="Response" >
         <annotation name="org.freedesktop.DBus.Description" value="To be called by the server upon receiving signal TestClient.Trigger using the path it came from"/>
         <arg type="q" name="input1" direction="in"/>
         <arg type="d" name="input2" direction="in"/>
      </method>
      <signal name="Trigger">
         <annotation name="org.freedesktop.DBus.Description" value="Causes a callback to TestClient.Response"/>
         <arg type="q" name="parameter1"/>
         <arg type="d" name="parameter2"/>
      </signal>
   </interface>
</node>