mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
309 lines
9.8 KiB
JSON
309 lines
9.8 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-bitwise-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> j' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "c77130c14c2dbfd795136ff0fd27924d67a13e12",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "190cbea65dd6ddbe9827c35d43f4cb41a8fa8929"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> k' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> j' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "190cbea65dd6ddbe9827c35d43f4cb41a8fa8929",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f0fa4938e0e1070c42a732d4560110c87c29d66e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'k' identifier with the 'j' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "f0fa4938e0e1070c42a732d4560110c87c29d66e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1861e01a938f5df02b33bac4c8da59bbd208f8dc"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'j' identifier with the 'k' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "1861e01a938f5df02b33bac4c8da59bbd208f8dc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4daaabf2eb29de89938a05544251cd3edc196c38"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> k' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> j' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> k' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "4daaabf2eb29de89938a05544251cd3edc196c38",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9e75dc90f18c35f845fbd0d9a398a4b02986b888"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> j' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "9e75dc90f18c35f845fbd0d9a398a4b02986b888",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "dfd6ce59330ff71c41c66acf43df3e05ec594a1c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "bitwise-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> k' bitwise operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "dfd6ce59330ff71c41c66acf43df3e05ec594a1c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4a348bc66ccc50e501fe3e49df1cd797d99ca405"
|
|
}]
|