1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00
semantic/test/corpus/diff-summaries/javascript/method-call.json

123 lines
3.7 KiB
JSON
Raw Normal View History

2016-10-06 02:17:46 +03:00
[{
"testCaseDescription": "javascript-method-call-insert-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Added the 'object.someMethod(arg1, \"arg2\")' method call"
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "0537c7a62228a569aab3a20308a6b4e683c1e489",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "d2bfc0740793186d9c7d80d2f5e5f1f232a3efd1"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-method-call-replacement-insert-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Added the 'object.someMethod(arg1, \"arg3\")' method call",
"Added the 'object.someMethod(arg1, \"arg2\")' method call"
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "d2bfc0740793186d9c7d80d2f5e5f1f232a3efd1",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "94b149a107c2b39beadc547f507b59396bc0dcfa"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-method-call-delete-insert-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Replaced the \"arg3\" string with the \"arg2\" string in the object.someMethod(arg1, \"arg2\") method call"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "94b149a107c2b39beadc547f507b59396bc0dcfa",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "ef1ad9d2c278ab44f493090c97f8cada5754f669"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-method-call-replacement-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Replaced the \"arg2\" string with the \"arg3\" string in the object.someMethod(arg1, \"arg3\") method call"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "ef1ad9d2c278ab44f493090c97f8cada5754f669",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "a833ecd0e1694236c8050306e39070a5a0a8eae4"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-method-call-delete-replacement-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Deleted the 'object.someMethod(arg1, \"arg3\")' method call",
"Deleted the 'object.someMethod(arg1, \"arg2\")' method call",
"Added the 'object.someMethod(arg1, \"arg3\")' method call"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "a833ecd0e1694236c8050306e39070a5a0a8eae4",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "a1a78cd3da360ac1beca9815849b20619d8a0a7a"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-method-call-delete-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Deleted the 'object.someMethod(arg1, \"arg2\")' method call"
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "a1a78cd3da360ac1beca9815849b20619d8a0a7a",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "769ff2e5ab865fabc988023dbb02143a1d3a3cfc"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-method-call-delete-rest-test",
"expectedResult": {
"changes": {
"method-call.js": [
"Deleted the 'object.someMethod(arg1, \"arg3\")' method call"
]
},
"errors": {}
},
"filePaths": [
"method-call.js"
],
"sha1": "769ff2e5ab865fabc988023dbb02143a1d3a3cfc",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "18a76a9b126f1849934890e3d7fb7c7eda43e575"
2016-10-06 02:17:46 +03:00
}]