1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00
semantic/test/corpus/diff-summaries/javascript/member-access-assignment.json

309 lines
10 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": {
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "a8610d7d0057162d3dbbb845175a0fc8d993e0d6",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "08bbe0c2c7b34af221387f7b6e338937343d1ff7"
2016-10-11 18:12:20 +03:00
}
,{
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "08bbe0c2c7b34af221387f7b6e338937343d1ff7",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "40cd1385fc2decff798fadd84b828eeffa386527"
2016-10-11 18:12:20 +03:00
}
,{
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "40cd1385fc2decff798fadd84b828eeffa386527",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "2e8e5c2446be9ce6284d1e43510bcf30f6be19dc"
2016-10-11 18:12:20 +03:00
}
,{
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "2e8e5c2446be9ce6284d1e43510bcf30f6be19dc",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "ec1d0b50ba901bb9822226a0d615ff21d49de114"
2016-10-11 18:12:20 +03:00
}
,{
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "ec1d0b50ba901bb9822226a0d615ff21d49de114",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "8240cb6b7516b74de51980e453497e3595b4e628"
2016-10-11 18:12:20 +03:00
}
,{
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "8240cb6b7516b74de51980e453497e3595b4e628",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "673b347c3edaa6ebd6922c7a383f39de4484aaee"
2016-10-11 18:12:20 +03:00
}
,{
"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"
],
2016-10-11 18:26:57 +03:00
"sha1": "673b347c3edaa6ebd6922c7a383f39de4484aaee",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "2777fc53b2f1b0e54aead0a015db9970af0795fe"
2016-10-11 18:12:20 +03:00
}]