1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
semantic/test/corpus/diff-summaries/javascript/true.json

317 lines
9.4 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-true-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Added 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "d75865051390be293044f1901b2de814f883345c",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "6bfb7dcd9cdede9f50d88268469edcc41bf7a011"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-true-replacement-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Added the 'true' return statement",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "true.js",
"end": [
2,
5
]
}
},
"summary": "Added 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "6bfb7dcd9cdede9f50d88268469edcc41bf7a011",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "2fb11e227c29c8708462b86607f5898a1526411d"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-true-delete-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Added 'true'",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "2fb11e227c29c8708462b86607f5898a1526411d",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "44fd30110d94eb034134620ce0043421555609ba"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-true-replacement-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Added the 'true' return statement",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Deleted 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "44fd30110d94eb034134620ce0043421555609ba",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "865858a52fcb1b2b3425b9edbcfd46170997267f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-true-delete-replacement-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "true.js",
"end": [
2,
5
]
}
},
"summary": "Deleted 'true'",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "true.js",
"end": [
2,
13
]
}
},
"summary": "Added the 'true' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "865858a52fcb1b2b3425b9edbcfd46170997267f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "61cd6e15c4e041ff8aa683707a4540122de8560c"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-true-delete-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Deleted 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "61cd6e15c4e041ff8aa683707a4540122de8560c",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "eddb50d6d415cae98a46191354bc339a1a9634f3"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-true-delete-rest-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "eddb50d6d415cae98a46191354bc339a1a9634f3",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "0cad1bc8f133de3ec0a2bff083b413422673bbb7"
2016-10-11 18:12:20 +03:00
}]