1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
semantic/test/corpus/diff-summaries/javascript/constructor-call.json

123 lines
3.7 KiB
JSON
Raw Normal View History

2016-10-06 02:17:46 +03:00
[{
"testCaseDescription": "javascript-constructor-call-insert-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Added the 'module.Klass(1, \"two\")' constructor"
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "5aeda8deeda74b0668f87cbacb00781fd065df66",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "a8abd84c17b7b6ef6544c6bb6dba4f083fff25ba"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-constructor-call-replacement-insert-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Added the 'module.Klass(1, \"three\")' constructor",
"Added the 'module.Klass(1, \"two\")' constructor"
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "a8abd84c17b7b6ef6544c6bb6dba4f083fff25ba",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "d678337aba38bab2811dd05bf3f795c73ef78898"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-constructor-call-delete-insert-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Replaced the \"three\" string with the \"two\" string in the module.Klass(1, \"two\") method call"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "d678337aba38bab2811dd05bf3f795c73ef78898",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "97304006d3644e339d95430d6223f840636736fd"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-constructor-call-replacement-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Replaced the \"two\" string with the \"three\" string in the module.Klass(1, \"three\") method call"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "97304006d3644e339d95430d6223f840636736fd",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "587180153f18e624722447a1d833d401c0e42b94"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-constructor-call-delete-replacement-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Deleted the 'module.Klass(1, \"three\")' constructor",
"Deleted the 'module.Klass(1, \"two\")' constructor",
"Added the 'module.Klass(1, \"three\")' constructor"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "587180153f18e624722447a1d833d401c0e42b94",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "79e6ed4f1e30269dc951316a6beef80a861cb3ff"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-constructor-call-delete-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Deleted the 'module.Klass(1, \"two\")' constructor"
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "79e6ed4f1e30269dc951316a6beef80a861cb3ff",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "677a713a36bc78813eb5d997c6d6ff3e1775ecbb"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-constructor-call-delete-rest-test",
"expectedResult": {
"changes": {
"constructor-call.js": [
"Deleted the 'module.Klass(1, \"three\")' constructor"
]
},
"errors": {}
},
"filePaths": [
"constructor-call.js"
],
"sha1": "677a713a36bc78813eb5d997c6d6ff3e1775ecbb",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "5849813ca5290325ffe39d290e78a99104035304"
2016-10-06 02:17:46 +03:00
}]