1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +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"
],
2016-10-11 19:07:57 +03:00
"sha1": "5e933ecc7f1454b396bd04022556601bcf8de7ab",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "d5c49b4be18c2ab655996bdd3a91482e9fc3ce9c"
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"
],
2016-10-11 19:07:57 +03:00
"sha1": "d5c49b4be18c2ab655996bdd3a91482e9fc3ce9c",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "cb91783ae43cb3c50e645b8631425987562fa9b3"
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"
],
2016-10-11 19:07:57 +03:00
"sha1": "cb91783ae43cb3c50e645b8631425987562fa9b3",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "4213cac18eed39c24d1538ad8c3967e08cb4c4ad"
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"
],
2016-10-11 19:07:57 +03:00
"sha1": "4213cac18eed39c24d1538ad8c3967e08cb4c4ad",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "96cd5a62c827403f9fd682d8b00b91d691a6a9cc"
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"
],
2016-10-11 19:07:57 +03:00
"sha1": "96cd5a62c827403f9fd682d8b00b91d691a6a9cc",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "2569aa3a97089f93caf1992871b5e4f3573b0877"
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"
],
2016-10-11 19:07:57 +03:00
"sha1": "2569aa3a97089f93caf1992871b5e4f3573b0877",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "ed2ca022ea846444da59fa55719ca5d5e54cc047"
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"
],
2016-10-11 19:07:57 +03:00
"sha1": "ed2ca022ea846444da59fa55719ca5d5e54cc047",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:07:57 +03:00
"sha2": "53a9c959778b42d9f34bfc266d177a6f1b3065fd"
2016-10-06 02:17:46 +03:00
}]