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/gtkdoc/fail/tester.h.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/gtkdoc/fail/tester.h.xml')
-rw-r--r-- | tests/scanner/annotationparser/gtkdoc/fail/tester.h.xml | 246 |
1 files changed, 132 insertions, 114 deletions
diff --git a/tests/scanner/annotationparser/gtkdoc/fail/tester.h.xml b/tests/scanner/annotationparser/gtkdoc/fail/tester.h.xml index eafb98ea..0663911b 100644 --- a/tests/scanner/annotationparser/gtkdoc/fail/tester.h.xml +++ b/tests/scanner/annotationparser/gtkdoc/fail/tester.h.xml @@ -8,12 +8,14 @@ * * Here we document the macro but not the parameters. */</input> - <docblock> - <identifier> - <name>MACRO_NO_ITEM_DOCS</name> - </identifier> - <description>Here we document the macro but not the parameters.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>MACRO_NO_ITEM_DOCS</name> + </identifier> + <description>Here we document the macro but not the parameters.</description> + </docblock> + </parser> </test> <test> @@ -23,18 +25,20 @@ * * Here we document the macro but not all the parameters. */</input> - <docblock> - <identifier> - <name>MACRO_INCOMPLETE_DOCS</name> - </identifier> - <parameters> - <parameter> - <name>a</name> - <description>a value</description> - </parameter> - </parameters> - <description>Here we document the macro but not all the parameters.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>MACRO_INCOMPLETE_DOCS</name> + </identifier> + <parameters> + <parameter> + <name>a</name> + <description>a value</description> + </parameter> + </parameters> + <description>Here we document the macro but not all the parameters.</description> + </docblock> + </parser> </test> <test> @@ -46,26 +50,28 @@ * * Here we document the macro and more than the actual parameters. */</input> - <docblock> - <identifier> - <name>MACRO_UNUSED_DOCS</name> - </identifier> - <parameters> - <parameter> - <name>a</name> - <description>a value</description> - </parameter> - <parameter> - <name>b</name> - <description>a value</description> - </parameter> - <parameter> - <name>c</name> - <description>an unexisting value</description> - </parameter> - </parameters> - <description>Here we document the macro and more than the actual parameters.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>MACRO_UNUSED_DOCS</name> + </identifier> + <parameters> + <parameter> + <name>a</name> + <description>a value</description> + </parameter> + <parameter> + <name>b</name> + <description>a value</description> + </parameter> + <parameter> + <name>c</name> + <description>an unexisting value</description> + </parameter> + </parameters> + <description>Here we document the macro and more than the actual parameters.</description> + </docblock> + </parser> </test> <test> @@ -75,13 +81,15 @@ * Here we document the enum but not the values. * http://bugzilla.gnome.org/show_bug.cgi?id=568711 */</input> - <docblock> - <identifier> - <name>EnumNoItemDocs</name> - </identifier> - <description>Here we document the enum but not the values. + <parser> + <docblock> + <identifier> + <name>EnumNoItemDocs</name> + </identifier> + <description>Here we document the enum but not the values. http://bugzilla.gnome.org/show_bug.cgi?id=568711</description> - </docblock> + </docblock> + </parser> </test> <test> @@ -91,18 +99,20 @@ http://bugzilla.gnome.org/show_bug.cgi?id=568711</description> * * Here we document the enum but not all the values. */</input> - <docblock> - <identifier> - <name>EnumIncompleteDocs</name> - </identifier> - <parameters> - <parameter> - <name>ENUM_INCOMPLETE_DOCS_1</name> - <description>a value</description> - </parameter> - </parameters> - <description>Here we document the enum but not all the values.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>EnumIncompleteDocs</name> + </identifier> + <parameters> + <parameter> + <name>ENUM_INCOMPLETE_DOCS_1</name> + <description>a value</description> + </parameter> + </parameters> + <description>Here we document the enum but not all the values.</description> + </docblock> + </parser> </test> <test> @@ -114,26 +124,28 @@ http://bugzilla.gnome.org/show_bug.cgi?id=568711</description> * * Here we document the enum and more than the actual values. */</input> - <docblock> - <identifier> - <name>EnumUnusedDocs</name> - </identifier> - <parameters> - <parameter> - <name>ENUM_UNUSED_DOCS_1</name> - <description>a value</description> - </parameter> - <parameter> - <name>ENUM_UNUSED_DOCS_2</name> - <description>a value</description> - </parameter> - <parameter> - <name>ENUM_UNUSED_DOCS_3</name> - <description>an unexisting value</description> - </parameter> - </parameters> - <description>Here we document the enum and more than the actual values.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>EnumUnusedDocs</name> + </identifier> + <parameters> + <parameter> + <name>ENUM_UNUSED_DOCS_1</name> + <description>a value</description> + </parameter> + <parameter> + <name>ENUM_UNUSED_DOCS_2</name> + <description>a value</description> + </parameter> + <parameter> + <name>ENUM_UNUSED_DOCS_3</name> + <description>an unexisting value</description> + </parameter> + </parameters> + <description>Here we document the enum and more than the actual values.</description> + </docblock> + </parser> </test> <test> @@ -142,12 +154,14 @@ http://bugzilla.gnome.org/show_bug.cgi?id=568711</description> * * Here we document the struct but not the values. */</input> - <docblock> - <identifier> - <name>StructNoItemDocs</name> - </identifier> - <description>Here we document the struct but not the values.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>StructNoItemDocs</name> + </identifier> + <description>Here we document the struct but not the values.</description> + </docblock> + </parser> </test> <test> @@ -157,18 +171,20 @@ http://bugzilla.gnome.org/show_bug.cgi?id=568711</description> * * Here we document the struct but not all the values. */</input> - <docblock> - <identifier> - <name>StructIncompleteDocs</name> - </identifier> - <parameters> - <parameter> - <name>a</name> - <description>a value</description> - </parameter> - </parameters> - <description>Here we document the struct but not all the values.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>StructIncompleteDocs</name> + </identifier> + <parameters> + <parameter> + <name>a</name> + <description>a value</description> + </parameter> + </parameters> + <description>Here we document the struct but not all the values.</description> + </docblock> + </parser> </test> <test> @@ -180,26 +196,28 @@ http://bugzilla.gnome.org/show_bug.cgi?id=568711</description> * * Here we document the struct and more than the actual values. */</input> - <docblock> - <identifier> - <name>StructUnusedDocs</name> - </identifier> - <parameters> - <parameter> - <name>a</name> - <description>a value</description> - </parameter> - <parameter> - <name>b</name> - <description>a value</description> - </parameter> - <parameter> - <name>c</name> - <description>an unexisting value</description> - </parameter> - </parameters> - <description>Here we document the struct and more than the actual values.</description> - </docblock> + <parser> + <docblock> + <identifier> + <name>StructUnusedDocs</name> + </identifier> + <parameters> + <parameter> + <name>a</name> + <description>a value</description> + </parameter> + <parameter> + <name>b</name> + <description>a value</description> + </parameter> + <parameter> + <name>c</name> + <description>an unexisting value</description> + </parameter> + </parameters> + <description>Here we document the struct and more than the actual values.</description> + </docblock> + </parser> </test> </tests> |