[{ "testCaseDescription": "javascript-named-function-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "that": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 42 ] } }, "summary": "Added the 'myFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "2f00ecb14d10a4cc210b7a56309fc75db90f3b64", "gitDir": "test/corpus/repos/javascript", "sha2": "e87e0464ade6d9ccfcf8858e8360eed0892ac9d2" } ,{ "testCaseDescription": "javascript-named-function-replacement-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "that": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 45 ] } }, "summary": "Added the 'anotherFunction' function", "tag": "JSONSummary" }, { "span": { "that": { "start": [ 2, 1 ], "name": "named-function.js", "end": [ 2, 42 ] } }, "summary": "Added the 'myFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "e87e0464ade6d9ccfcf8858e8360eed0892ac9d2", "gitDir": "test/corpus/repos/javascript", "sha2": "233d845790d1fb1c6914aa56ee916044c1491955" } ,{ "testCaseDescription": "javascript-named-function-delete-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "these": [ { "start": [ 1, 10 ], "name": "named-function.js", "end": [ 1, 25 ] }, { "start": [ 1, 10 ], "name": "named-function.js", "end": [ 1, 20 ] } ] }, "summary": "Replaced the 'anotherFunction' identifier with the 'myFunction' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "that": { "start": [ 1, 21 ], "name": "named-function.js", "end": [ 1, 25 ] } }, "summary": "Added the 'arg1' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "that": { "start": [ 1, 27 ], "name": "named-function.js", "end": [ 1, 31 ] } }, "summary": "Added the 'arg2' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "that": { "start": [ 1, 35 ], "name": "named-function.js", "end": [ 1, 39 ] } }, "summary": "Added the 'arg2' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "this": { "start": [ 1, 30 ], "name": "named-function.js", "end": [ 1, 43 ] } }, "summary": "Deleted the 'false' return statement in the myFunction function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "233d845790d1fb1c6914aa56ee916044c1491955", "gitDir": "test/corpus/repos/javascript", "sha2": "6591af1b718467293fb40094d31d8bcd1bc0a679" } ,{ "testCaseDescription": "javascript-named-function-replacement-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "these": [ { "start": [ 1, 10 ], "name": "named-function.js", "end": [ 1, 20 ] }, { "start": [ 1, 10 ], "name": "named-function.js", "end": [ 1, 25 ] } ] }, "summary": "Replaced the 'myFunction' identifier with the 'anotherFunction' identifier in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "this": { "start": [ 1, 21 ], "name": "named-function.js", "end": [ 1, 25 ] } }, "summary": "Deleted the 'arg1' identifier in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "this": { "start": [ 1, 27 ], "name": "named-function.js", "end": [ 1, 31 ] } }, "summary": "Deleted the 'arg2' identifier in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "that": { "start": [ 1, 30 ], "name": "named-function.js", "end": [ 1, 43 ] } }, "summary": "Added the 'false' return statement in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "this": { "start": [ 1, 35 ], "name": "named-function.js", "end": [ 1, 39 ] } }, "summary": "Deleted the 'arg2' identifier in the anotherFunction function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "6591af1b718467293fb40094d31d8bcd1bc0a679", "gitDir": "test/corpus/repos/javascript", "sha2": "ea7b2d944b9f4b906b750883dc50754096ac197d" } ,{ "testCaseDescription": "javascript-named-function-delete-replacement-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "this": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 45 ] } }, "summary": "Deleted the 'anotherFunction' function", "tag": "JSONSummary" }, { "span": { "this": { "start": [ 2, 1 ], "name": "named-function.js", "end": [ 2, 42 ] } }, "summary": "Deleted the 'myFunction' function", "tag": "JSONSummary" }, { "span": { "that": { "start": [ 2, 1 ], "name": "named-function.js", "end": [ 2, 45 ] } }, "summary": "Added the 'anotherFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "ea7b2d944b9f4b906b750883dc50754096ac197d", "gitDir": "test/corpus/repos/javascript", "sha2": "d5d86035b6457b7e1f55cbe249d2f36cca54ca86" } ,{ "testCaseDescription": "javascript-named-function-delete-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "this": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 42 ] } }, "summary": "Deleted the 'myFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "d5d86035b6457b7e1f55cbe249d2f36cca54ca86", "gitDir": "test/corpus/repos/javascript", "sha2": "ac73db0211c8b73c9ce79a3c730606fdfca84dbe" } ,{ "testCaseDescription": "javascript-named-function-delete-rest-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "this": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 45 ] } }, "summary": "Deleted the 'anotherFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "ac73db0211c8b73c9ce79a3c730606fdfca84dbe", "gitDir": "test/corpus/repos/javascript", "sha2": "6efc7d3ef6f891602e19a27ed0c598e6c5e179ea" }]