diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-08-13 15:01:00 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2013-10-08 20:56:39 +0200 |
commit | 4b690b187bf8d0b7b571faaa050986b796e797a4 (patch) | |
tree | 05cfc910d4c9e276aa93255d4e4812b897dd25e3 /tests/scanner/annotationparser/gi/syntax_multiline_annotations.xml | |
parent | 0af20939c8e2deaf1d1f06e069594d53acf65d2f (diff) | |
download | gobject-introspection-4b690b187bf8d0b7b571faaa050986b796e797a4.tar.gz |
giscanner: add missing tests
Diffstat (limited to 'tests/scanner/annotationparser/gi/syntax_multiline_annotations.xml')
-rw-r--r-- | tests/scanner/annotationparser/gi/syntax_multiline_annotations.xml | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/tests/scanner/annotationparser/gi/syntax_multiline_annotations.xml b/tests/scanner/annotationparser/gi/syntax_multiline_annotations.xml new file mode 100644 index 00000000..0f5efa13 --- /dev/null +++ b/tests/scanner/annotationparser/gi/syntax_multiline_annotations.xml @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test"> + +<test> + <input>/** + * regress_forced_method: (skip) + * (method) + * @obj: A #RegressTestObj + */</input> + <parser> + <docblock> + <identifier> + <name>regress_forced_method</name> + <annotations> + <annotation> + <name>skip</name> + </annotation> + </annotations> + </identifier> + <parameters> + <parameter> + <name>obj</name> + <description>A #RegressTestObj</description> + </parameter> + </parameters> + <description>(method)</description> + </docblock> + <messages> + <message>3: Error: Test: ignoring invalid multiline annotation continuation: + * (method) + ^</message> + </messages> + </parser> +</test> + +<test> + <input>/** + * regress_forced_method: (skip) + * (method) + * @obj: A #RegressTestObj + */</input> + <parser> + <docblock> + <identifier> + <name>regress_forced_method</name> + <annotations> + <annotation> + <name>skip</name> + </annotation> + </annotations> + </identifier> + <parameters> + <parameter> + <name>obj</name> + <description>A #RegressTestObj</description> + </parameter> + </parameters> + <description>(method)</description> + </docblock> + <messages> + <message>3: Error: Test: ignoring invalid multiline annotation continuation: + * (method) + ^</message> + </messages> + </parser> +</test> + +</tests> |