src/doc/commands/templates: move `commands_json` to `json_commands`
[nit.git] / src / doc / templates / tests / test_json_commands.sav / test_cmd_lin.res
diff --git a/src/doc/templates/tests/test_json_commands.sav/test_cmd_lin.res b/src/doc/templates/tests/test_json_commands.sav/test_cmd_lin.res
new file mode 100644 (file)
index 0000000..c7ddd5a
--- /dev/null
@@ -0,0 +1,235 @@
+{
+       "results": [{
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "$", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Object$init",
+               "visibility": "public",
+               "modifiers": ["init"],
+               "is_intro": true,
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Race",
+                       "synopsis": "Race determines basic characteristics and what the character will be able to do in life."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Race$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "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": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Human",
+                       "synopsis": "Humans are able to do everithing."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Human$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Elf",
+                       "synopsis": "Elves make good magicians."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Elf$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Warrior",
+                       "synopsis": "Warriors are good for fighting."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Warrior$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Magician",
+                       "synopsis": "Magicians know magic and how to use it."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Magician$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Alcoholic",
+                       "synopsis": "Alcoholics are good to nothing escept taking punches."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Alcoholic$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Character",
+                       "synopsis": "Characters can be played by both the human or the machine."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Character$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }, {
+               "name": "init",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "$", {
+                       "name": "Dwarf",
+                       "synopsis": "Dwarves make strong warriors."
+               }, "$", {
+                       "name": "Object",
+                       "synopsis": "Root of everything."
+               }, "::", {
+                       "name": "init"
+               }],
+               "class_name": "MMethodDef",
+               "full_name": "test_prog$Dwarf$Object::init",
+               "visibility": "public",
+               "modifiers": ["redef", "init"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": null
+               }
+       }],
+       "page": null,
+       "count": null,
+       "limit": null,
+       "max": null
+}