2016-10-06 02:17:46 +03:00
|
|
|
[{
|
|
|
|
"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"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "6fe61c3b39db2dc0038614bb2c9163251c715ef2",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "a21ebf1ac344a3e9221d5832d8df2bf9c872fd01"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"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"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "a21ebf1ac344a3e9221d5832d8df2bf9c872fd01",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "e151eb2bd36bc2d80087a35f04c129623e239d48"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-for-of-statement-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"for-of-statement.js": [
|
2016-10-06 18:45:04 +03:00
|
|
|
"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"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"for-of-statement.js"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "e151eb2bd36bc2d80087a35f04c129623e239d48",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "3011260f1962c160b49d17e6145c52da647a7fcf"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-for-of-statement-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"for-of-statement.js": [
|
2016-10-06 18:45:04 +03:00
|
|
|
"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"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"for-of-statement.js"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "3011260f1962c160b49d17e6145c52da647a7fcf",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "4a786f4efe07e3fc733c0d7f392633959513e0d0"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-for-of-statement-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"for-of-statement.js": [
|
|
|
|
"Deleted the 'thing of things' for statement",
|
2016-10-06 18:45:04 +03:00
|
|
|
"Deleted the 'item of items' for statement",
|
|
|
|
"Added the 'thing of things' for statement"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"for-of-statement.js"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "4a786f4efe07e3fc733c0d7f392633959513e0d0",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "b9b6c4b4ee6e649242b53dddfc502842493b478d"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"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"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "b9b6c4b4ee6e649242b53dddfc502842493b478d",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "e933f875ee956545db127c64851708b47c5d7404"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"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"
|
|
|
|
],
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha1": "e933f875ee956545db127c64851708b47c5d7404",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 19:07:57 +03:00
|
|
|
"sha2": "194fb9e98c554553e25a4f30b4bb5d1fe67a8d21"
|
2016-10-06 02:17:46 +03:00
|
|
|
}]
|