1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/javascript/null.json

317 lines
9.5 KiB
JSON

[{
"testCaseDescription": "javascript-null-insert-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
5
]
}
},
"summary": "Added the 'null' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "11a27a81f8e7e33aac2eb0844d3465acf8f9bb0d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "eb6644a70a4cd3a9d3cc65812e3ac5c1a4d76520"
}
,{
"testCaseDescription": "javascript-null-replacement-insert-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
13
]
}
},
"summary": "Added the 'null' return statement",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "null.js",
"end": [
2,
5
]
}
},
"summary": "Added the 'null' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "eb6644a70a4cd3a9d3cc65812e3ac5c1a4d76520",
"gitDir": "test/corpus/repos/javascript",
"sha2": "94a5c1d61909967783e1c9acca96fdf47cde7f3e"
}
,{
"testCaseDescription": "javascript-null-delete-insert-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
5
]
}
},
"summary": "Added the 'null' identifier",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'null' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "94a5c1d61909967783e1c9acca96fdf47cde7f3e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5dcff49942934eff57dac635ed367b34a9579c9c"
}
,{
"testCaseDescription": "javascript-null-replacement-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
13
]
}
},
"summary": "Added the 'null' return statement",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
5
]
}
},
"summary": "Deleted the 'null' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "5dcff49942934eff57dac635ed367b34a9579c9c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "606f0007b3d2e0c89cce1fbc92d0fbbeaff87c11"
}
,{
"testCaseDescription": "javascript-null-delete-replacement-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'null' return statement",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "null.js",
"end": [
2,
5
]
}
},
"summary": "Deleted the 'null' identifier",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "null.js",
"end": [
2,
13
]
}
},
"summary": "Added the 'null' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "606f0007b3d2e0c89cce1fbc92d0fbbeaff87c11",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1142c2c15d6730bb2bfa0be5f76115ca4667064c"
}
,{
"testCaseDescription": "javascript-null-delete-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
5
]
}
},
"summary": "Deleted the 'null' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "1142c2c15d6730bb2bfa0be5f76115ca4667064c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "74f6868171e2ab7e8a4e77d6b07d1e7c1dcb6b07"
}
,{
"testCaseDescription": "javascript-null-delete-rest-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "null.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'null' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "74f6868171e2ab7e8a4e77d6b07d1e7c1dcb6b07",
"gitDir": "test/corpus/repos/javascript",
"sha2": "43fd131de0f55fa1826e3fa3b95b88b7ba74fd68"
}]