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

127 lines
3.9 KiB
JSON

[{
"testCaseDescription": "javascript-for-of-statement-insert-test",
"expectedResult": {
"changes": {
"for-of-statement.js": [
"Added the 'item of items' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "6fe61c3b39db2dc0038614bb2c9163251c715ef2",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a21ebf1ac344a3e9221d5832d8df2bf9c872fd01"
}
,{
"testCaseDescription": "javascript-for-of-statement-replacement-insert-test",
"expectedResult": {
"changes": {
"for-of-statement.js": [
"Added the 'thing of things' for statement",
"Added the 'item of items' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "a21ebf1ac344a3e9221d5832d8df2bf9c872fd01",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e151eb2bd36bc2d80087a35f04c129623e239d48"
}
,{
"testCaseDescription": "javascript-for-of-statement-delete-insert-test",
"expectedResult": {
"changes": {
"for-of-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 process(item) function call"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "e151eb2bd36bc2d80087a35f04c129623e239d48",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3011260f1962c160b49d17e6145c52da647a7fcf"
}
,{
"testCaseDescription": "javascript-for-of-statement-replacement-test",
"expectedResult": {
"changes": {
"for-of-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 process(thing) function call"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "3011260f1962c160b49d17e6145c52da647a7fcf",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4a786f4efe07e3fc733c0d7f392633959513e0d0"
}
,{
"testCaseDescription": "javascript-for-of-statement-delete-replacement-test",
"expectedResult": {
"changes": {
"for-of-statement.js": [
"Deleted the 'thing of things' for statement",
"Deleted the 'item of items' for statement",
"Added the 'thing of things' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "4a786f4efe07e3fc733c0d7f392633959513e0d0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b9b6c4b4ee6e649242b53dddfc502842493b478d"
}
,{
"testCaseDescription": "javascript-for-of-statement-delete-test",
"expectedResult": {
"changes": {
"for-of-statement.js": [
"Deleted the 'item of items' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "b9b6c4b4ee6e649242b53dddfc502842493b478d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e933f875ee956545db127c64851708b47c5d7404"
}
,{
"testCaseDescription": "javascript-for-of-statement-delete-rest-test",
"expectedResult": {
"changes": {
"for-of-statement.js": [
"Deleted the 'thing of things' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-of-statement.js"
],
"sha1": "e933f875ee956545db127c64851708b47c5d7404",
"gitDir": "test/corpus/repos/javascript",
"sha2": "194fb9e98c554553e25a4f30b4bb5d1fe67a8d21"
}]