summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/annotation_foreign.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_foreign.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_foreign.xml')
-rw-r--r--tests/scanner/annotationparser/gi/annotation_foreign.xml22
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/scanner/annotationparser/gi/annotation_foreign.xml b/tests/scanner/annotationparser/gi/annotation_foreign.xml
index f9674ded..1e6e9f4a 100644
--- a/tests/scanner/annotationparser/gi/annotation_foreign.xml
+++ b/tests/scanner/annotationparser/gi/annotation_foreign.xml
@@ -7,16 +7,18 @@
* FooForeignStruct: (foreign)
*
*/</input>
- <docblock>
- <identifier>
- <name>FooForeignStruct</name>
- <annotations>
- <annotation>
- <name>foreign</name>
- </annotation>
- </annotations>
- </identifier>
- </docblock>
+ <parser>
+ <docblock>
+ <identifier>
+ <name>FooForeignStruct</name>
+ <annotations>
+ <annotation>
+ <name>foreign</name>
+ </annotation>
+ </annotations>
+ </identifier>
+ </docblock>
+ </parser>
</test>
</tests>