summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/tag_stability.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/tag_stability.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/tag_stability.xml')
-rw-r--r--tests/scanner/annotationparser/gi/tag_stability.xml96
1 files changed, 52 insertions, 44 deletions
diff --git a/tests/scanner/annotationparser/gi/tag_stability.xml b/tests/scanner/annotationparser/gi/tag_stability.xml
index 6636bdcb..2f816ab2 100644
--- a/tests/scanner/annotationparser/gi/tag_stability.xml
+++ b/tests/scanner/annotationparser/gi/tag_stability.xml
@@ -8,17 +8,19 @@
*
* Stability: Stable
**/</input>
- <docblock>
- <identifier>
- <name>annotation_versioned</name>
- </identifier>
- <tags>
- <tag>
- <name>stability</name>
- <description>Stable</description>
- </tag>
- </tags>
- </docblock>
+ <parser>
+ <docblock>
+ <identifier>
+ <name>annotation_versioned</name>
+ </identifier>
+ <tags>
+ <tag>
+ <name>stability</name>
+ <description>Stable</description>
+ </tag>
+ </tags>
+ </docblock>
+ </parser>
</test>
<test>
@@ -27,17 +29,19 @@
*
* Stability: Unstable
**/</input>
- <docblock>
- <identifier>
- <name>annotation_versioned</name>
- </identifier>
- <tags>
- <tag>
- <name>stability</name>
- <description>Unstable</description>
- </tag>
- </tags>
- </docblock>
+ <parser>
+ <docblock>
+ <identifier>
+ <name>annotation_versioned</name>
+ </identifier>
+ <tags>
+ <tag>
+ <name>stability</name>
+ <description>Unstable</description>
+ </tag>
+ </tags>
+ </docblock>
+ </parser>
</test>
<test>
@@ -46,17 +50,19 @@
*
* Stability: Private
**/</input>
- <docblock>
- <identifier>
- <name>annotation_versioned</name>
- </identifier>
- <tags>
- <tag>
- <name>stability</name>
- <description>Private</description>
- </tag>
- </tags>
- </docblock>
+ <parser>
+ <docblock>
+ <identifier>
+ <name>annotation_versioned</name>
+ </identifier>
+ <tags>
+ <tag>
+ <name>stability</name>
+ <description>Private</description>
+ </tag>
+ </tags>
+ </docblock>
+ </parser>
</test>
<test>
@@ -65,17 +71,19 @@
*
* Stability: behavior tends to vary depending on the phase of the moon.
**/</input>
- <docblock>
- <identifier>
- <name>annotation_versioned</name>
- </identifier>
- <tags>
- <tag>
- <name>stability</name>
- <description>behavior tends to vary depending on the phase of the moon.</description>
- </tag>
- </tags>
- </docblock>
+ <parser>
+ <docblock>
+ <identifier>
+ <name>annotation_versioned</name>
+ </identifier>
+ <tags>
+ <tag>
+ <name>stability</name>
+ <description>behavior tends to vary depending on the phase of the moon.</description>
+ </tag>
+ </tags>
+ </docblock>
+ </parser>
</test>
</tests>