tests: use mimeapps.list over defaults.list
[platform/upstream/glib.git] / gio / tests / test-codegen.xml
index cec5714..505ae5c 100644 (file)
@@ -64,6 +64,8 @@
 
     <method name="UnimplementedMethod"/>
 
+    <method name="PropertyCancellation"/>
+
     <signal name="TestSignal">
       <annotation name="org.gtk.GDBus.DocString" value="Signal documentation."/>
       <arg type="i" name="val_int32">
     <signal name="BazSignal"/>
   </interface>
 
+  <!-- ChangingInterfaceV2:
+  -->
   <interface name="ChangingInterfaceV2">
     <!--
       NewSignalIn2:
     <method name="FooMethod"/>
   </interface>
 
+  <!-- ChangingInterfaceV10:
+  -->
   <interface name="ChangingInterfaceV10">
     <!--
       AddedSignalIn10:
     </property>
   </interface>
 
+  <!-- ensure we don't choke on unknown/unexpected XML tags or unknown/unexpected attribyutes (#650874) -->
+  <interface name="UnknownXmlTags" unexpected="boo">
+    <someUnknownTag>
+      <anotherTagWeIgnore>yadaydaydaydayda</anotherTagWeIgnore>
+    </someUnknownTag>
+    <method name="CanSetTimezone" also_unexpected="1">
+      <annotation name="org.freedesktop.DBus.GLib.Async" value="" also_unexpected="1">
+        <unknownTag/>
+      </annotation>
+      <arg name="value" direction="out" type="i" also_unexpected="1">
+        <unknownTag/>
+      </arg>
+      <unknownTag/>
+    </method>
+    <signal name="SomeSignal" also_unexpected="1">
+      <unknownTag/>
+    </signal>
+    <property name="SomeProperty" type="s" access="readwrite" also_unexpected="1">
+      <unknownTag/>
+    </property>
+  </interface>
+  <unknownTag/>
+
+  <interface name="FDPassing">
+    <method name="HelloFD">
+      <annotation name="org.gtk.GDBus.C.UnixFD" value="1"/>
+      <arg name="greeting" direction="in" type="s"/>
+      <arg name="response" direction="out" type="s"/>
+    </method>
+  </interface>
+
+  <interface name="Naming">
+    <property name="Type" type="i" access="readwrite"/>
+  </interface>
+
 </node>