giscanner: add AnnotationParser tests
[platform/upstream/gobject-introspection.git] / tests / scanner / annotationparser / gi / annotation_in.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <tests>
4
5 <test>
6   <commentblock>/**
7  * annotation_object_in:
8  * @object: a #GObject
9  * @inarg: (in) (transfer none): This is an argument test
10  *
11  * This is a test for in arguments
12  *
13  * Return value: an int
14  */</commentblock>
15   <docblock>
16     <identifier>
17       <name>annotation_object_in</name>
18     </identifier>
19     <parameters>
20       <parameter>
21         <name>object</name>
22         <description>a #GObject</description>
23       </parameter>
24       <parameter>
25         <name>inarg</name>
26         <annotations>
27           <annotation>
28             <name>in</name>
29           </annotation>
30           <annotation>
31             <name>transfer</name>
32             <options>
33               <option>
34                 <name>none</name>
35               </option>
36             </options>
37           </annotation>
38         </annotations>
39         <description>This is an argument test</description>
40       </parameter>
41     </parameters>
42     <description>This is a test for in arguments</description>
43     <tags>
44       <tag>
45         <name>returns</name>
46         <description>an int</description>
47       </tag>
48     </tags>
49   </docblock>
50 </test>
51
52 </tests>