tests: Fix tests
[nit.git] / src / doc / templates / tests / test_json_commands.sav / test_cmd_call.res
1 {
2         "results": [{
3                 "name": "defaultinit",
4                 "namespace": [{
5                         "name": "test_prog",
6                         "synopsis": "Test program for model tools."
7                 }, "$", {
8                         "name": "Character",
9                         "synopsis": "Characters can be played by both the human or the machine."
10                 }, "$", {
11                         "name": "defaultinit"
12                 }],
13                 "class_name": "MMethodDef",
14                 "full_name": "test_prog$Character$defaultinit",
15                 "visibility": "public",
16                 "modifiers": ["init"],
17                 "is_intro": true,
18                 "msignature": {
19                         "arity": 4,
20                         "mparameters": [{
21                                 "is_vararg": false,
22                                 "name": "race",
23                                 "mtype": {
24                                         "name": "Race",
25                                         "synopsis": "Race determines basic characteristics and what the character will be able to do in life.",
26                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Race determines basic characteristics and what the character will be able to do in life.</span>"
27                                 }
28                         }, {
29                                 "is_vararg": false,
30                                 "name": "name",
31                                 "mtype": {
32                                         "name": "String",
33                                         "synopsis": "Strings (there is no chars...).",
34                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Strings (there is no chars...).</span>"
35                                 }
36                         }, {
37                                 "is_vararg": false,
38                                 "name": "age",
39                                 "mtype": {
40                                         "name": "Int",
41                                         "synopsis": "Some services about Integers.",
42                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
43                                 }
44                         }, {
45                                 "is_vararg": false,
46                                 "name": "sex",
47                                 "mtype": {
48                                         "name": "Bool",
49                                         "synopsis": "Booleans, `true` or `false`.",
50                                         "html_synopsis": "<span class=\"synopsis nitdoc\">Booleans, <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_k\">true</span></span></span></code> or <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_k\">false</span></span></span></code>.</span>"
51                                 }
52                         }],
53                         "return_mtype": null
54                 }
55         }, {
56                 "name": "total_strengh",
57                 "synopsis": "The actual strength of the character.",
58                 "namespace": [{
59                         "name": "test_prog",
60                         "synopsis": "Test program for model tools."
61                 }, "$", {
62                         "name": "Character",
63                         "synopsis": "Characters can be played by both the human or the machine."
64                 }, "$", {
65                         "name": "total_strengh",
66                         "synopsis": "The actual strength of the character."
67                 }],
68                 "class_name": "MMethodDef",
69                 "full_name": "test_prog$Character$total_strengh",
70                 "visibility": "public",
71                 "html_synopsis": "<span class=\"synopsis nitdoc\">The actual strength of the character.</span>",
72                 "modifiers": ["fun"],
73                 "is_intro": true,
74                 "msignature": {
75                         "arity": 0,
76                         "mparameters": [],
77                         "return_mtype": {
78                                 "name": "Int",
79                                 "synopsis": "Some services about Integers.",
80                                 "html_synopsis": "<span class=\"synopsis nitdoc\">Some services about Integers.</span>"
81                         }
82                 }
83         }],
84         "page": null,
85         "count": null,
86         "limit": null,
87         "max": null
88 }