src/doc/commands/templates: move `commands_json` to `json_commands`
[nit.git] / src / doc / templates / tests / test_json_commands.sav / test_cmd_features.res
diff --git a/src/doc/templates/tests/test_json_commands.sav/test_cmd_features.res b/src/doc/templates/tests/test_json_commands.sav/test_cmd_features.res
new file mode 100644 (file)
index 0000000..e483a2e
--- /dev/null
@@ -0,0 +1,255 @@
+{
+       "results": [{
+               "name": "_endurance_bonus",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "careers",
+                       "synopsis": "Careers of the game."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "_endurance_bonus"
+               }],
+               "class_name": "MAttribute",
+               "full_name": "test_prog::careers::Career::_endurance_bonus",
+               "visibility": "private",
+               "modifiers": ["private", "var"],
+               "static_mtype": {
+                       "name": "Int",
+                       "synopsis": "Some services about Integers.",
+                       "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+               }
+       }, {
+               "name": "_intelligence_bonus",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "careers",
+                       "synopsis": "Careers of the game."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "_intelligence_bonus"
+               }],
+               "class_name": "MAttribute",
+               "full_name": "test_prog::careers::Career::_intelligence_bonus",
+               "visibility": "private",
+               "modifiers": ["private", "var"],
+               "static_mtype": {
+                       "name": "Int",
+                       "synopsis": "Some services about Integers.",
+                       "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+               }
+       }, {
+               "name": "_strength_bonus",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "careers",
+                       "synopsis": "Careers of the game."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "_strength_bonus"
+               }],
+               "class_name": "MAttribute",
+               "full_name": "test_prog::careers::Career::_strength_bonus",
+               "visibility": "private",
+               "modifiers": ["private", "var"],
+               "static_mtype": {
+                       "name": "Int",
+                       "synopsis": "Some services about Integers.",
+                       "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+               }
+       }, {
+               "name": "endurance_bonus",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "endurance_bonus"
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Career::endurance_bonus",
+               "visibility": "public",
+               "modifiers": ["fun"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": {
+                               "name": "Int",
+                               "synopsis": "Some services about Integers.",
+                               "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+                       }
+               }
+       }, {
+               "name": "endurance_bonus=",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "endurance_bonus="
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Career::endurance_bonus=",
+               "visibility": "protected",
+               "modifiers": ["protected", "fun"],
+               "msignature": {
+                       "arity": 1,
+                       "mparameters": [{
+                               "is_vararg": false,
+                               "name": "endurance_bonus",
+                               "mtype": {
+                                       "name": "Int",
+                                       "synopsis": "Some services about Integers.",
+                                       "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+                               }
+                       }],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Career$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "intelligence_bonus",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "intelligence_bonus"
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Career::intelligence_bonus",
+               "visibility": "public",
+               "modifiers": ["fun"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": {
+                               "name": "Int",
+                               "synopsis": "Some services about Integers.",
+                               "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+                       }
+               }
+       }, {
+               "name": "intelligence_bonus=",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "intelligence_bonus="
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Career::intelligence_bonus=",
+               "visibility": "protected",
+               "modifiers": ["protected", "fun"],
+               "msignature": {
+                       "arity": 1,
+                       "mparameters": [{
+                               "is_vararg": false,
+                               "name": "intelligence_bonus",
+                               "mtype": {
+                                       "name": "Int",
+                                       "synopsis": "Some services about Integers.",
+                                       "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+                               }
+                       }],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "strength_bonus",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "strength_bonus"
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Career::strength_bonus",
+               "visibility": "public",
+               "modifiers": ["fun"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": {
+                               "name": "Int",
+                               "synopsis": "Some services about Integers.",
+                               "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+                       }
+               }
+       }, {
+               "name": "strength_bonus=",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }, "::", {
+                       "name": "strength_bonus="
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Career::strength_bonus=",
+               "visibility": "protected",
+               "modifiers": ["protected", "fun"],
+               "msignature": {
+                       "arity": 1,
+                       "mparameters": [{
+                               "is_vararg": false,
+                               "name": "strength_bonus",
+                               "mtype": {
+                                       "name": "Int",
+                                       "synopsis": "Some services about Integers.",
+                                       "html_synopsis": "<span class=\"synopsys nitdoc\">Some services about Integers.</span>"
+                               }
+                       }],
+                       "return_mtype": null
+               }
+       }],
+       "page": null,
+       "count": null,
+       "limit": null,
+       "max": null
+}