1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
semantic/test/corpus/diff-summaries/javascript/chained-property-access.json
2016-10-11 12:00:34 -04:00

369 lines
13 KiB
JSON

[{
"testCaseDescription": "javascript-chained-property-access-insert-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"insert": {
"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"
],
"sha1": "9dc1c8722d84e3f245688e90b8cf7155c95f446f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8afef92d997e837342429dbbacb19365f39eb7b4"
}
,{
"testCaseDescription": "javascript-chained-property-access-replacement-insert-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Added the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"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"
],
"sha1": "8afef92d997e837342429dbbacb19365f39eb7b4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4475e0d7eb0e590853f495dd1db81601b6bc9dd3"
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-insert-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"replace": [
{
"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": {
"replace": [
{
"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"
],
"sha1": "4475e0d7eb0e590853f495dd1db81601b6bc9dd3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "030352703839b25bbdacac36ddeabb1a831ad05a"
}
,{
"testCaseDescription": "javascript-chained-property-access-replacement-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"replace": [
{
"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": {
"replace": [
{
"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"
],
"sha1": "030352703839b25bbdacac36ddeabb1a831ad05a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "59dd2644428d0c34aa9181e402e1bb4e823ea8de"
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-replacement-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "chained-property-access.js",
"end": [
2,
1
]
}
},
"summary": "Deleted the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"name": "chained-property-access.js",
"end": [
3,
1
]
}
},
"summary": "Deleted the 'returned.promise().done(…).fail(…)' return statement",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"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"
],
"sha1": "59dd2644428d0c34aa9181e402e1bb4e823ea8de",
"gitDir": "test/corpus/repos/javascript",
"sha2": "bad1b125972f03fd282dbf26f9adfa1315031ca7"
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"delete": {
"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"
],
"sha1": "bad1b125972f03fd282dbf26f9adfa1315031ca7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cf0b7cc3662ba96a6efe6d01c4baf13e04e1a789"
}
,{
"testCaseDescription": "javascript-chained-property-access-delete-rest-test",
"expectedResult": {
"changes": {
"chained-property-access.js": [
{
"span": {
"delete": {
"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"
],
"sha1": "cf0b7cc3662ba96a6efe6d01c4baf13e04e1a789",
"gitDir": "test/corpus/repos/javascript",
"sha2": "20bc26cc8af9efd835b023b026250f920bf1cc88"
}]