[{ "testCaseDescription": "javascript-function-call-insert-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 27 ] } }, "summary": "Added the 'someFunction(arg1, \"arg2\")' function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index e69de29..8bd95e0 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -0,0 +1 @@", "+someFunction(arg1, \"arg2\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "5ef42771e35b5af39f3befe137fedf40f174a5c7..00b36bff0934786a0071eff76e45c17c464e432a" } ,{ "testCaseDescription": "javascript-function-call-replacement-insert-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 27 ] } }, "summary": "Added the 'someFunction(arg1, \"arg3\")' function call" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 27 ] } }, "summary": "Added the 'someFunction(arg1, \"arg2\")' function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index 8bd95e0..6bb4cf3 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -1 +1,3 @@", "+someFunction(arg1, \"arg3\");", "+someFunction(arg1, \"arg2\");", " someFunction(arg1, \"arg2\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "00b36bff0934786a0071eff76e45c17c464e432a..520cba16d2faea8fd35a81086ea0a0b2405bf082" } ,{ "testCaseDescription": "javascript-function-call-delete-insert-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "replace": [ { "start": [ 1, 20 ], "end": [ 1, 26 ] }, { "start": [ 1, 20 ], "end": [ 1, 26 ] } ] }, "summary": "Replaced the \"arg3\" string with the \"arg2\" string in the someFunction(arg1, \"arg2\") function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index 6bb4cf3..b38c232 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -1,3 +1,3 @@", "-someFunction(arg1, \"arg3\");", "+someFunction(arg1, \"arg2\");", " someFunction(arg1, \"arg2\");", " someFunction(arg1, \"arg2\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "520cba16d2faea8fd35a81086ea0a0b2405bf082..8f84b861874020df6e144f16bbccb5221b1543e4" } ,{ "testCaseDescription": "javascript-function-call-replacement-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "replace": [ { "start": [ 1, 20 ], "end": [ 1, 26 ] }, { "start": [ 1, 20 ], "end": [ 1, 26 ] } ] }, "summary": "Replaced the \"arg2\" string with the \"arg3\" string in the someFunction(arg1, \"arg3\") function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index b38c232..6bb4cf3 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -1,3 +1,3 @@", "-someFunction(arg1, \"arg2\");", "+someFunction(arg1, \"arg3\");", " someFunction(arg1, \"arg2\");", " someFunction(arg1, \"arg2\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "8f84b861874020df6e144f16bbccb5221b1543e4..718e8939aaef9685a140e371b050e8933450a215" } ,{ "testCaseDescription": "javascript-function-call-delete-replacement-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 27 ] } }, "summary": "Deleted the 'someFunction(arg1, \"arg3\")' function call" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 27 ] } }, "summary": "Deleted the 'someFunction(arg1, \"arg2\")' function call" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 27 ] } }, "summary": "Added the 'someFunction(arg1, \"arg3\")' function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index 6bb4cf3..3e15c6a 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -1,3 +1,2 @@", "-someFunction(arg1, \"arg3\");", "-someFunction(arg1, \"arg2\");", " someFunction(arg1, \"arg2\");", "+someFunction(arg1, \"arg3\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "718e8939aaef9685a140e371b050e8933450a215..35112398ed93567a624e79597194400f3a6ba5ed" } ,{ "testCaseDescription": "javascript-function-call-delete-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 27 ] } }, "summary": "Deleted the 'someFunction(arg1, \"arg2\")' function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index 3e15c6a..1add64b 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -1,2 +1 @@", "-someFunction(arg1, \"arg2\");", " someFunction(arg1, \"arg3\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "35112398ed93567a624e79597194400f3a6ba5ed..2928901cff45e08e275b3c7cc5559704326f2974" } ,{ "testCaseDescription": "javascript-function-call-delete-rest-test", "expectedResult": { "changes": { "function-call.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 27 ] } }, "summary": "Deleted the 'someFunction(arg1, \"arg3\")' function call" } ] }, "errors": {} }, "filePaths": [ "function-call.js" ], "patch": [ "diff --git a/function-call.js b/function-call.js", "index 1add64b..e69de29 100644", "--- a/function-call.js", "+++ b/function-call.js", "@@ -1 +0,0 @@", "-someFunction(arg1, \"arg3\");" ], "gitDir": "test/corpus/repos/javascript", "shas": "2928901cff45e08e275b3c7cc5559704326f2974..f8662860eb083b9e95b5cc1c706a7872a4779532" }]