src/doc/commands/templates: rename `templates_json` in `json_model`
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 22 Jun 2018 03:54:06 +0000 (23:54 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 22 Jun 2018 14:47:10 +0000 (10:47 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

src/doc/commands/commands_json.nit
src/doc/templates/json_model.nit [moved from src/doc/templates/templates_json.nit with 99% similarity]
src/doc/templates/tests/test_json_model.nit [moved from src/doc/templates/tests/test_templates_json.nit with 98% similarity]
src/doc/templates/tests/test_json_model.sav/test_classdefs_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_classdefs_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_classes_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_classes_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_groups_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_groups_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_modules_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_modules_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_packages_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_packages_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_propdefs_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_propdefs_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_props_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_props_to_full_json.res with 100% similarity]
src/doc/templates/tests/test_json_model.sav/test_refs_to_full_json.res [moved from src/doc/templates/tests/test_templates_json.sav/test_refs_to_full_json.res with 100% similarity]

index e4a1020..9f197d7 100644 (file)
@@ -21,7 +21,7 @@ import commands_ini
 import commands_main
 import commands_usage
 
-import templates::templates_json
+import templates::json_model
 import json::static
 
 redef class DocCommand
similarity index 99%
rename from src/doc/templates/templates_json.nit
rename to src/doc/templates/json_model.nit
index 4c17b7f..b91a237 100644 (file)
@@ -22,7 +22,7 @@
 # rather than the refs.
 #
 # TODO consider serialization module?
-module templates_json
+module json_model
 
 import model::model_collect
 import json::serialization_write
@@ -12,9 +12,9 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-module test_templates_json is test
+module test_json_model is test
 
-import templates_json
+import json_model
 import frontend
 
 class TestModelSerialization