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

125 lines
3.5 KiB
JSON

[{
"testCaseDescription": "javascript-switch-statement-insert-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Added the '1' switch statement"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "9ee63cde4ca79fd99837bf8de8adcd8920b8752b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "42967a58fd3321ea5a6de6db3154296f357c55f1"
}
,{
"testCaseDescription": "javascript-switch-statement-replacement-insert-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Added the '2' switch statement",
"Added the '1' switch statement"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "42967a58fd3321ea5a6de6db3154296f357c55f1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "41f5cdac0d7746084cd3fb0a8e160ca8f893d54b"
}
,{
"testCaseDescription": "javascript-switch-statement-delete-insert-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Replaced '2' with '1'",
"Replaced '2' with '1'"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "41f5cdac0d7746084cd3fb0a8e160ca8f893d54b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "df2369974616b0214995247c70734f44d0d12512"
}
,{
"testCaseDescription": "javascript-switch-statement-replacement-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Replaced '1' with '2'",
"Replaced '1' with '2'"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "df2369974616b0214995247c70734f44d0d12512",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c7325fbbeedf0a427a6ce87cd26cf8031ad9bd99"
}
,{
"testCaseDescription": "javascript-switch-statement-delete-replacement-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Deleted the '2' switch statement",
"Deleted the '1' switch statement",
"Added the '2' switch statement"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "c7325fbbeedf0a427a6ce87cd26cf8031ad9bd99",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ef998806acb4d21c1f65bb04b2090df5e757aa5b"
}
,{
"testCaseDescription": "javascript-switch-statement-delete-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Deleted the '1' switch statement"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "ef998806acb4d21c1f65bb04b2090df5e757aa5b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4413a2eb6b20759dedc9e8feeb5b384bec3781cc"
}
,{
"testCaseDescription": "javascript-switch-statement-delete-rest-test",
"expectedResult": {
"changes": {
"switch-statement.js": [
"Deleted the '2' switch statement"
]
},
"errors": {}
},
"filePaths": [
"switch-statement.js"
],
"sha1": "4413a2eb6b20759dedc9e8feeb5b384bec3781cc",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a86d0e4d4e3bb52c63e6f75a4501457a20f3c1a1"
}]