1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
semantic/test/corpus/diff-summaries/javascript/object-with-methods.json

123 lines
3.6 KiB
JSON

[{
"testCaseDescription": "javascript-objects-with-methods-insert-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Added the '{ add }' object"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "7451453939a71bed1ff4fdd7d49f1541b5250916",
"gitDir": "test/corpus/repos/javascript",
"sha2": "12110da4178a42b0cf7e23a288a67bb4fc836f7f"
}
,{
"testCaseDescription": "javascript-objects-with-methods-replacement-insert-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Added the '{ subtract }' object",
"Added the '{ add }' object"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "12110da4178a42b0cf7e23a288a67bb4fc836f7f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "27be86468793d9fb7d13a6037266d60dbf72796b"
}
,{
"testCaseDescription": "javascript-objects-with-methods-delete-insert-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Replaced the 'subtract' identifier with the 'add' identifier in the add method"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "27be86468793d9fb7d13a6037266d60dbf72796b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4be0419ff54c3d540a5a640f240bd54eef319eb7"
}
,{
"testCaseDescription": "javascript-objects-with-methods-replacement-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Replaced the 'add' identifier with the 'subtract' identifier in the subtract method"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "4be0419ff54c3d540a5a640f240bd54eef319eb7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "82b8d9898da0aa6cb1f9c29f8284e1fd55dd6e4e"
}
,{
"testCaseDescription": "javascript-objects-with-methods-delete-replacement-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Deleted the '{ subtract }' object",
"Deleted the '{ add }' object",
"Added the '{ subtract }' object"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "82b8d9898da0aa6cb1f9c29f8284e1fd55dd6e4e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "84044bf9e5e183457cd7941fb531f14de2fb1eb5"
}
,{
"testCaseDescription": "javascript-objects-with-methods-delete-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Deleted the '{ add }' object"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "84044bf9e5e183457cd7941fb531f14de2fb1eb5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "220fbff125f89c24de08fb1bfaadd0c663c88ae3"
}
,{
"testCaseDescription": "javascript-objects-with-methods-delete-rest-test",
"expectedResult": {
"changes": {
"objects-with-methods.js": [
"Deleted the '{ subtract }' object"
]
},
"errors": {}
},
"filePaths": [
"objects-with-methods.js"
],
"sha1": "220fbff125f89c24de08fb1bfaadd0c663c88ae3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "52cffc4738bafd83771b7e1718db8a6798f5fa29"
}]