summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_method.xml
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-05-15 17:31:14 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:53:42 +0200
commit1359fb6d7a76609ec07e22af9cd79ae604d23d20 (patch)
tree86674c42795c133c93c5d4c92bb7140d7a50f24a /tests/scanner/annotationparser/gi/annotation_method.xml
parent146a56f7f358dc14989e198fee4c2dd01b55be07 (diff)
downloadgobject-introspection-1359fb6d7a76609ec07e22af9cd79ae604d23d20.tar.gz
tests: put <docblock> element inside a <parser> element
The <parser> element can then hold both the expected <docblock> parse tree and the warning/error messages emitted by the parser in a future <messages> child element.
Diffstat (limited to 'tests/scanner/annotationparser/gi/annotation_method.xml')
-rw-r--r--tests/scanner/annotationparser/gi/annotation_method.xml34
1 files changed, 18 insertions, 16 deletions
diff --git a/tests/scanner/annotationparser/gi/annotation_method.xml b/tests/scanner/annotationparser/gi/annotation_method.xml
index 038923ab..7fb8192f 100644
--- a/tests/scanner/annotationparser/gi/annotation_method.xml
+++ b/tests/scanner/annotationparser/gi/annotation_method.xml
@@ -7,22 +7,24 @@
* regress_forced_method: (method)
* @obj: A #RegressTestObj
*/</input>
- <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>
+ <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>
</test>
</tests>