1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/javascript/generator-function.json
2016-10-13 18:02:14 -04: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": "3db46f8a339fc626f9b79ee15b8c9da6217e75f9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5751581fdbac4a72865aec8155c3fe88f2db5c5f"
}
,{
"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": "5751581fdbac4a72865aec8155c3fe88f2db5c5f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ef75137e4d434b632d4bb3b861aeb80a0e4bcfdf"
}
,{
"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": "ef75137e4d434b632d4bb3b861aeb80a0e4bcfdf",
"gitDir": "test/corpus/repos/javascript",
"sha2": "090765267fa869e852753ed6b9da07bd85f62315"
}
,{
"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": "090765267fa869e852753ed6b9da07bd85f62315",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e0a00ee1201f8707a553f344a5b1bde7817ba9ac"
}
,{
"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": "e0a00ee1201f8707a553f344a5b1bde7817ba9ac",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9dbc1fd4413bbe66a9b8b25b677b9b107091d87b"
}
,{
"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": "9dbc1fd4413bbe66a9b8b25b677b9b107091d87b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "daad3180e8c726a66146129cee8e8476914c0582"
}
,{
"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": "daad3180e8c726a66146129cee8e8476914c0582",
"gitDir": "test/corpus/repos/javascript",
"sha2": "174f9689542288b1a763d4c2827439207233c75f"
}]