model: add nitunit for model_json
[nit.git] / src / model / test_model_json.sav / test_groups_to_full_json.res
1 {
2         "name": "test_prog",
3         "class_name": "MGroup",
4         "full_name": "test_prog>",
5         "mdoc": {
6                 "content": "Test program for model tools.\n\nThis program creates a fake model that can be used to test tools like:\n\n* `nitdoc`\n* `nitmetrics`\n* `nitx`\n* or others `modelbuilder`.\n\nAn image:\n\n![Tinks3D](../../contrib/tinks/doc/tinks3d.png)",
7                 "location": {
8                         "column_end": 0,
9                         "column_start": 0,
10                         "line_end": 12,
11                         "line_start": 1,
12                         "file": "test_location"
13                 }
14         },
15         "visibility": "public",
16         "modifiers": ["group"],
17         "location": {
18                 "column_end": 0,
19                 "column_start": 0,
20                 "line_end": 0,
21                 "line_start": 0,
22                 "file": "test_location"
23         },
24         "is_root": true,
25         "mpackage": {
26                 "full_name": "test_prog"
27         },
28         "default_mmodule": {
29                 "full_name": "test_prog::test_prog"
30         },
31         "parent": null,
32         "mmodules": [{
33                 "full_name": "test_prog::test_prog"
34         }],
35         "mgroups": [{
36                 "full_name": "test_prog>game>"
37         }, {
38                 "full_name": "test_prog>platform>"
39         }, {
40                 "full_name": "test_prog>rpg>"
41         }]
42 }
43 {
44         "name": "game",
45         "class_name": "MGroup",
46         "full_name": "test_prog>game>",
47         "mdoc": {
48                 "content": "Gaming group",
49                 "location": {
50                         "column_end": 0,
51                         "column_start": 0,
52                         "line_end": 1,
53                         "line_start": 1,
54                         "file": "test_location"
55                 }
56         },
57         "visibility": "public",
58         "modifiers": ["group"],
59         "location": {
60                 "column_end": 0,
61                 "column_start": 0,
62                 "line_end": 0,
63                 "line_start": 0,
64                 "file": "test_location"
65         },
66         "is_root": false,
67         "mpackage": {
68                 "full_name": "test_prog"
69         },
70         "default_mmodule": {
71                 "full_name": "test_prog::game"
72         },
73         "parent": {
74                 "full_name": "test_prog>"
75         },
76         "mmodules": [{
77                 "full_name": "test_prog::game"
78         }],
79         "mgroups": []
80 }
81 {
82         "name": "platform",
83         "class_name": "MGroup",
84         "full_name": "test_prog>platform>",
85         "mdoc": {
86                 "content": "Fictive Crappy Platform.",
87                 "location": {
88                         "column_end": 0,
89                         "column_start": 0,
90                         "line_end": 1,
91                         "line_start": 1,
92                         "file": "test_location"
93                 }
94         },
95         "visibility": "public",
96         "modifiers": ["group"],
97         "location": {
98                 "column_end": 0,
99                 "column_start": 0,
100                 "line_end": 0,
101                 "line_start": 0,
102                 "file": "test_location"
103         },
104         "is_root": false,
105         "mpackage": {
106                 "full_name": "test_prog"
107         },
108         "default_mmodule": {
109                 "full_name": "test_prog::platform"
110         },
111         "parent": {
112                 "full_name": "test_prog>"
113         },
114         "mmodules": [{
115                 "full_name": "test_prog::platform"
116         }],
117         "mgroups": []
118 }
119 {
120         "name": "rpg",
121         "class_name": "MGroup",
122         "full_name": "test_prog>rpg>",
123         "mdoc": {
124                 "content": "Role Playing Game group",
125                 "location": {
126                         "column_end": 0,
127                         "column_start": 0,
128                         "line_end": 1,
129                         "line_start": 1,
130                         "file": "test_location"
131                 }
132         },
133         "visibility": "public",
134         "modifiers": ["group"],
135         "location": {
136                 "column_end": 0,
137                 "column_start": 0,
138                 "line_end": 0,
139                 "line_start": 0,
140                 "file": "test_location"
141         },
142         "is_root": false,
143         "mpackage": {
144                 "full_name": "test_prog"
145         },
146         "default_mmodule": {
147                 "full_name": "test_prog::rpg"
148         },
149         "parent": {
150                 "full_name": "test_prog>"
151         },
152         "mmodules": [{
153                 "full_name": "test_prog::careers"
154         }, {
155                 "full_name": "test_prog::character"
156         }, {
157                 "full_name": "test_prog::combat"
158         }, {
159                 "full_name": "test_prog::races"
160         }, {
161                 "full_name": "test_prog::rpg"
162         }],
163         "mgroups": []
164 }
165 {
166         "name": "excluded",
167         "class_name": "MGroup",
168         "full_name": "excluded>",
169         "mdoc": null,
170         "visibility": "public",
171         "modifiers": ["group"],
172         "location": {
173                 "column_end": 0,
174                 "column_start": 0,
175                 "line_end": 0,
176                 "line_start": 0,
177                 "file": "test_location"
178         },
179         "is_root": true,
180         "mpackage": {
181                 "full_name": "excluded"
182         },
183         "default_mmodule": {
184                 "full_name": "excluded::excluded"
185         },
186         "parent": null,
187         "mmodules": [{
188                 "full_name": "excluded::excluded"
189         }],
190         "mgroups": []
191 }