[{ "testCaseDescription": "javascript-chained-callbacks-insert-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 39 ] } }, "summary": "Added the 'this.map(…)' method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "1865c22f682da9c138bef45e2387721bf89f8b2b", "gitDir": "test/corpus/repos/javascript", "sha2": "4993a06d31de2ee6e298a9976eb0543211a2e48a" } ,{ "testCaseDescription": "javascript-chained-callbacks-replacement-insert-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 42 ] } }, "summary": "Added the 'this.reduce(…)' method call" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 39 ] } }, "summary": "Added the 'this.map(…)' method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "4993a06d31de2ee6e298a9976eb0543211a2e48a", "gitDir": "test/corpus/repos/javascript", "sha2": "2e2c683a3463b8c2905fdb3805a09028e326f0c6" } ,{ "testCaseDescription": "javascript-chained-callbacks-delete-insert-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "replace": [ { "start": [ 1, 6 ], "end": [ 1, 12 ] }, { "start": [ 1, 6 ], "end": [ 1, 9 ] } ] }, "summary": "Replaced the 'reduce' identifier with the 'map' identifier in the this.map(…) method call" }, { "span": { "replace": [ { "start": [ 1, 35 ], "end": [ 1, 36 ] }, { "start": [ 1, 32 ], "end": [ 1, 33 ] } ] }, "summary": "Replaced the 'b' identifier with the 'a' identifier in the this.map(…) method call" }, { "span": { "replace": [ { "start": [ 1, 37 ], "end": [ 1, 38 ] }, { "start": [ 1, 34 ], "end": [ 1, 35 ] } ] }, "summary": "Replaced the 'a' identifier with the 'b' identifier in the this.map(…) method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "2e2c683a3463b8c2905fdb3805a09028e326f0c6", "gitDir": "test/corpus/repos/javascript", "sha2": "9b71d27ed9e91daf4499ee22c858caddd7deb319" } ,{ "testCaseDescription": "javascript-chained-callbacks-replacement-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "replace": [ { "start": [ 1, 6 ], "end": [ 1, 9 ] }, { "start": [ 1, 6 ], "end": [ 1, 12 ] } ] }, "summary": "Replaced the 'map' identifier with the 'reduce' identifier in the this.reduce(…) method call" }, { "span": { "replace": [ { "start": [ 1, 32 ], "end": [ 1, 33 ] }, { "start": [ 1, 35 ], "end": [ 1, 36 ] } ] }, "summary": "Replaced the 'a' identifier with the 'b' identifier in the this.reduce(…) method call" }, { "span": { "replace": [ { "start": [ 1, 34 ], "end": [ 1, 35 ] }, { "start": [ 1, 37 ], "end": [ 1, 38 ] } ] }, "summary": "Replaced the 'b' identifier with the 'a' identifier in the this.reduce(…) method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "9b71d27ed9e91daf4499ee22c858caddd7deb319", "gitDir": "test/corpus/repos/javascript", "sha2": "61004874a11330455392eb2b212a7536f7967afe" } ,{ "testCaseDescription": "javascript-chained-callbacks-delete-replacement-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 42 ] } }, "summary": "Deleted the 'this.reduce(…)' method call" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 39 ] } }, "summary": "Deleted the 'this.map(…)' method call" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 42 ] } }, "summary": "Added the 'this.reduce(…)' method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "61004874a11330455392eb2b212a7536f7967afe", "gitDir": "test/corpus/repos/javascript", "sha2": "dfde43f0d95cbe1f88f9c81d6e39defae8a2f289" } ,{ "testCaseDescription": "javascript-chained-callbacks-delete-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 39 ] } }, "summary": "Deleted the 'this.map(…)' method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "dfde43f0d95cbe1f88f9c81d6e39defae8a2f289", "gitDir": "test/corpus/repos/javascript", "sha2": "ca0b4715b7ec98cb02ba3984a73d0cdc3e8c030f" } ,{ "testCaseDescription": "javascript-chained-callbacks-delete-rest-test", "expectedResult": { "changes": { "chained-callbacks.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 42 ] } }, "summary": "Deleted the 'this.reduce(…)' method call" } ] }, "errors": {} }, "filePaths": [ "chained-callbacks.js" ], "sha1": "ca0b4715b7ec98cb02ba3984a73d0cdc3e8c030f", "gitDir": "test/corpus/repos/javascript", "sha2": "20c0101515fea6bdc19c425a3457aab307bb1afe" }]