mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
369 lines
12 KiB
JSON
369 lines
12 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-try-statement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "8853e12eb348f42061f28c7a65748dd8c2b6cdda",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9a940b48df9acd8141dce91926326bb545a35ce9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-try-statement-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
2,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "9a940b48df9acd8141dce91926326bb545a35ce9",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "14485b720f542fc02c659aeb388d28a4f23d5eca"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-try-statement-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
20
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
20
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'h' identifier with the 'g' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
36
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'g' identifier with the 'h' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "14485b720f542fc02c659aeb388d28a4f23d5eca",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "937bc39ba6b5a8ea39d5e70a05aca172340b34b8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-try-statement-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
20
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
20
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'g' identifier with the 'h' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
36
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
36
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'h' identifier with the 'g' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "937bc39ba6b5a8ea39d5e70a05aca172340b34b8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d5388b993d81d166c72a2c0851cadf209a53e663"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-try-statement-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
2,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
2,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "d5388b993d81d166c72a2c0851cadf209a53e663",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "dcc5fa3d3acd27cfef2eab524cd619a2518e375f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-try-statement-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "dcc5fa3d3acd27cfef2eab524cd619a2518e375f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4f2e99ffade0f4b59764c6dc000ea251ffd1876b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-try-statement-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"try-statement.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "try-statement.js",
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ f; }' try statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"try-statement.js"
|
|
],
|
|
"sha1": "4f2e99ffade0f4b59764c6dc000ea251ffd1876b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "87a75eabc61b58f15583babf507419181ab63aeb"
|
|
}]
|