1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/test/corpus/diff-summaries/javascript/assignment.json
2016-10-11 11:26:57 -04:00

309 lines
9.5 KiB
JSON

[{
"testCaseDescription": "javascript-assignment-insert-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "assignment.js",
"end": [
1,
6
]
}
},
"summary": "Added the 'x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "031c53cff6b8f106847a7cd1da37a95d714890e3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "daa8f9455f1a839218f42157fedd14a1f2c0b46e"
}
,{
"testCaseDescription": "javascript-assignment-replacement-insert-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "assignment.js",
"end": [
1,
6
]
}
},
"summary": "Added the 'x' assignment",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "assignment.js",
"end": [
2,
6
]
}
},
"summary": "Added the 'x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "daa8f9455f1a839218f42157fedd14a1f2c0b46e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ed425b43b199fcb3d66ac5d23b0b7dbe220ee22a"
}
,{
"testCaseDescription": "javascript-assignment-delete-insert-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"these": [
{
"start": [
1,
5
],
"name": "assignment.js",
"end": [
1,
6
]
},
{
"start": [
1,
5
],
"name": "assignment.js",
"end": [
1,
6
]
}
]
},
"summary": "Replaced '1' with '0' in an assignment to x",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "ed425b43b199fcb3d66ac5d23b0b7dbe220ee22a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "02875f86427d5e098f12a1f4cdde1b0dd659b29a"
}
,{
"testCaseDescription": "javascript-assignment-replacement-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"these": [
{
"start": [
1,
5
],
"name": "assignment.js",
"end": [
1,
6
]
},
{
"start": [
1,
5
],
"name": "assignment.js",
"end": [
1,
6
]
}
]
},
"summary": "Replaced '0' with '1' in an assignment to x",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "02875f86427d5e098f12a1f4cdde1b0dd659b29a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1f6bdc70edf556ba4e826ea6711f7064a3f81c45"
}
,{
"testCaseDescription": "javascript-assignment-delete-replacement-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "assignment.js",
"end": [
1,
6
]
}
},
"summary": "Deleted the 'x' assignment",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "assignment.js",
"end": [
2,
6
]
}
},
"summary": "Deleted the 'x' assignment",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "assignment.js",
"end": [
2,
6
]
}
},
"summary": "Added the 'x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "1f6bdc70edf556ba4e826ea6711f7064a3f81c45",
"gitDir": "test/corpus/repos/javascript",
"sha2": "58e91688ab485d4c9d359ab7a2007d718a9113d7"
}
,{
"testCaseDescription": "javascript-assignment-delete-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "assignment.js",
"end": [
1,
6
]
}
},
"summary": "Deleted the 'x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "58e91688ab485d4c9d359ab7a2007d718a9113d7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9c4967350cb94e3ccece24679e3b6f8695d7f5ee"
}
,{
"testCaseDescription": "javascript-assignment-delete-rest-test",
"expectedResult": {
"changes": {
"assignment.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "assignment.js",
"end": [
1,
6
]
}
},
"summary": "Deleted the 'x' assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"assignment.js"
],
"sha1": "9c4967350cb94e3ccece24679e3b6f8695d7f5ee",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a8610d7d0057162d3dbbb845175a0fc8d993e0d6"
}]