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/generator-function.json

297 lines
9.3 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-generator-function-insert-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
59
]
}
},
"summary": "Added the 'generateStuff' function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "4e58cc6cacea1897b6ba0b9d766f0ba965b0c8fa",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "18a0e0a3a3ce01a9032d344cc27e74ceb4ca309f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-generator-function-replacement-insert-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
62
]
}
},
"summary": "Added the 'generateNewStuff' function",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
59
]
}
},
"summary": "Added the 'generateStuff' function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "18a0e0a3a3ce01a9032d344cc27e74ceb4ca309f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "23285112861e1d2fe617efdb23c5d51bf4075224"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-generator-function-delete-insert-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
11
],
"end": [
1,
27
]
},
{
"start": [
1,
11
],
"end": [
1,
24
]
}
]
},
"summary": "Replaced the 'generateNewStuff' identifier with the 'generateStuff' identifier in the generateStuff function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "23285112861e1d2fe617efdb23c5d51bf4075224",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "3cd99e8cbe1ba540886b65b6921ec1cf01fb79ca"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-generator-function-replacement-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
11
],
"end": [
1,
24
]
},
{
"start": [
1,
11
],
"end": [
1,
27
]
}
]
},
"summary": "Replaced the 'generateStuff' identifier with the 'generateNewStuff' identifier in the generateNewStuff function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "3cd99e8cbe1ba540886b65b6921ec1cf01fb79ca",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "afe62cf42a38e09a30d1e289c2197445039c4d8b"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-generator-function-delete-replacement-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
62
]
}
},
"summary": "Deleted the 'generateNewStuff' function",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
59
]
}
},
"summary": "Deleted the 'generateStuff' function",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
62
]
}
},
"summary": "Added the 'generateNewStuff' function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "afe62cf42a38e09a30d1e289c2197445039c4d8b",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "b8554280a32f48d22eff39b921432c8148f2e602"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-generator-function-delete-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
59
]
}
},
"summary": "Deleted the 'generateStuff' function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "b8554280a32f48d22eff39b921432c8148f2e602",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "015cdf9ee2145bcf4de97926d0df3d30f5f4b23e"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-generator-function-delete-rest-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
62
]
}
},
"summary": "Deleted the 'generateNewStuff' function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "015cdf9ee2145bcf4de97926d0df3d30f5f4b23e",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "bb0f797d0ecd6410261347f4bb4a9d7ec2dbd9e8"
2016-10-11 18:12:20 +03:00
}]