1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00
semantic/test/corpus/diff-summaries/javascript/chained-property-access.json

369 lines
13 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-chained-property-access-insert-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Added the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "41bf287dfe63a1096787b4f7409a469d078c25b7",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "bb2e9e006cd25f6252a12922b0818df7ec356ec6"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-chained-property-access-replacement-insert-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Added the 'returned.promise().done(…).fail(…)' 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": "chained-property-access.js",
"end": [
3,
1
]
}
},
"summary": "Added the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "bb2e9e006cd25f6252a12922b0818df7ec356ec6",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "31fbee39c50df203b0073b27882592050176fa9f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-insert-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
33
],
"name": "chained-property-access.js",
"end": [
1,
43
]
},
{
"start": [
1,
33
],
"name": "chained-property-access.js",
"end": [
1,
41
]
}
]
},
"summary": "Replaced the 'otherDefer' identifier with the 'newDefer' identifier in the returned.promise().done(…) method call",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
60
],
"name": "chained-property-access.js",
"end": [
1,
70
]
},
{
"start": [
1,
58
],
"name": "chained-property-access.js",
"end": [
1,
66
]
}
]
},
"summary": "Replaced the 'otherDefer' identifier with the 'newDefer' identifier in the returned.promise().done(…).fail(…) method call",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "31fbee39c50df203b0073b27882592050176fa9f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "72a5d1937c1b757cb84f78854fd3c47f3eced7f3"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-chained-property-access-replacement-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
33
],
"name": "chained-property-access.js",
"end": [
1,
41
]
},
{
"start": [
1,
33
],
"name": "chained-property-access.js",
"end": [
1,
43
]
}
]
},
"summary": "Replaced the 'newDefer' identifier with the 'otherDefer' identifier in the returned.promise().done(…) method call",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
58
],
"name": "chained-property-access.js",
"end": [
1,
66
]
},
{
"start": [
1,
60
],
"name": "chained-property-access.js",
"end": [
1,
70
]
}
]
},
"summary": "Replaced the 'newDefer' identifier with the 'otherDefer' identifier in the returned.promise().done(…).fail(…) method call",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "72a5d1937c1b757cb84f78854fd3c47f3eced7f3",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "0ce34c376e1ce69ad7f72639e51fb3a2c0e0c182"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-replacement-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Deleted the 'returned.promise().done(…).fail(…)' 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": "chained-property-access.js",
"end": [
3,
1
]
}
},
"summary": "Deleted the 'returned.promise().done(…).fail(…)' 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": "chained-property-access.js",
"end": [
3,
1
]
}
},
"summary": "Added the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "0ce34c376e1ce69ad7f72639e51fb3a2c0e0c182",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "5a32624882255d98a4708e2cf87c30a64b405b4f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Deleted the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "5a32624882255d98a4708e2cf87c30a64b405b4f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "0902995588a5793f287b8aab2a3657a6ec1fbcdc"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-rest-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Deleted the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"chained-property-access.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "0902995588a5793f287b8aab2a3657a6ec1fbcdc",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "0a38cbb0dc46ccdf6a85eb82cfd1702afb266bac"
2016-10-11 18:12:20 +03:00
}]