giscanner: add AnnotationParser tests
[platform/upstream/gobject-introspection.git] / tests / scanner / annotationparser / gi / tag_returns.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <tests>
4
5 <test>
6   <commentblock>/**
7  * annotation_object_string_out:
8  *
9  * Test returning a string as an out parameter
10  *
11  * Returns: some boolean
12  **/</commentblock>
13   <docblock>
14     <identifier>
15       <name>annotation_object_string_out</name>
16     </identifier>
17     <tags>
18       <tag>
19         <name>returns</name>
20         <description>some boolean</description>
21       </tag>
22     </tags>
23     <description>Test returning a string as an out parameter</description>
24   </docblock>
25 </test>
26
27 <test>
28   <!--
29   Deprecated "Return value:" tag
30   -->
31   <commentblock>/**
32  * annotation_object_string_out:
33  *
34  * Test returning a string as an out parameter
35  *
36  * Return value: some boolean
37  **/</commentblock>
38   <docblock>
39     <identifier>
40       <name>annotation_object_string_out</name>
41     </identifier>
42     <tags>
43       <tag>
44         <name>returns</name>
45         <description>some boolean</description>
46       </tag>
47     </tags>
48     <description>Test returning a string as an out parameter</description>
49   </docblock>
50 </test>
51
52 <test>
53   <!--
54   Deprecated "@returns" as a parameter
55   -->
56   <commentblock>/**
57  * annotation_object_string_out:
58  * @returns: some boolean
59  *
60  * Test returning a string as an out parameter
61  **/</commentblock>
62   <docblock>
63     <identifier>
64       <name>annotation_object_string_out</name>
65     </identifier>
66     <tags>
67       <tag>
68         <name>returns</name>
69         <description>some boolean</description>
70       </tag>
71     </tags>
72     <description>Test returning a string as an out parameter</description>
73   </docblock>
74 </test>
75
76 </tests>