giscanner: add AnnotationParser tests
[platform/upstream/gobject-introspection.git] / tests / scanner / annotationparser / gi / syntax.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <tests>
4
5 <test>
6   <!--
7   Not GTK-Doc
8   -->
9   <commentblock>//Test</commentblock>
10 </test>
11
12 <test>
13   <!--
14   Not GTK-Doc
15   -->
16   <commentblock>// Test</commentblock>
17 </test>
18
19 <test>
20   <!--
21   Not GTK-Doc
22   -->
23   <commentblock>/*Test*/</commentblock>
24 </test>
25
26 <test>
27   <!--
28   Not GTK-Doc
29   -->
30   <commentblock>/* Test */</commentblock>
31 </test>
32
33 <test>
34   <!--
35   Not GTK-Doc
36   -->
37   <commentblock>/* Test
38 something */</commentblock>
39 </test>
40
41 <test>
42   <!--
43   Not GTK-Doc
44   -->
45   <commentblock>/*
46 Test
47 something */</commentblock>
48 </test>
49
50 <test>
51   <!--
52   Not GTK-Doc
53   -->
54   <commentblock>/**Test*/</commentblock>
55 </test>
56
57 <test>
58   <!--
59   Not GTK-Doc
60   -->
61   <commentblock>/** Test */</commentblock>
62 </test>
63
64 <test>
65   <!--
66   Not GTK-Doc
67   -->
68   <commentblock>/** Test
69 something */</commentblock>
70 </test>
71
72 <test>
73   <!--
74   Broken comment block, signal the start of the comment block description followed
75   by a parameter instead.
76   -->
77   <commentblock>/**
78  * SECTION:meepapp
79  *
80  * @short_description: the application class
81  *
82  * The application class handles ...
83  */</commentblock>
84   <docblock>
85     <identifier>
86       <name>SECTION:meepapp</name>
87     </identifier>
88     <parameters>
89       <parameter>
90         <name>short_description</name>
91         <description>the application class</description>
92       </parameter>
93     </parameters>
94     <description>The application class handles ...</description>
95   </docblock>
96 </test>
97
98 </tests>