1
1
mirror of https://github.com/github/semantic.git synced 2024-12-27 08:54:14 +03:00
semantic/test/corpus/diff-summaries/javascript/for-in-statement.json
Rick Winfrey 329ce63a8e ++tests
2016-10-11 11:07:57 -05:00

127 lines
3.9 KiB
JSON

[{
"testCaseDescription": "javascript-for-in-statement-insert-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Added the 'thing in things' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "d595e5cb7bd31790842877e1f7c6f8aee6e2b036",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f7a3b0774dd21933e462eef6ca1920fb17582c22"
}
,{
"testCaseDescription": "javascript-for-in-statement-replacement-insert-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Added the 'item in items' for statement",
"Added the 'thing in things' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "f7a3b0774dd21933e462eef6ca1920fb17582c22",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7691d04f6704167f72f70e5013fbb9d4d150330b"
}
,{
"testCaseDescription": "javascript-for-in-statement-delete-insert-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Replaced the 'item' identifier with the 'thing' identifier",
"Replaced the 'items' identifier with the 'things' identifier",
"Replaced the 'item' identifier with the 'thing' identifier in the thing() function call"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "7691d04f6704167f72f70e5013fbb9d4d150330b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c7457d71148c21ac115cdb6e913ec9e995e7c435"
}
,{
"testCaseDescription": "javascript-for-in-statement-replacement-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Replaced the 'thing' identifier with the 'item' identifier",
"Replaced the 'things' identifier with the 'items' identifier",
"Replaced the 'thing' identifier with the 'item' identifier in the item() function call"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "c7457d71148c21ac115cdb6e913ec9e995e7c435",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1ecb81a174ba8d39619da5e9a68911ead263b1a3"
}
,{
"testCaseDescription": "javascript-for-in-statement-delete-replacement-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Deleted the 'item in items' for statement",
"Deleted the 'thing in things' for statement",
"Added the 'item in items' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "1ecb81a174ba8d39619da5e9a68911ead263b1a3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "840f3c93ce21ad3025198d721677a2f85da778c0"
}
,{
"testCaseDescription": "javascript-for-in-statement-delete-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Deleted the 'thing in things' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "840f3c93ce21ad3025198d721677a2f85da778c0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b3df6fec9afc59a894ae120888b0799b178447b8"
}
,{
"testCaseDescription": "javascript-for-in-statement-delete-rest-test",
"expectedResult": {
"changes": {
"for-in-statement.js": [
"Deleted the 'item in items' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-in-statement.js"
],
"sha1": "b3df6fec9afc59a894ae120888b0799b178447b8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5138a3d72bd9c399737de105fe3d5672dc109bc0"
}]