summaryrefslogtreecommitdiff
path: root/tests/scanner/annotationparser
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2013-08-13 23:16:41 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2013-10-08 20:56:36 +0200
commit0af20939c8e2deaf1d1f06e069594d53acf65d2f (patch)
tree0fa1eac5ddc6f440552ddb200211f0915f889667 /tests/scanner/annotationparser
parentf52986074fb44f523b35eb0b051c562269c723a8 (diff)
downloadgobject-introspection-0af20939c8e2deaf1d1f06e069594d53acf65d2f.tar.gz
giscanner: make some warnings errors
GTK-Doc comment block fixer tool will refuse to rewrite source files that generated errors (indicating a source->parse tree->source would result in information being lost), but will happily continue on warnings (which do not result in information being lost).
Diffstat (limited to 'tests/scanner/annotationparser')
-rw-r--r--tests/scanner/annotationparser/gi/identifier.xml6
-rw-r--r--tests/scanner/annotationparser/gi/parameter.xml4
-rw-r--r--tests/scanner/annotationparser/gi/tag.xml2
-rw-r--r--tests/scanner/annotationparser/gi/tag_deprecated.xml2
-rw-r--r--tests/scanner/annotationparser/gi/tag_returns.xml6
-rw-r--r--tests/scanner/annotationparser/gi/tag_since.xml2
-rw-r--r--tests/scanner/annotationparser/gi/tag_stability.xml2
7 files changed, 12 insertions, 12 deletions
diff --git a/tests/scanner/annotationparser/gi/identifier.xml b/tests/scanner/annotationparser/gi/identifier.xml
index b8de9c84..dd8ee17e 100644
--- a/tests/scanner/annotationparser/gi/identifier.xml
+++ b/tests/scanner/annotationparser/gi/identifier.xml
@@ -20,7 +20,7 @@
<description>Above identifier is not on the first line.</description>
</docblock>
<messages>
- <message>2: Warning: Test: identifier not found on the first line:
+ <message>2: Error: Test: identifier not found on the first line:
* This is not a valid section identifier
^</message>
</messages>
@@ -44,7 +44,7 @@
</identifier>
</docblock>
<messages>
- <message>2: Warning: Test: identifier not found on the first line:
+ <message>2: Error: Test: identifier not found on the first line:
^</message>
</messages>
@@ -97,7 +97,7 @@ The application class handles ...</description>
*/</input>
<parser>
<messages>
- <message>2: Warning: Test: identifier not found on the first line:
+ <message>2: Error: Test: identifier not found on the first line:
* gnm_cell_set_expr_and_value: Stores (WITHOUT COPYING) the supplied value, and
^</message>
</messages>
diff --git a/tests/scanner/annotationparser/gi/parameter.xml b/tests/scanner/annotationparser/gi/parameter.xml
index 809b9d89..e17f590b 100644
--- a/tests/scanner/annotationparser/gi/parameter.xml
+++ b/tests/scanner/annotationparser/gi/parameter.xml
@@ -60,7 +60,7 @@
</parameters>
</docblock>
<messages>
- <message>4: Warning: Test: multiple '@param1' parameters for identifier 'test_multiple_parameters':
+ <message>4: Error: Test: multiple "@param1" parameters for identifier "test_multiple_parameters":
* @param1: first parameter again
^</message>
</messages>
@@ -95,7 +95,7 @@
<description>Annotations spanning multiple lines are not valid</description>
</docblock>
<messages>
- <message>4: Warning: Test: ignoring invalid multiline annotation continuation:
+ <message>4: Error: Test: ignoring invalid multiline annotation continuation:
* (transfer full): first parameter
^</message>
</messages>
diff --git a/tests/scanner/annotationparser/gi/tag.xml b/tests/scanner/annotationparser/gi/tag.xml
index d7eca816..d116841c 100644
--- a/tests/scanner/annotationparser/gi/tag.xml
+++ b/tests/scanner/annotationparser/gi/tag.xml
@@ -31,7 +31,7 @@
</tags>
</docblock>
<messages>
- <message>7: Warning: Test: ignoring invalid multiline annotation continuation:
+ <message>7: Error: Test: ignoring invalid multiline annotation continuation:
* (transfer full): something
^</message>
</messages>
diff --git a/tests/scanner/annotationparser/gi/tag_deprecated.xml b/tests/scanner/annotationparser/gi/tag_deprecated.xml
index fbd342b6..dcbb2195 100644
--- a/tests/scanner/annotationparser/gi/tag_deprecated.xml
+++ b/tests/scanner/annotationparser/gi/tag_deprecated.xml
@@ -95,7 +95,7 @@
</tags>
</docblock>
<messages>
- <message>5: Warning: Test: multiple 'Deprecated:' tags for identifier 'test_multiple_tags':
+ <message>5: Error: Test: multiple "Deprecated:" tags for identifier "test_multiple_tags":
* Deprecated: 2.0
^</message>
</messages>
diff --git a/tests/scanner/annotationparser/gi/tag_returns.xml b/tests/scanner/annotationparser/gi/tag_returns.xml
index 2f76e025..ea8c0125 100644
--- a/tests/scanner/annotationparser/gi/tag_returns.xml
+++ b/tests/scanner/annotationparser/gi/tag_returns.xml
@@ -156,7 +156,7 @@ parameter is encountered.</description>
<message>8: Warning: Test: "@returns" parameter unexpected at this location:
* @returns: something else
^</message>
- <message>8: Warning: Test: encountered multiple 'Returns' parameters or tags for 'test_multiple_returns_tag_and_parameter'.</message>
+ <message>8: Error: Test: encountered multiple "Returns" parameters or tags for "test_multiple_returns_tag_and_parameter".</message>
</messages>
</parser>
</test>
@@ -189,7 +189,7 @@ parameter is encountered.</description>
</tags>
</docblock>
<messages>
- <message>8: Warning: Test: encountered multiple 'Returns' parameters or tags for 'test_multiple_returns_tag_and_parameter'.</message>
+ <message>8: Error: Test: encountered multiple return value parameters or tags for "test_multiple_returns_tag_and_parameter".</message>
</messages>
</parser>
</test>
@@ -222,7 +222,7 @@ parameter is encountered.</description>
</tags>
</docblock>
<messages>
- <message>8: Warning: Test: encountered multiple 'Returns' parameters or tags for 'test_multiple_returns_tag_and_parameter'.</message>
+ <message>8: Error: Test: encountered multiple return value parameters or tags for "test_multiple_returns_tag_and_parameter".</message>
</messages>
</parser>
</test>
diff --git a/tests/scanner/annotationparser/gi/tag_since.xml b/tests/scanner/annotationparser/gi/tag_since.xml
index 78ce7865..048cb4df 100644
--- a/tests/scanner/annotationparser/gi/tag_since.xml
+++ b/tests/scanner/annotationparser/gi/tag_since.xml
@@ -97,7 +97,7 @@ tags is wrong...</description>
</tags>
</docblock>
<messages>
- <message>5: Warning: Test: multiple 'Since:' tags for identifier 'test_multiple_tags':
+ <message>5: Error: Test: multiple "Since:" tags for identifier "test_multiple_tags":
* Since: 2.0: one of these "Since:"
^</message>
</messages>
diff --git a/tests/scanner/annotationparser/gi/tag_stability.xml b/tests/scanner/annotationparser/gi/tag_stability.xml
index ec87b027..ad3ca687 100644
--- a/tests/scanner/annotationparser/gi/tag_stability.xml
+++ b/tests/scanner/annotationparser/gi/tag_stability.xml
@@ -136,7 +136,7 @@
</tags>
</docblock>
<messages>
- <message>5: Warning: Test: multiple 'Stability:' tags for identifier 'test_multiple_tags':
+ <message>5: Error: Test: multiple "Stability:" tags for identifier "test_multiple_tags":
* Stability: Private
^</message>
</messages>