summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_destroy.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_destroy.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_destroy.xml')
-rw-r--r--tests/scanner/annotationparser/gi/annotation_destroy.xml62
1 files changed, 32 insertions, 30 deletions
diff --git a/tests/scanner/annotationparser/gi/annotation_destroy.xml b/tests/scanner/annotationparser/gi/annotation_destroy.xml
index 229a11be..d322dbb3 100644
--- a/tests/scanner/annotationparser/gi/annotation_destroy.xml
+++ b/tests/scanner/annotationparser/gi/annotation_destroy.xml
@@ -10,37 +10,39 @@
* Test messing up the heuristic of closure/destroy-notification
* detection, and fixing it via annotations.
*/</input>
- <docblock>
- <identifier>
- <name>annotation_custom_destroy</name>
- </identifier>
- <parameters>
- <parameter>
- <name>callback</name>
- <annotations>
- <annotation>
- <name>destroy</name>
- <options>
- <option>
- <name>destroy</name>
- </option>
- </options>
- </annotation>
- <annotation>
- <name>closure</name>
- <options>
- <option>
- <name>data</name>
- </option>
- </options>
- </annotation>
- </annotations>
- <description>Destroy notification</description>
- </parameter>
- </parameters>
- <description>Test messing up the heuristic of closure/destroy-notification
+ <parser>
+ <docblock>
+ <identifier>
+ <name>annotation_custom_destroy</name>
+ </identifier>
+ <parameters>
+ <parameter>
+ <name>callback</name>
+ <annotations>
+ <annotation>
+ <name>destroy</name>
+ <options>
+ <option>
+ <name>destroy</name>
+ </option>
+ </options>
+ </annotation>
+ <annotation>
+ <name>closure</name>
+ <options>
+ <option>
+ <name>data</name>
+ </option>
+ </options>
+ </annotation>
+ </annotations>
+ <description>Destroy notification</description>
+ </parameter>
+ </parameters>
+ <description>Test messing up the heuristic of closure/destroy-notification
detection, and fixing it via annotations.</description>
- </docblock>
+ </docblock>
+ </parser>
</test>
</tests>