2016-10-06 02:17:46 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "javascript-member-access-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x.someProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "6efc7d3ef6f891602e19a27ed0c598e6c5e179ea",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "4c558b5d02c5e2d435f6a4bbfda3da186aa580b0"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-member-access-replacement-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x.someOtherProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x.someProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "4c558b5d02c5e2d435f6a4bbfda3da186aa580b0",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "ba2f36530d6780fd4b48247d4e07495ab99ff849"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-member-access-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"these": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"summary": "Replaced the 'someOtherProperty' identifier with the 'someProperty' identifier",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "ba2f36530d6780fd4b48247d4e07495ab99ff849",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "236df8848d358b1867fec80674da98c30a21fa4f"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-member-access-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"these": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
3
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"summary": "Replaced the 'someProperty' identifier with the 'someOtherProperty' identifier",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "236df8848d358b1867fec80674da98c30a21fa4f",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "7f5877fc43be3f38c976057116b85bd9e54f4c90"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-member-access-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x.someOtherProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x.someProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x.someOtherProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "7f5877fc43be3f38c976057116b85bd9e54f4c90",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "5db12107fe6a175ade7fbff6b24b9d5d32a81ac7"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-member-access-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
15
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x.someProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "5db12107fe6a175ade7fbff6b24b9d5d32a81ac7",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "32fa045d3b6ae515ff252d024963fa53f469ecf2"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-member-access-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"member-access.js": [
|
2016-10-07 18:28:57 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "member-access.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
20
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x.someOtherProperty' member access",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"member-access.js"
|
|
|
|
],
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha1": "32fa045d3b6ae515ff252d024963fa53f469ecf2",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-07 18:28:57 +03:00
|
|
|
"sha2": "c77d21ce31ff19818614b186e90aa577cc20ce9d"
|
2016-10-06 02:17:46 +03:00
|
|
|
}]
|