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/generator-function.json
2016-11-01 10:03:25 -05:00

287 lines
8.9 KiB
JSON

[{
"testCaseDescription": "javascript-generator-function-insert-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
59
]
}
},
"summary": "Added the 'generateStuff' function"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "843b9d83e2acc3f1bf014abc4e2402e1a783d3f6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "586ddf785c2a8b750ab5e2e67d4e29b6881a7d11"
}
,{
"testCaseDescription": "javascript-generator-function-replacement-insert-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
62
]
}
},
"summary": "Added the 'generateNewStuff' function"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
59
]
}
},
"summary": "Added the 'generateStuff' function"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "586ddf785c2a8b750ab5e2e67d4e29b6881a7d11",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9643e5115018e8e937c15f554ff18317207ec7f4"
}
,{
"testCaseDescription": "javascript-generator-function-delete-insert-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"replace": [
{
"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"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "9643e5115018e8e937c15f554ff18317207ec7f4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "25ab3575daed7a51443fda5100dd29edf156e2f8"
}
,{
"testCaseDescription": "javascript-generator-function-replacement-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"replace": [
{
"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"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "25ab3575daed7a51443fda5100dd29edf156e2f8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2913ec725e62b2faa79bab6d5e99d8b11ecd45c4"
}
,{
"testCaseDescription": "javascript-generator-function-delete-replacement-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
62
]
}
},
"summary": "Deleted the 'generateNewStuff' function"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
59
]
}
},
"summary": "Deleted the 'generateStuff' function"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
62
]
}
},
"summary": "Added the 'generateNewStuff' function"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "2913ec725e62b2faa79bab6d5e99d8b11ecd45c4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4c912eda971c27f0ba64a9c4cc42508efcca09ad"
}
,{
"testCaseDescription": "javascript-generator-function-delete-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
59
]
}
},
"summary": "Deleted the 'generateStuff' function"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "4c912eda971c27f0ba64a9c4cc42508efcca09ad",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8565f60ebc7b85fb023e32db0bf098e5f9db48cf"
}
,{
"testCaseDescription": "javascript-generator-function-delete-rest-test",
"expectedResult": {
"changes": {
"generator-function.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
62
]
}
},
"summary": "Deleted the 'generateNewStuff' function"
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
"sha1": "8565f60ebc7b85fb023e32db0bf098e5f9db48cf",
"gitDir": "test/corpus/repos/javascript",
"sha2": "437d13155925d96902bc67c5d88d607d97762adf"
}]