giscanner: add AnnotationParser tests
[platform/upstream/gobject-introspection.git] / tests / scanner / annotationparser / gi / annotation_rename_to.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <tests>
4
5 <test>
6   <!--
7   "Rename to:" tag syntax
8   -->
9   <commentblock>/**
10  * annotation_object_watch_full:
11  * @object: A #AnnotationObject
12  * @func: The callback
13  * @user_data: The callback data
14  * @destroy: Destroy notification
15  *
16  * Test overriding via the "Rename To" annotation.
17  *
18  * Rename to: annotation_object_watch
19  */</commentblock>
20   <docblock>
21     <identifier>
22       <name>annotation_object_watch_full</name>
23     </identifier>
24     <parameters>
25       <parameter>
26         <name>object</name>
27         <description>A #AnnotationObject</description>
28       </parameter>
29       <parameter>
30         <name>func</name>
31         <description>The callback</description>
32       </parameter>
33       <parameter>
34         <name>user_data</name>
35         <description>The callback data</description>
36       </parameter>
37       <parameter>
38         <name>destroy</name>
39         <description>Destroy notification</description>
40       </parameter>
41     </parameters>
42     <description>Test overriding via the "Rename To" annotation.</description>
43     <tags>
44       <tag>
45         <name>rename to</name>
46         <description>annotation_object_watch</description>
47       </tag>
48     </tags>
49   </docblock>
50 </test>
51
52 </tests>