tests: Fix tests
[nit.git] / src / doc / templates / tests / test_json_commands.sav / test_cmd_features.res
1 {
2         "results": [{
3                 "name": "_endurance_bonus",
4                 "namespace": [{
5                         "name": "test_prog",
6                         "synopsis": "Test program for model tools."
7                 }, "::", {
8                         "name": "careers",
9                         "synopsis": "Careers of the game."
10                 }, "::", {
11                         "name": "Career",
12                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
13                 }, "::", {
14                         "name": "_endurance_bonus"
15                 }],
16                 "class_name": "MAttribute",
17                 "full_name": "test_prog::careers::Career::_endurance_bonus",
18                 "visibility": "private",
19                 "modifiers": ["private", "var"],
20                 "static_mtype": {
21                         "name": "Int",
22                         "synopsis": "Some services about Integers.",
23                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
24                 }
25         }, {
26                 "name": "_intelligence_bonus",
27                 "namespace": [{
28                         "name": "test_prog",
29                         "synopsis": "Test program for model tools."
30                 }, "::", {
31                         "name": "careers",
32                         "synopsis": "Careers of the game."
33                 }, "::", {
34                         "name": "Career",
35                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
36                 }, "::", {
37                         "name": "_intelligence_bonus"
38                 }],
39                 "class_name": "MAttribute",
40                 "full_name": "test_prog::careers::Career::_intelligence_bonus",
41                 "visibility": "private",
42                 "modifiers": ["private", "var"],
43                 "static_mtype": {
44                         "name": "Int",
45                         "synopsis": "Some services about Integers.",
46                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
47                 }
48         }, {
49                 "name": "_strength_bonus",
50                 "namespace": [{
51                         "name": "test_prog",
52                         "synopsis": "Test program for model tools."
53                 }, "::", {
54                         "name": "careers",
55                         "synopsis": "Careers of the game."
56                 }, "::", {
57                         "name": "Career",
58                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
59                 }, "::", {
60                         "name": "_strength_bonus"
61                 }],
62                 "class_name": "MAttribute",
63                 "full_name": "test_prog::careers::Career::_strength_bonus",
64                 "visibility": "private",
65                 "modifiers": ["private", "var"],
66                 "static_mtype": {
67                         "name": "Int",
68                         "synopsis": "Some services about Integers.",
69                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
70                 }
71         }, {
72                 "name": "defaultinit",
73                 "namespace": [{
74                         "name": "test_prog",
75                         "synopsis": "Test program for model tools."
76                 }, "::", {
77                         "name": "Career",
78                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
79                 }, "::", {
80                         "name": "defaultinit"
81                 }],
82                 "class_name": "MMethod",
83                 "full_name": "test_prog::Career::defaultinit",
84                 "visibility": "public",
85                 "modifiers": ["init"],
86                 "is_init": true,
87                 "msignature": {
88                         "arity": 3,
89                         "mparameters": [{
90                                 "is_vararg": false,
91                                 "name": "strength_bonus",
92                                 "mtype": {
93                                         "name": "Int",
94                                         "synopsis": "Some services about Integers.",
95                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
96                                 }
97                         }, {
98                                 "is_vararg": false,
99                                 "name": "endurance_bonus",
100                                 "mtype": {
101                                         "name": "Int",
102                                         "synopsis": "Some services about Integers.",
103                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
104                                 }
105                         }, {
106                                 "is_vararg": false,
107                                 "name": "intelligence_bonus",
108                                 "mtype": {
109                                         "name": "Int",
110                                         "synopsis": "Some services about Integers.",
111                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
112                                 }
113                         }],
114                         "return_mtype": null
115                 }
116         }, {
117                 "name": "endurance_bonus",
118                 "namespace": [{
119                         "name": "test_prog",
120                         "synopsis": "Test program for model tools."
121                 }, "::", {
122                         "name": "Career",
123                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
124                 }, "::", {
125                         "name": "endurance_bonus"
126                 }],
127                 "class_name": "MMethod",
128                 "full_name": "test_prog::Career::endurance_bonus",
129                 "visibility": "public",
130                 "modifiers": ["fun"],
131                 "msignature": {
132                         "arity": 0,
133                         "mparameters": [],
134                         "return_mtype": {
135                                 "name": "Int",
136                                 "synopsis": "Some services about Integers.",
137                                 "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
138                         }
139                 }
140         }, {
141                 "name": "endurance_bonus=",
142                 "namespace": [{
143                         "name": "test_prog",
144                         "synopsis": "Test program for model tools."
145                 }, "::", {
146                         "name": "Career",
147                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
148                 }, "::", {
149                         "name": "endurance_bonus="
150                 }],
151                 "class_name": "MMethod",
152                 "full_name": "test_prog::Career::endurance_bonus=",
153                 "visibility": "protected",
154                 "modifiers": ["protected", "fun"],
155                 "msignature": {
156                         "arity": 1,
157                         "mparameters": [{
158                                 "is_vararg": false,
159                                 "name": "endurance_bonus",
160                                 "mtype": {
161                                         "name": "Int",
162                                         "synopsis": "Some services about Integers.",
163                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
164                                 }
165                         }],
166                         "return_mtype": null
167                 }
168         }, {
169                 "name": "init",
170                 "namespace": [{
171                         "name": "test_prog",
172                         "synopsis": "Test program for model tools."
173                 }, "$", {
174                         "name": "Career",
175                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
176                 }, "$", {
177                         "name": "Object",
178                         "synopsis": "Root of everything."
179                 }, "::", {
180                         "name": "init"
181                 }],
182                 "class_name": "MMethodDef",
183                 "full_name": "test_prog$Career$Object::init",
184                 "visibility": "public",
185                 "modifiers": ["redef", "init"],
186                 "msignature": {
187                         "arity": 0,
188                         "mparameters": [],
189                         "return_mtype": null
190                 }
191         }, {
192                 "name": "intelligence_bonus",
193                 "namespace": [{
194                         "name": "test_prog",
195                         "synopsis": "Test program for model tools."
196                 }, "::", {
197                         "name": "Career",
198                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
199                 }, "::", {
200                         "name": "intelligence_bonus"
201                 }],
202                 "class_name": "MMethod",
203                 "full_name": "test_prog::Career::intelligence_bonus",
204                 "visibility": "public",
205                 "modifiers": ["fun"],
206                 "msignature": {
207                         "arity": 0,
208                         "mparameters": [],
209                         "return_mtype": {
210                                 "name": "Int",
211                                 "synopsis": "Some services about Integers.",
212                                 "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
213                         }
214                 }
215         }, {
216                 "name": "intelligence_bonus=",
217                 "namespace": [{
218                         "name": "test_prog",
219                         "synopsis": "Test program for model tools."
220                 }, "::", {
221                         "name": "Career",
222                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
223                 }, "::", {
224                         "name": "intelligence_bonus="
225                 }],
226                 "class_name": "MMethod",
227                 "full_name": "test_prog::Career::intelligence_bonus=",
228                 "visibility": "protected",
229                 "modifiers": ["protected", "fun"],
230                 "msignature": {
231                         "arity": 1,
232                         "mparameters": [{
233                                 "is_vararg": false,
234                                 "name": "intelligence_bonus",
235                                 "mtype": {
236                                         "name": "Int",
237                                         "synopsis": "Some services about Integers.",
238                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
239                                 }
240                         }],
241                         "return_mtype": null
242                 }
243         }, {
244                 "name": "strength_bonus",
245                 "namespace": [{
246                         "name": "test_prog",
247                         "synopsis": "Test program for model tools."
248                 }, "::", {
249                         "name": "Career",
250                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
251                 }, "::", {
252                         "name": "strength_bonus"
253                 }],
254                 "class_name": "MMethod",
255                 "full_name": "test_prog::Career::strength_bonus",
256                 "visibility": "public",
257                 "modifiers": ["fun"],
258                 "msignature": {
259                         "arity": 0,
260                         "mparameters": [],
261                         "return_mtype": {
262                                 "name": "Int",
263                                 "synopsis": "Some services about Integers.",
264                                 "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
265                         }
266                 }
267         }, {
268                 "name": "strength_bonus=",
269                 "namespace": [{
270                         "name": "test_prog",
271                         "synopsis": "Test program for model tools."
272                 }, "::", {
273                         "name": "Career",
274                         "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
275                 }, "::", {
276                         "name": "strength_bonus="
277                 }],
278                 "class_name": "MMethod",
279                 "full_name": "test_prog::Career::strength_bonus=",
280                 "visibility": "protected",
281                 "modifiers": ["protected", "fun"],
282                 "msignature": {
283                         "arity": 1,
284                         "mparameters": [{
285                                 "is_vararg": false,
286                                 "name": "strength_bonus",
287                                 "mtype": {
288                                         "name": "Int",
289                                         "synopsis": "Some services about Integers.",
290                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
291                                 }
292                         }],
293                         "return_mtype": null
294                 }
295         }],
296         "page": null,
297         "count": null,
298         "limit": null,
299         "max": null
300 }