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/member-access-assignment.json
2016-10-11 12:00:34 -04:00

309 lines
10 KiB
JSON

[{
"testCaseDescription": "javascript-member-access-assignment-insert-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
},
"summary": "Added the 'y.x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "a4003ba4e78b0ae460decba084c34b15da1aa05e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "16101ac65aa3b3af782eafd2e4c93d307ab12a82"
}
,{
"testCaseDescription": "javascript-member-access-assignment-replacement-insert-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
},
"summary": "Added the 'y.x' assignment",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "member-access-assignment.js",
"end": [
2,
8
]
}
},
"summary": "Added the 'y.x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "16101ac65aa3b3af782eafd2e4c93d307ab12a82",
"gitDir": "test/corpus/repos/javascript",
"sha2": "73e1be43e07e507caab17a550b53339b59b9ec70"
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-insert-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"replace": [
{
"start": [
1,
7
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
},
{
"start": [
1,
7
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
]
},
"summary": "Replaced '1' with '0' in an assignment to y.x",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "73e1be43e07e507caab17a550b53339b59b9ec70",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b3ddcbd42f82560f26d7223d64fb0a59b3f1fd6d"
}
,{
"testCaseDescription": "javascript-member-access-assignment-replacement-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"replace": [
{
"start": [
1,
7
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
},
{
"start": [
1,
7
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
]
},
"summary": "Replaced '0' with '1' in an assignment to y.x",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "b3ddcbd42f82560f26d7223d64fb0a59b3f1fd6d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e8079105133dae2beea64e95d3b491cd3938d322"
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-replacement-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'y.x' assignment",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"name": "member-access-assignment.js",
"end": [
2,
8
]
}
},
"summary": "Deleted the 'y.x' assignment",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "member-access-assignment.js",
"end": [
2,
8
]
}
},
"summary": "Added the 'y.x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "e8079105133dae2beea64e95d3b491cd3938d322",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0205a7fb38a9a6d5b897e5b0e98c9a45c936e89d"
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'y.x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "0205a7fb38a9a6d5b897e5b0e98c9a45c936e89d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6c64da67067e3c0291791a301b469486afed28a2"
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-rest-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "member-access-assignment.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'y.x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
"sha1": "6c64da67067e3c0291791a301b469486afed28a2",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1e25a73e1015c39932d3a621daa9081a4e46a9ba"
}]