1
1
mirror of https://github.com/github/semantic.git synced 2025-01-08 16:39:47 +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 19:00:34 +03:00
"sha1": "33c5c1f9cf953a752cbffb621c3f049a1da56ef6",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "a6ced4af62125992db2e4d0bf35e64a1ac2edec9"
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 19:00:34 +03:00
"sha1": "a6ced4af62125992db2e4d0bf35e64a1ac2edec9",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "67c9f34040f63e7c6665a72b86ed606060accbad"
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 19:00:34 +03:00
"sha1": "67c9f34040f63e7c6665a72b86ed606060accbad",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "67f2af6013b86b0ba91f58ea0bb156ab8fef63d9"
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 19:00:34 +03:00
"sha1": "67f2af6013b86b0ba91f58ea0bb156ab8fef63d9",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "20e525bfe23a51c65b7fb2ab38d615b8b79158de"
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 19:00:34 +03:00
"sha1": "20e525bfe23a51c65b7fb2ab38d615b8b79158de",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "613d3c0edaec792150189c91ad97cc262e325d67"
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 19:00:34 +03:00
"sha1": "613d3c0edaec792150189c91ad97cc262e325d67",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "1d1cf06b41782094ca5aeef9ba6af038f3a58cf8"
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 19:00:34 +03:00
"sha1": "1d1cf06b41782094ca5aeef9ba6af038f3a58cf8",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "d72ebc215a9377983c2463fd424f608320626141"
2016-10-11 18:12:20 +03:00
}]