diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-05-15 17:31:14 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:53:42 +0200 |
commit | 1359fb6d7a76609ec07e22af9cd79ae604d23d20 (patch) | |
tree | 86674c42795c133c93c5d4c92bb7140d7a50f24a /tests/scanner/annotationparser/gi/syntax.xml | |
parent | 146a56f7f358dc14989e198fee4c2dd01b55be07 (diff) | |
download | gobject-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/syntax.xml')
-rw-r--r-- | tests/scanner/annotationparser/gi/syntax.xml | 54 |
1 files changed, 30 insertions, 24 deletions
diff --git a/tests/scanner/annotationparser/gi/syntax.xml b/tests/scanner/annotationparser/gi/syntax.xml index 7dd7b914..4bbe1867 100644 --- a/tests/scanner/annotationparser/gi/syntax.xml +++ b/tests/scanner/annotationparser/gi/syntax.xml @@ -84,12 +84,14 @@ something */</input> <input>/** Test something */</input> - <docblock> - <identifier> - <name>Test</name> - </identifier> - <description>something</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>Test</name> + </identifier> + <description>something</description> + </docblock> + </parser> </test> <test> @@ -99,12 +101,14 @@ something */</input> <input>/** Test something **/</input> - <docblock> - <identifier> - <name>Test</name> - </identifier> - <description>something</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>Test</name> + </identifier> + <description>something</description> + </docblock> + </parser> </test> <test> @@ -119,18 +123,20 @@ something **/</input> * * The application class handles ... */</input> - <docblock> - <identifier> - <name>SECTION:meepapp</name> - </identifier> - <parameters> - <parameter> - <name>short_description</name> - <description>the application class</description> - </parameter> - </parameters> - <description>The application class handles ...</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>SECTION:meepapp</name> + </identifier> + <parameters> + <parameter> + <name>short_description</name> + <description>the application class</description> + </parameter> + </parameters> + <description>The application class handles ...</description> + </docblock> + </parser> </test> </tests> |