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
Rick Winfrey 329ce63a8e ++tests
2016-10-11 11:07:57 -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": "0a1a0379017da13731e94c9f3675fa6afefcb489",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d3dfc8794ef412b6704bfdb9ff77090a2785e3a2"
}
,{
"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": "d3dfc8794ef412b6704bfdb9ff77090a2785e3a2",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2b088cef679e7fb39486e18d646881ead2936f55"
}
,{
"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": "2b088cef679e7fb39486e18d646881ead2936f55",
"gitDir": "test/corpus/repos/javascript",
"sha2": "654a4b909737feb4736bb41374026ef497853455"
}
,{
"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": "654a4b909737feb4736bb41374026ef497853455",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fa690ce0ead87e535c157e23d5f12eedbc0607ed"
}
,{
"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": "fa690ce0ead87e535c157e23d5f12eedbc0607ed",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d8dec8d2b7c270327330880ced89b965a166e3c0"
}
,{
"testCaseDescription": "javascript-function-call-delete-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Deleted the 'someFunction(arg1, \"arg2\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
"sha1": "d8dec8d2b7c270327330880ced89b965a166e3c0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4454bbceb4ef680a7b9ffa2d68368e7f8d85c2f8"
}
,{
"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": "4454bbceb4ef680a7b9ffa2d68368e7f8d85c2f8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5e933ecc7f1454b396bd04022556601bcf8de7ab"
}]