blob: b8de9c847f6e22e3feeba260a2db32542fcf3223 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
<?xml version="1.0" encoding="UTF-8"?>
<tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">
<test>
<!--
Identifier part not on the first line.
-->
<input>/**
* This is not a valid section identifier
* SECTION:test_invalid_section_identifier
*
* Above identifier is not on the first line.
**/</input>
<parser>
<docblock>
<identifier>
<name>SECTION:test_invalid_section_identifier</name>
</identifier>
<description>Above identifier is not on the first line.</description>
</docblock>
<messages>
<message>2: Warning: Test: identifier not found on the first line:
* This is not a valid section identifier
^</message>
</messages>
</parser>
</test>
<test>
<!--
Identifier part not on the first line.
-->
<input>/**
* SECTION:meepapp
*/</input>
<parser>
<docblock>
<identifier>
<name>SECTION:meepapp</name>
</identifier>
</docblock>
<messages>
<message>2: Warning: Test: identifier not found on the first line:
^</message>
</messages>
</parser>
</test>
<test>
<!--
Multiple identifier parts
-->
<input>/**
* SECTION:meepapp
* SECTION:meepapp2
* @short_description: the application class
*
* The application class handles ...
*/</input>
<parser>
<docblock>
<identifier>
<name>SECTION:meepapp</name>
</identifier>
<parameters>
<parameter>
<name>short_description</name>
<description>the application class</description>
</parameter>
</parameters>
<description>SECTION:meepapp2
The application class handles ...</description>
</docblock>
</parser>
</test>
<test>
<!--
Invalid identifier
-->
<input>/**
* gnm_cell_set_expr_and_value: Stores (WITHOUT COPYING) the supplied value, and
* references the supplied expression and links it into the expression
* list. It marks the sheet as dirty. It is intended for use by import
* routines or operations that do bulk assignment.
*
* WARNING : This is an internal routine that does not queue redraws,
* does not auto-resize, does not calculate spans, and does
* not render the value.
*
* NOTE : This DOES check for array partitioning.
*/</input>
<parser>
<messages>
<message>2: Warning: Test: identifier not found on the first line:
* gnm_cell_set_expr_and_value: Stores (WITHOUT COPYING) the supplied value, and
^</message>
</messages>
</parser>
</test>
</tests>
|