mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
309 lines
10 KiB
JSON
309 lines
10 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-member-access-assignment-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"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": "a8610d7d0057162d3dbbb845175a0fc8d993e0d6",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "08bbe0c2c7b34af221387f7b6e338937343d1ff7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-member-access-assignment-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "member-access-assignment.js",
|
|
"end": [
|
|
1,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'y.x' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"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": "08bbe0c2c7b34af221387f7b6e338937343d1ff7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "40cd1385fc2decff798fadd84b828eeffa386527"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-member-access-assignment-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"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": "40cd1385fc2decff798fadd84b828eeffa386527",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2e8e5c2446be9ce6284d1e43510bcf30f6be19dc"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-member-access-assignment-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"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": "2e8e5c2446be9ce6284d1e43510bcf30f6be19dc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ec1d0b50ba901bb9822226a0d615ff21d49de114"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-member-access-assignment-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "member-access-assignment.js",
|
|
"end": [
|
|
1,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'y.x' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "member-access-assignment.js",
|
|
"end": [
|
|
2,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'y.x' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"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": "ec1d0b50ba901bb9822226a0d615ff21d49de114",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8240cb6b7516b74de51980e453497e3595b4e628"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-member-access-assignment-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"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": "8240cb6b7516b74de51980e453497e3595b4e628",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "673b347c3edaa6ebd6922c7a383f39de4484aaee"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-member-access-assignment-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"member-access-assignment.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"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": "673b347c3edaa6ebd6922c7a383f39de4484aaee",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2777fc53b2f1b0e54aead0a015db9970af0795fe"
|
|
}]
|