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/array.json
2016-10-11 11:26:57 -04:00

283 lines
8.4 KiB
JSON

[{
"testCaseDescription": "javascript-array-insert-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "array.js",
"end": [
1,
12
]
}
},
"summary": "Added the '[ \"item1\" ]' array",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "407eb0654feb336967cfa7e099e277590d97ea6d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "96df91034072bb590ad228fdedccbd70de25ad8a"
}
,{
"testCaseDescription": "javascript-array-replacement-insert-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "array.js",
"end": [
1,
21
]
}
},
"summary": "Added the '[ \"item1\", \"item2\" ]' array",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "array.js",
"end": [
2,
12
]
}
},
"summary": "Added the '[ \"item1\" ]' array",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "96df91034072bb590ad228fdedccbd70de25ad8a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ba51e3698922b41ac81594e59a66d25d0a1f563c"
}
,{
"testCaseDescription": "javascript-array-delete-insert-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"this": {
"start": [
1,
12
],
"name": "array.js",
"end": [
1,
19
]
}
},
"summary": "Deleted the \"item2\" string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "ba51e3698922b41ac81594e59a66d25d0a1f563c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9c4cdc5d327ec94d28bc7900690e4eb5ecfaa6a9"
}
,{
"testCaseDescription": "javascript-array-replacement-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"that": {
"start": [
1,
12
],
"name": "array.js",
"end": [
1,
19
]
}
},
"summary": "Added the \"item2\" string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "9c4cdc5d327ec94d28bc7900690e4eb5ecfaa6a9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7293c965570f02a590689e502fe2b0d94614a019"
}
,{
"testCaseDescription": "javascript-array-delete-replacement-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "array.js",
"end": [
1,
21
]
}
},
"summary": "Deleted the '[ \"item1\", \"item2\" ]' array",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "array.js",
"end": [
2,
12
]
}
},
"summary": "Deleted the '[ \"item1\" ]' array",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "array.js",
"end": [
2,
21
]
}
},
"summary": "Added the '[ \"item1\", \"item2\" ]' array",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "7293c965570f02a590689e502fe2b0d94614a019",
"gitDir": "test/corpus/repos/javascript",
"sha2": "600a42656da1a28f6c013ab0e95a434f41f8d29c"
}
,{
"testCaseDescription": "javascript-array-delete-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "array.js",
"end": [
1,
12
]
}
},
"summary": "Deleted the '[ \"item1\" ]' array",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "600a42656da1a28f6c013ab0e95a434f41f8d29c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a6243ff3c461e4c1a6602cfc302f425189e6d9c3"
}
,{
"testCaseDescription": "javascript-array-delete-rest-test",
"expectedResult": {
"changes": {
"array.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "array.js",
"end": [
1,
21
]
}
},
"summary": "Deleted the '[ \"item1\", \"item2\" ]' array",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "a6243ff3c461e4c1a6602cfc302f425189e6d9c3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0ee9c8e6c87189715a67160428ce11ee61012b05"
}]