[{ "testCaseDescription": "javascript-named-function-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "insert": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 42 ] } }, "summary": "Added the 'myFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "2757c3a3cfdea7d078af6cd6c05b4355fff8b112", "gitDir": "test/corpus/repos/javascript", "sha2": "661e1891e62dd3ea75b4ba1f716cf5ac3244b54a" } ,{ "testCaseDescription": "javascript-named-function-replacement-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "insert": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 45 ] } }, "summary": "Added the 'anotherFunction' function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 2, 1 ], "name": "named-function.js", "end": [ 2, 42 ] } }, "summary": "Added the 'myFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "661e1891e62dd3ea75b4ba1f716cf5ac3244b54a", "gitDir": "test/corpus/repos/javascript", "sha2": "10d7a7acaf524aaf2538b4cf464b62ad3bb8cb73" } ,{ "testCaseDescription": "javascript-named-function-delete-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "replace": [ { "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": { "insert": { "start": [ 1, 21 ], "name": "named-function.js", "end": [ 1, 25 ] } }, "summary": "Added the 'arg1' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 1, 27 ], "name": "named-function.js", "end": [ 1, 31 ] } }, "summary": "Added the 'arg2' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 1, 35 ], "name": "named-function.js", "end": [ 1, 39 ] } }, "summary": "Added the 'arg2' identifier in the myFunction function", "tag": "JSONSummary" }, { "span": { "delete": { "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": "10d7a7acaf524aaf2538b4cf464b62ad3bb8cb73", "gitDir": "test/corpus/repos/javascript", "sha2": "4fe44583a5a229765f67c4550e2e2a44fe5b910d" } ,{ "testCaseDescription": "javascript-named-function-replacement-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "replace": [ { "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": { "delete": { "start": [ 1, 21 ], "name": "named-function.js", "end": [ 1, 25 ] } }, "summary": "Deleted the 'arg1' identifier in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "delete": { "start": [ 1, 27 ], "name": "named-function.js", "end": [ 1, 31 ] } }, "summary": "Deleted the 'arg2' identifier in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 1, 30 ], "name": "named-function.js", "end": [ 1, 43 ] } }, "summary": "Added the 'false' return statement in the anotherFunction function", "tag": "JSONSummary" }, { "span": { "delete": { "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": "4fe44583a5a229765f67c4550e2e2a44fe5b910d", "gitDir": "test/corpus/repos/javascript", "sha2": "cfb65cb4c10bef064b3811d6d74daa567401b303" } ,{ "testCaseDescription": "javascript-named-function-delete-replacement-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 45 ] } }, "summary": "Deleted the 'anotherFunction' function", "tag": "JSONSummary" }, { "span": { "delete": { "start": [ 2, 1 ], "name": "named-function.js", "end": [ 2, 42 ] } }, "summary": "Deleted the 'myFunction' function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 2, 1 ], "name": "named-function.js", "end": [ 2, 45 ] } }, "summary": "Added the 'anotherFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "cfb65cb4c10bef064b3811d6d74daa567401b303", "gitDir": "test/corpus/repos/javascript", "sha2": "1fee1c5ce1f374dd5f6fc565a5a95e51c849368f" } ,{ "testCaseDescription": "javascript-named-function-delete-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 42 ] } }, "summary": "Deleted the 'myFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "1fee1c5ce1f374dd5f6fc565a5a95e51c849368f", "gitDir": "test/corpus/repos/javascript", "sha2": "f4a8c0642e5045127f2f450d9762276ffcb136b2" } ,{ "testCaseDescription": "javascript-named-function-delete-rest-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "name": "named-function.js", "end": [ 1, 45 ] } }, "summary": "Deleted the 'anotherFunction' function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "f4a8c0642e5045127f2f450d9762276ffcb136b2", "gitDir": "test/corpus/repos/javascript", "sha2": "035ebadb21075a55367b83c380264365799ac421" }]