tests: fix model_json output with alphabetical order
[nit.git] / src / model / test_model_json.sav / test_packages_to_full_json.res
1 {
2         "name": "test_prog",
3         "class_name": "MPackage",
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": ["package"],
17         "location": {
18                 "column_end": 0,
19                 "column_start": 0,
20                 "line_end": 0,
21                 "line_start": 0,
22                 "file": "test_location"
23         },
24         "root": {
25                 "full_name": "test_prog>"
26         },
27         "mgroups": [{
28                 "full_name": "test_prog>game>"
29         }, {
30                 "full_name": "test_prog>platform>"
31         }, {
32                 "full_name": "test_prog>rpg>"
33         }, {
34                 "full_name": "test_prog>"
35         }],
36         "ini": {
37                 "upstream.issues": "https://github.com/nitlang/nit/issues",
38                 "upstream.homepage": "http://nitlanguage.org",
39                 "upstream.git.directory": "tests/test_prog",
40                 "upstream.browse": "https://github.com/nitlang/nit/tree/master/tests/test_prog",
41                 "source.exclude": "game/excluded.nit:game/excluded_dir",
42                 "package.license": "Apache-2.0",
43                 "package.more_contributors": "Riri <riri@example.com>, Fifi (http://www.example.com/~fifi), Loulou",
44                 "package.maintainer": "John Doe <jdoe@example.com> (http://www.example.com/~jdoe), Spider-Man",
45                 "package.tags": "test,game",
46                 "package.version": "0.1",
47                 "package.name": "test_prog"
48         }
49 }
50 {
51         "name": "excluded",
52         "class_name": "MPackage",
53         "full_name": "excluded",
54         "mdoc": null,
55         "visibility": "public",
56         "modifiers": ["package"],
57         "location": {
58                 "column_end": 0,
59                 "column_start": 0,
60                 "line_end": 0,
61                 "line_start": 0,
62                 "file": "test_location"
63         },
64         "root": {
65                 "full_name": "excluded>"
66         },
67         "mgroups": [{
68                 "full_name": "excluded>"
69         }]
70 }