1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00
semantic/test/corpus/diff-summaries/javascript/member-access-assignment.json

287 lines
8.8 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-member-access-assignment-insert-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'y.x' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "fc37323e4ce1e1a8f36d5c4d359e993026d32f78",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "cec54b96fcb0ec67d7522d4225c137597be21b83"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-member-access-assignment-replacement-insert-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'y.x' assignment"
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,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'y.x' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "cec54b96fcb0ec67d7522d4225c137597be21b83",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "f2bf6ef6764c9b4d583784125467ccfc0bb5212c"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-insert-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
7
],
"end": [
1,
8
]
},
{
"start": [
1,
7
],
"end": [
1,
8
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced '1' with '0' in an assignment to y.x"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "f2bf6ef6764c9b4d583784125467ccfc0bb5212c",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "99ce3bda36caf74ca3f6d193147e0ea1145516f3"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-member-access-assignment-replacement-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
7
],
"end": [
1,
8
]
},
{
"start": [
1,
7
],
"end": [
1,
8
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced '0' with '1' in an assignment to y.x"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "99ce3bda36caf74ca3f6d193147e0ea1145516f3",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "a1569c0f32457be606cadc5aade85da326ab2495"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-replacement-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'y.x' assignment"
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,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'y.x' assignment"
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,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'y.x' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "a1569c0f32457be606cadc5aade85da326ab2495",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "213c086c3a7b093d079a2db56cb6a4fd0deb3ea0"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'y.x' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "213c086c3a7b093d079a2db56cb6a4fd0deb3ea0",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "fe80556bc2ac80c04b08cccc79d74f3bd4154252"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-member-access-assignment-delete-rest-test",
"expectedResult": {
"changes": {
"member-access-assignment.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
8
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'y.x' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"member-access-assignment.js"
],
2016-10-14 19:18:46 +03:00
"sha1": "fe80556bc2ac80c04b08cccc79d74f3bd4154252",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 19:18:46 +03:00
"sha2": "a54212fd738c79646d7c35045d60217d25df7e8a"
2016-10-11 18:12:20 +03:00
}]