summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_method.xml
blob: 3b9f1b879d0060af6d6251fcb02fabb9616d203f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>

<tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">

<test>
  <input>/**
 * regress_forced_method: (method)
 * @obj: A #RegressTestObj
 */</input>
  <parser>
    <docblock>
      <identifier>
        <name>regress_forced_method</name>
        <annotations>
          <annotation>
            <name>method</name>
          </annotation>
        </annotations>
      </identifier>
      <parameters>
        <parameter>
          <name>obj</name>
          <description>A #RegressTestObj</description>
        </parameter>
      </parameters>
    </docblock>
  </parser>
  <output>/**
 * regress_forced_method: (method)
 * @obj: A #RegressTestObj
 */</output>
</test>

</tests>