1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/corpus/diff-summaries/javascript/variable.json
2016-10-11 11:26:57 -04:00

309 lines
9.5 KiB
JSON

[{
"testCaseDescription": "javascript-variable-insert-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "45a6d97047c9425f56128ec4e4400027be11cad7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9dad141263720dcf07ceb13d01029c69bcef38ea"
}
,{
"testCaseDescription": "javascript-variable-replacement-insert-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
8
]
}
},
"summary": "Added the 'theVar2' identifier",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "variable.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "9dad141263720dcf07ceb13d01029c69bcef38ea",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4f6333428bf9465cdab6df21470f1787d3bff8d7"
}
,{
"testCaseDescription": "javascript-variable-delete-insert-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"these": [
{
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
8
]
},
{
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'theVar2' identifier with the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "4f6333428bf9465cdab6df21470f1787d3bff8d7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f5e4df4fc4b3baf6dabfad4aee94248f5ba36189"
}
,{
"testCaseDescription": "javascript-variable-replacement-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"these": [
{
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
7
]
},
{
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
8
]
}
]
},
"summary": "Replaced the 'theVar' identifier with the 'theVar2' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "f5e4df4fc4b3baf6dabfad4aee94248f5ba36189",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6c86ef3484ecc568dfff6dc7d6bf603ac8dc8fcd"
}
,{
"testCaseDescription": "javascript-variable-delete-replacement-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'theVar2' identifier",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "variable.js",
"end": [
2,
7
]
}
},
"summary": "Deleted the 'theVar' identifier",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "variable.js",
"end": [
2,
8
]
}
},
"summary": "Added the 'theVar2' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "6c86ef3484ecc568dfff6dc7d6bf603ac8dc8fcd",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a41e6666d1ea0ed4c08217d4aa16d53fcde04f5e"
}
,{
"testCaseDescription": "javascript-variable-delete-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "a41e6666d1ea0ed4c08217d4aa16d53fcde04f5e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "dbf27da132fca11e0fd7163c0bc5583fdd85f37c"
}
,{
"testCaseDescription": "javascript-variable-delete-rest-test",
"expectedResult": {
"changes": {
"variable.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "variable.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'theVar2' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"variable.js"
],
"sha1": "dbf27da132fca11e0fd7163c0bc5583fdd85f37c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1917c441d2b5dc77f63539a5df1e3cd7f0df97f3"
}]