1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
semantic/test/corpus/diff-summaries/javascript/identifier.json

309 lines
9.6 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-identifier-insert-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "1917c441d2b5dc77f63539a5df1e3cd7f0df97f3",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "dabf0b766bc1e9078802788c75696638b135bba4"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-identifier-replacement-insert-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
8
]
}
},
"summary": "Added the 'theVar2' identifier",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "identifier.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "dabf0b766bc1e9078802788c75696638b135bba4",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "9a6ae9eaf5793972dbd956934afece901c3585de"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-identifier-delete-insert-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"these": [
{
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
8
]
},
{
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'theVar2' identifier with the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "9a6ae9eaf5793972dbd956934afece901c3585de",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "d47d4ca7f6adc50a478c132c0322581c6a97d9ba"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-identifier-replacement-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"these": [
{
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
7
]
},
{
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
8
]
}
]
},
"summary": "Replaced the 'theVar' identifier with the 'theVar2' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "d47d4ca7f6adc50a478c132c0322581c6a97d9ba",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "cd4983604bbfbb1d68b3c3aa269b44bb18e7ec19"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-identifier-delete-replacement-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'theVar2' identifier",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "identifier.js",
"end": [
2,
7
]
}
},
"summary": "Deleted the 'theVar' identifier",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "identifier.js",
"end": [
2,
8
]
}
},
"summary": "Added the 'theVar2' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "cd4983604bbfbb1d68b3c3aa269b44bb18e7ec19",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "f485b85280aefcea21b662c09b093cbe8bd7235b"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-identifier-delete-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'theVar' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "f485b85280aefcea21b662c09b093cbe8bd7235b",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "e88e8ecf1d1356117505cd93c05985d9d9f7309a"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-identifier-delete-rest-test",
"expectedResult": {
"changes": {
"identifier.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "identifier.js",
"end": [
1,
8
]
}
},
"summary": "Deleted the 'theVar2' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"identifier.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "e88e8ecf1d1356117505cd93c05985d9d9f7309a",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "324ef3f6d6409ee7a42609453d3259490538a470"
2016-10-11 18:12:20 +03:00
}]