mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
123 lines
3.7 KiB
JSON
123 lines
3.7 KiB
JSON
[{
|
|
"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": "5e933ecc7f1454b396bd04022556601bcf8de7ab",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d5c49b4be18c2ab655996bdd3a91482e9fc3ce9c"
|
|
}
|
|
,{
|
|
"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": "d5c49b4be18c2ab655996bdd3a91482e9fc3ce9c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "cb91783ae43cb3c50e645b8631425987562fa9b3"
|
|
}
|
|
,{
|
|
"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"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-call.js"
|
|
],
|
|
"sha1": "cb91783ae43cb3c50e645b8631425987562fa9b3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4213cac18eed39c24d1538ad8c3967e08cb4c4ad"
|
|
}
|
|
,{
|
|
"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"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-call.js"
|
|
],
|
|
"sha1": "4213cac18eed39c24d1538ad8c3967e08cb4c4ad",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "96cd5a62c827403f9fd682d8b00b91d691a6a9cc"
|
|
}
|
|
,{
|
|
"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"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-call.js"
|
|
],
|
|
"sha1": "96cd5a62c827403f9fd682d8b00b91d691a6a9cc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2569aa3a97089f93caf1992871b5e4f3573b0877"
|
|
}
|
|
,{
|
|
"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": "2569aa3a97089f93caf1992871b5e4f3573b0877",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ed2ca022ea846444da59fa55719ca5d5e54cc047"
|
|
}
|
|
,{
|
|
"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": "ed2ca022ea846444da59fa55719ca5d5e54cc047",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "53a9c959778b42d9f34bfc266d177a6f1b3065fd"
|
|
}]
|