1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/javascript/function-call.json
2016-10-10 12:39:22 -05:00

123 lines
3.7 KiB
JSON

[{
"testCaseDescription": "javascript-function-call-insert-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Added the 'someFunction(arg1, \"arg2\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "02a4359be6bd61fda44a630f5fc45b128920fc59",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cf071100e24015151111f18049d8555921235e7e"
}
,{
"testCaseDescription": "javascript-function-call-replacement-insert-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Added the 'someFunction(arg1, \"arg3\")' function call",
"Added the 'someFunction(arg1, \"arg2\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "cf071100e24015151111f18049d8555921235e7e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d9ee66dc92a274912d2d476b728a681fbe2d50e8"
}
,{
"testCaseDescription": "javascript-function-call-delete-insert-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Replaced the \"arg3\" string with the \"arg2\" string in the someFunction(arg1, \"arg2\") function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "d9ee66dc92a274912d2d476b728a681fbe2d50e8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9d47d23abe84d8144c194e9b26be5ff933ea5ec3"
}
,{
"testCaseDescription": "javascript-function-call-replacement-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Replaced the \"arg2\" string with the \"arg3\" string in the someFunction(arg1, \"arg3\") function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "9d47d23abe84d8144c194e9b26be5ff933ea5ec3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b62f5f5619cd0a6c45e0590036d4db1c963fbf8f"
}
,{
"testCaseDescription": "javascript-function-call-delete-replacement-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Deleted the 'someFunction(arg1, \"arg3\")' function call",
"Deleted the 'someFunction(arg1, \"arg2\")' function call",
"Added the 'someFunction(arg1, \"arg3\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "b62f5f5619cd0a6c45e0590036d4db1c963fbf8f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "926ae9ad66b35d58c43e076f0824a28157ba93c1"
}
,{
"testCaseDescription": "javascript-function-call-delete-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Deleted the 'someFunction(arg1, \"arg2\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "926ae9ad66b35d58c43e076f0824a28157ba93c1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "28b8001c1d6ba7d98ad90b5ce6f076af221b6b1a"
}
,{
"testCaseDescription": "javascript-function-call-delete-rest-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Deleted the 'someFunction(arg1, \"arg3\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "28b8001c1d6ba7d98ad90b5ce6f076af221b6b1a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "41dfaee36c012eb70631fea0a9f2f5b1578971a9"
}]