src/doc/commands/templates: move `commands_json` to `json_commands`
[nit.git] / src / doc / templates / tests / test_json_commands.sav / test_cmd_descendants.res
diff --git a/src/doc/templates/tests/test_json_commands.sav/test_cmd_descendants.res b/src/doc/templates/tests/test_json_commands.sav/test_cmd_descendants.res
new file mode 100644 (file)
index 0000000..0f1dd96
--- /dev/null
@@ -0,0 +1,52 @@
+{
+       "results": [{
+               "name": "Alcoholic",
+               "synopsis": "Alcoholics are good to nothing escept taking punches.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Alcoholic",
+                       "synopsis": "Alcoholics are good to nothing escept taking punches."
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Alcoholic",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Alcoholics are good to nothing escept taking punches.</span>",
+               "modifiers": ["class"]
+       }, {
+               "name": "Magician",
+               "synopsis": "Magicians know magic and how to use it.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Magician",
+                       "synopsis": "Magicians know magic and how to use it."
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Magician",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Magicians know magic and how to use it.</span>",
+               "modifiers": ["class"]
+       }, {
+               "name": "Warrior",
+               "synopsis": "Warriors are good for fighting.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Warrior",
+                       "synopsis": "Warriors are good for fighting."
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Warrior",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Warriors are good for fighting.</span>",
+               "modifiers": ["class"]
+       }],
+       "page": null,
+       "count": null,
+       "limit": null,
+       "max": null
+}