src/doc/commands/templates: move `commands_json` to `json_commands`
[nit.git] / src / doc / templates / tests / test_json_commands.sav / test_cmd_search.res
diff --git a/src/doc/templates/tests/test_json_commands.sav/test_cmd_search.res b/src/doc/templates/tests/test_json_commands.sav/test_cmd_search.res
new file mode 100644 (file)
index 0000000..d58aef9
--- /dev/null
@@ -0,0 +1,175 @@
+{
+       "results": [{
+               "name": "Career",
+               "synopsis": "A `Career` gives a characteristic bonus or malus to the character.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Career",
+                       "synopsis": "A `Career` gives a characteristic bonus or malus to the character."
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Career",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">A <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_t\">Career</span></span></span></code> gives a characteristic bonus or malus to the character.</span>",
+               "modifiers": ["abstract class"]
+       }, {
+               "name": "career",
+               "synopsis": "The current `Career` of the character.",
+               "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": "career",
+                       "synopsis": "The current `Career` of the character."
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Character::career",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">The current <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_t\">Career</span></span></span></code> of the character.</span>",
+               "modifiers": ["fun"],
+               "msignature": {
+                       "arity": 0,
+                       "mparameters": [],
+                       "return_mtype": {
+                               "name": "nullable Career",
+                               "synopsis": "A `Career` gives a characteristic bonus or malus to the character.",
+                               "html_synopsis": "<span class=\"synopsys nitdoc\">A <code class=\"nitcode\"><span class=\"nitcode\"><span class=\"line\"><span class=\"nc_t\">Career</span></span></span></code> gives a characteristic bonus or malus to the character.</span>"
+                       }
+               }
+       }, {
+               "name": "game",
+               "synopsis": "Gaming group",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, ">", {
+                       "name": "game",
+                       "synopsis": "Gaming group"
+               }, ">"],
+               "class_name": "MGroup",
+               "full_name": "test_prog>game>",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Gaming group</span>",
+               "modifiers": ["group"]
+       }, {
+               "name": "game",
+               "synopsis": "A game abstraction for RPG.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "game",
+                       "synopsis": "A game abstraction for RPG."
+               }],
+               "class_name": "MModule",
+               "full_name": "test_prog::game",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">A game abstraction for RPG.</span>",
+               "modifiers": ["module"]
+       }, {
+               "name": "races",
+               "synopsis": "Races of the game.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "races",
+                       "synopsis": "Races of the game."
+               }],
+               "class_name": "MModule",
+               "full_name": "test_prog::races",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Races of the game.</span>",
+               "modifiers": ["module"]
+       }, {
+               "name": "careers",
+               "synopsis": "Careers of the game.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "careers",
+                       "synopsis": "Careers of the game."
+               }],
+               "class_name": "MModule",
+               "full_name": "test_prog::careers",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Careers of the game.</span>",
+               "modifiers": ["module"]
+       }, {
+               "name": "Game",
+               "synopsis": "This is the interface you have to implement to use ure gaming platform.",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Game",
+                       "synopsis": "This is the interface you have to implement to use ure gaming platform."
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Game",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">This is the interface you have to implement to use ure gaming platform.</span>",
+               "modifiers": ["interface"]
+       }, {
+               "name": "Race",
+               "synopsis": "Race determines basic characteristics and what the character will be able to do in life.",
+               "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."
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Race",
+               "visibility": "public",
+               "html_synopsis": "<span class=\"synopsys nitdoc\">Race determines basic characteristics and what the character will be able to do in life.</span>",
+               "modifiers": ["abstract class"]
+       }, {
+               "name": "Starter",
+               "namespace": [{
+                       "name": "test_prog",
+                       "synopsis": "Test program for model tools."
+               }, "::", {
+                       "name": "Starter"
+               }],
+               "class_name": "MClass",
+               "full_name": "test_prog::Starter",
+               "visibility": "public",
+               "modifiers": ["class"]
+       }, {
+               "name": "age",
+               "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": "age"
+               }],
+               "class_name": "MMethod",
+               "full_name": "test_prog::Character::age",
+               "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>"
+                       }
+               }
+       }],
+       "page": 1,
+       "count": 121,
+       "limit": 10,
+       "max": 12
+}