mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
124 lines
3.7 KiB
JSON
124 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": "95d141d5f4f92f171e7690e40239750e8d55e7da",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "3ea897b4631c2bf04b22d44ef9e566eae28ff43a"
|
||
|
}
|
||
|
,{
|
||
|
"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": "3ea897b4631c2bf04b22d44ef9e566eae28ff43a",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "2dabb52c0b3fc57ab94cd911d0290d14b554a2f1"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-function-call-delete-insert-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"function-call.js": [
|
||
|
"Added the 'someFunction(arg1, \"arg2\")' function call",
|
||
|
"Deleted the 'someFunction(arg1, \"arg3\")' function call"
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"function-call.js"
|
||
|
],
|
||
|
"sha1": "2dabb52c0b3fc57ab94cd911d0290d14b554a2f1",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "263fedbfb30e5506e4b040ad61f87e8394d0f22d"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-function-call-replacement-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"function-call.js": [
|
||
|
"Added the 'someFunction(arg1, \"arg3\")' function call",
|
||
|
"Deleted the 'someFunction(arg1, \"arg2\")' function call"
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"function-call.js"
|
||
|
],
|
||
|
"sha1": "263fedbfb30e5506e4b040ad61f87e8394d0f22d",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "afafcf401c1ee7f87298287d8e415fdd0e7a9b97"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-function-call-delete-replacement-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"function-call.js": [
|
||
|
"Deleted the 'someFunction(arg1, \"arg3\")' function call",
|
||
|
"Replaced the \"arg2\" string with the \"arg3\" string in the someFunction(arg1, \"arg3\") function call"
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"function-call.js"
|
||
|
],
|
||
|
"sha1": "afafcf401c1ee7f87298287d8e415fdd0e7a9b97",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "c447ceeba03db7d08a4557f644ef2fca1a96effc"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-function-call-delete-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"function-call.js": [
|
||
|
"Deleted the 'someFunction(arg1, \"arg2\")' function call"
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"function-call.js"
|
||
|
],
|
||
|
"sha1": "c447ceeba03db7d08a4557f644ef2fca1a96effc",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "02e6e6396e2587bfd43970031a36252f2a3f22b2"
|
||
|
}
|
||
|
,{
|
||
|
"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": "02e6e6396e2587bfd43970031a36252f2a3f22b2",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "82f873975d82ce87bb75e9b0aacf08b3b34834cd"
|
||
|
}]
|