summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser/gi/syntax.xml
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-07-26 13:48:12 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:53:58 +0200
commit2c071ea938ca7500ed83c9958577eb15b37e139a (patch)
tree1026d40c1c857388bf5073364531e7cea3f6e834 /tests/scanner/annotationparser/gi/syntax.xml
parent30b32be1aba7277077fa82b9ac28d07a41c60e50 (diff)
downloadgobject-introspection-2c071ea938ca7500ed83c9958577eb15b37e139a.tar.gz
tests: test emitted GTK-Doc parser warning messages
Diffstat (limited to 'tests/scanner/annotationparser/gi/syntax.xml')
-rw-r--r--tests/scanner/annotationparser/gi/syntax.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/scanner/annotationparser/gi/syntax.xml b/tests/scanner/annotationparser/gi/syntax.xml
index 1bb86520..7838167b 100644
--- a/tests/scanner/annotationparser/gi/syntax.xml
+++ b/tests/scanner/annotationparser/gi/syntax.xml
@@ -91,6 +91,14 @@ something */</input>
</identifier>
<description>something</description>
</docblock>
+ <messages>
+ <message>3: Warning: Test: Comments should end with */ on a new line:
+something */
+ ^</message>
+ <message>2: Warning: Test: missing ':' at column 5:
+Test
+ ^</message>
+ </messages>
</parser>
</test>
@@ -108,6 +116,14 @@ something **/</input>
</identifier>
<description>something</description>
</docblock>
+ <messages>
+ <message>3: Warning: Test: Comments should end with */ on a new line:
+something **/
+ ^</message>
+ <message>2: Warning: Test: missing ':' at column 5:
+Test
+ ^</message>
+ </messages>
</parser>
</test>
@@ -136,6 +152,11 @@ something **/</input>
</parameters>
<description>The application class handles ...</description>
</docblock>
+ <messages>
+ <message>4: Warning: Test: '@short_description' parameter unexpected at this location:
+ * @short_description: the application class
+ ^</message>
+ </messages>
</parser>
</test>