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/number.json

287 lines
8.3 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-number-insert-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added '101'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "eb91b4a9364d47b1f38c7dc56984672f94b6d835",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "a2a3c43cbd084822eeaa26d1eb54559a567fc43f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-number-replacement-insert-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added '102'"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added '101'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "a2a3c43cbd084822eeaa26d1eb54559a567fc43f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "1f5bfe7a2cea7d228b33b4cc4ecffffc09f54daf"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-number-delete-insert-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
1
],
"end": [
1,
4
]
},
{
"start": [
1,
1
],
"end": [
1,
4
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced '102' with '101'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "1f5bfe7a2cea7d228b33b4cc4ecffffc09f54daf",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "400c5b6f6ce3c4b31fb9fd9bf4deea2cd4415c15"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-number-replacement-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
1
],
"end": [
1,
4
]
},
{
"start": [
1,
1
],
"end": [
1,
4
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced '101' with '102'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "400c5b6f6ce3c4b31fb9fd9bf4deea2cd4415c15",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "c24158e5dbf1d3eb4457ea313099bb230cff9088"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-number-delete-replacement-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted '102'"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted '101'"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added '102'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "c24158e5dbf1d3eb4457ea313099bb230cff9088",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "52ff5d9f5dcebe4e659b5947d404ffd33580c521"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-number-delete-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted '101'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "52ff5d9f5dcebe4e659b5947d404ffd33580c521",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "f9dfcd160f82f3b20fe7851417a39c19c87c256a"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-number-delete-rest-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
4
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted '102'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "f9dfcd160f82f3b20fe7851417a39c19c87c256a",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "9eb22be8a44011eef19c2920a462a9260f4946bf"
2016-10-11 18:12:20 +03:00
}]