mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
369 lines
12 KiB
JSON
369 lines
12 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-do-while-statement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'true' do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "b9bce32850180705594c7350911bd0714243f188",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "feb124cab094dde09b565be6f2996a9718b336a1"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-do-while-statement-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'false' do/while statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
2,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'true' do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "feb124cab094dde09b565be6f2996a9718b336a1",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "67aa4101b8d9063a8392ac374f99552ced02dcf5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-do-while-statement-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
18
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
29
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
18
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
24
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'replacement' identifier with the 'insert' identifier in the console.log(insert) method call",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
41
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
46
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
36
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
40
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced 'false' with 'true' in the true do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "67aa4101b8d9063a8392ac374f99552ced02dcf5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "47f65b68c178b04fb6235d9ace27cd4be21f882c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-do-while-statement-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
18
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
24
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
18
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
29
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'insert' identifier with the 'replacement' identifier in the console.log(replacement) method call",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
36
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
40
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
41
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
46
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced 'true' with 'false' in the false do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "47f65b68c178b04fb6235d9ace27cd4be21f882c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "21bd4c94aeec230846083136748043dff480d670"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-do-while-statement-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'false' do/while statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
2,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'true' do/while statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
2,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'false' do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "21bd4c94aeec230846083136748043dff480d670",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8c37de8d14d78dac20ddb465749f7c48e0127f1f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-do-while-statement-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'true' do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "8c37de8d14d78dac20ddb465749f7c48e0127f1f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b49364de77f4824a01f67f3e988806f0ad800219"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-do-while-statement-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"do-while-statement.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "do-while-statement.js",
|
|
"end": [
|
|
1,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'false' do/while statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"do-while-statement.js"
|
|
],
|
|
"sha1": "b49364de77f4824a01f67f3e988806f0ad800219",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ea1cb608a188b06972bcdf47db341f8b953076b1"
|
|
}]
|