2016-10-11 18:12:20 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "2777fc53b2f1b0e54aead0a015db9970af0795fe",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "56d078c8be955e974b02bb9413e8196e0e092cdb"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-replacement-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "56d078c8be955e974b02bb9413e8196e0e092cdb",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "b6764107f971cb9f7ddf592f63c48d6e7920eb79"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"these": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"summary": "Replaced '1' with '0' in an assignment to y[\"x\"]",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "b6764107f971cb9f7ddf592f63c48d6e7920eb79",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "c6cf46d469bff2839ea43d397a672cfeefb7fed3"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"these": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
10
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"summary": "Replaced '0' with '1' in an assignment to y[\"x\"]",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "c6cf46d469bff2839ea43d397a672cfeefb7fed3",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "be2f114b3b50c34e16eb2a9201b3b63ba6a08617"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "be2f114b3b50c34e16eb2a9201b3b63ba6a08617",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "5ca3653b76f677ce067dc9c1509ab906f205cd1b"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "5ca3653b76f677ce067dc9c1509ab906f205cd1b",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "5e1b3305c8e5ffeaffd2e5a040a07fe6e1965484"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-subscript-access-assignment-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"subscript-access-assignment.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "subscript-access-assignment.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
11
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'y[\"x\"]' assignment",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"subscript-access-assignment.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "5e1b3305c8e5ffeaffd2e5a040a07fe6e1965484",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "1cda03e29bc707037e0b55c899bc9d9fec1239db"
|
2016-10-11 18:12:20 +03:00
|
|
|
}]
|