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

125 lines
3.6 KiB
JSON

[{
"testCaseDescription": "javascript-while-statement-insert-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Added the 'a' while statement"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "194fb9e98c554553e25a4f30b4bb5d1fe67a8d21",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f03a86242f6d7e0c2158c1bd91117ff5f134244a"
}
,{
"testCaseDescription": "javascript-while-statement-replacement-insert-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Added the 'b' while statement",
"Added the 'a' while statement"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "f03a86242f6d7e0c2158c1bd91117ff5f134244a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4b5f53810edb5d664d12ab15115b0e2cd12883c3"
}
,{
"testCaseDescription": "javascript-while-statement-delete-insert-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Replaced the 'b' identifier with the 'a' identifier",
"Replaced the 'a' identifier with the 'b' identifier in the b() function call"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "4b5f53810edb5d664d12ab15115b0e2cd12883c3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f820f59d00d6d5666ff278bb88b0872d69ebfe62"
}
,{
"testCaseDescription": "javascript-while-statement-replacement-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Replaced the 'a' identifier with the 'b' identifier",
"Replaced the 'b' identifier with the 'a' identifier in the a() function call"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "f820f59d00d6d5666ff278bb88b0872d69ebfe62",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4434ecd0b9e69ea4196f2deba5982a527b3e4160"
}
,{
"testCaseDescription": "javascript-while-statement-delete-replacement-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Deleted the 'b' while statement",
"Deleted the 'a' while statement",
"Added the 'b' while statement"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "4434ecd0b9e69ea4196f2deba5982a527b3e4160",
"gitDir": "test/corpus/repos/javascript",
"sha2": "402eab49ccde91b2c9efa1356c6a66c2fb49c153"
}
,{
"testCaseDescription": "javascript-while-statement-delete-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Deleted the 'a' while statement"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "402eab49ccde91b2c9efa1356c6a66c2fb49c153",
"gitDir": "test/corpus/repos/javascript",
"sha2": "faa78f18bece2461d747ffa915cf3f4d62b42582"
}
,{
"testCaseDescription": "javascript-while-statement-delete-rest-test",
"expectedResult": {
"changes": {
"while-statement.js": [
"Deleted the 'b' while statement"
]
},
"errors": {}
},
"filePaths": [
"while-statement.js"
],
"sha1": "faa78f18bece2461d747ffa915cf3f4d62b42582",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cf72590c7112ba5cf176106991fc2d91400204fd"
}]