1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00
semantic/test/corpus/diff-summaries/javascript/generator-function.json

287 lines
8.9 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
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'generateStuff' function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "843b9d83e2acc3f1bf014abc4e2402e1a783d3f6",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "586ddf785c2a8b750ab5e2e67d4e29b6881a7d11"
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
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'generateNewStuff' function"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
59
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'generateStuff' function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "586ddf785c2a8b750ab5e2e67d4e29b6881a7d11",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "9643e5115018e8e937c15f554ff18317207ec7f4"
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
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'generateNewStuff' identifier with the 'generateStuff' identifier in the generateStuff function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "9643e5115018e8e937c15f554ff18317207ec7f4",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "25ab3575daed7a51443fda5100dd29edf156e2f8"
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
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'generateStuff' identifier with the 'generateNewStuff' identifier in the generateNewStuff function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "25ab3575daed7a51443fda5100dd29edf156e2f8",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "2913ec725e62b2faa79bab6d5e99d8b11ecd45c4"
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
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'generateNewStuff' function"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
59
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'generateStuff' function"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
62
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'generateNewStuff' function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "2913ec725e62b2faa79bab6d5e99d8b11ecd45c4",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "4c912eda971c27f0ba64a9c4cc42508efcca09ad"
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
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'generateStuff' function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "4c912eda971c27f0ba64a9c4cc42508efcca09ad",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "8565f60ebc7b85fb023e32db0bf098e5f9db48cf"
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
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'generateNewStuff' function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"generator-function.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "8565f60ebc7b85fb023e32db0bf098e5f9db48cf",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "437d13155925d96902bc67c5d88d607d97762adf"
2016-10-11 18:12:20 +03:00
}]