1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/javascript/function-call.json

123 lines
3.7 KiB
JSON
Raw Normal View History

2016-10-06 02:17:46 +03:00
[{
"testCaseDescription": "javascript-function-call-insert-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Added the 'someFunction(arg1, \"arg2\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
2016-10-10 20:39:22 +03:00
"sha1": "02a4359be6bd61fda44a630f5fc45b128920fc59",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "cf071100e24015151111f18049d8555921235e7e"
2016-10-06 02:17:46 +03:00
}
,{
"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"
],
2016-10-10 20:39:22 +03:00
"sha1": "cf071100e24015151111f18049d8555921235e7e",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "d9ee66dc92a274912d2d476b728a681fbe2d50e8"
2016-10-06 02:17:46 +03:00
}
,{
"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"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
2016-10-10 20:39:22 +03:00
"sha1": "d9ee66dc92a274912d2d476b728a681fbe2d50e8",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "9d47d23abe84d8144c194e9b26be5ff933ea5ec3"
2016-10-06 02:17:46 +03:00
}
,{
"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"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
2016-10-10 20:39:22 +03:00
"sha1": "9d47d23abe84d8144c194e9b26be5ff933ea5ec3",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "b62f5f5619cd0a6c45e0590036d4db1c963fbf8f"
2016-10-06 02:17:46 +03:00
}
,{
"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"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
2016-10-10 20:39:22 +03:00
"sha1": "b62f5f5619cd0a6c45e0590036d4db1c963fbf8f",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "926ae9ad66b35d58c43e076f0824a28157ba93c1"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-function-call-delete-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Deleted the 'someFunction(arg1, \"arg2\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
2016-10-10 20:39:22 +03:00
"sha1": "926ae9ad66b35d58c43e076f0824a28157ba93c1",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "28b8001c1d6ba7d98ad90b5ce6f076af221b6b1a"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-function-call-delete-rest-test",
"expectedResult": {
"changes": {
"function-call.js": [
"Deleted the 'someFunction(arg1, \"arg3\")' function call"
]
},
"errors": {}
},
"filePaths": [
"function-call.js"
],
2016-10-10 20:39:22 +03:00
"sha1": "28b8001c1d6ba7d98ad90b5ce6f076af221b6b1a",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-10 20:39:22 +03:00
"sha2": "41dfaee36c012eb70631fea0a9f2f5b1578971a9"
2016-10-06 02:17:46 +03:00
}]