2016-10-06 02:17:46 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "javascript-objects-with-methods-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"objects-with-methods.js": [
|
|
|
|
"Added the '{ add }' object"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"objects-with-methods.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "7451453939a71bed1ff4fdd7d49f1541b5250916",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "12110da4178a42b0cf7e23a288a67bb4fc836f7f"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"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"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "12110da4178a42b0cf7e23a288a67bb4fc836f7f",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "27be86468793d9fb7d13a6037266d60dbf72796b"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"objects-with-methods.js": [
|
2016-10-06 18:45:04 +03:00
|
|
|
"Replaced the 'subtract' identifier with the 'add' identifier in the add method"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"objects-with-methods.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "27be86468793d9fb7d13a6037266d60dbf72796b",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "4be0419ff54c3d540a5a640f240bd54eef319eb7"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-objects-with-methods-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"objects-with-methods.js": [
|
2016-10-06 18:45:04 +03:00
|
|
|
"Replaced the 'add' identifier with the 'subtract' identifier in the subtract method"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"objects-with-methods.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "4be0419ff54c3d540a5a640f240bd54eef319eb7",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "82b8d9898da0aa6cb1f9c29f8284e1fd55dd6e4e"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"objects-with-methods.js": [
|
|
|
|
"Deleted the '{ subtract }' object",
|
2016-10-06 18:45:04 +03:00
|
|
|
"Deleted the '{ add }' object",
|
|
|
|
"Added the '{ subtract }' object"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"objects-with-methods.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "82b8d9898da0aa6cb1f9c29f8284e1fd55dd6e4e",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "84044bf9e5e183457cd7941fb531f14de2fb1eb5"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"objects-with-methods.js": [
|
|
|
|
"Deleted the '{ add }' object"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"objects-with-methods.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "84044bf9e5e183457cd7941fb531f14de2fb1eb5",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "220fbff125f89c24de08fb1bfaadd0c663c88ae3"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"objects-with-methods.js": [
|
|
|
|
"Deleted the '{ subtract }' object"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"objects-with-methods.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "220fbff125f89c24de08fb1bfaadd0c663c88ae3",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "52cffc4738bafd83771b7e1718db8a6798f5fa29"
|
2016-10-06 02:17:46 +03:00
|
|
|
}]
|