1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
semantic/test/corpus/diff-summaries/javascript/bitwise-operator.json
2016-10-11 15:13:51 -04:00

297 lines
9.1 KiB
JSON

[{
"testCaseDescription": "javascript-bitwise-operator-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'i >> j' bitwise operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "234b7e78605626501d422c4431c88b50e9e19c3f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "12ac8e040299cccf6336a3001138af774f8fd5de"
}
,{
"testCaseDescription": "javascript-bitwise-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'i >> k' bitwise operator",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'i >> j' bitwise operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "12ac8e040299cccf6336a3001138af774f8fd5de",
"gitDir": "test/corpus/repos/javascript",
"sha2": "28a35690a7bb5269f65ed3366cf19eed19b04eb3"
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"replace": [
{
"start": [
1,
6
],
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'k' identifier with the 'j' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "28a35690a7bb5269f65ed3366cf19eed19b04eb3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "caf88ce357d00963864665477ea0261115ba0e82"
}
,{
"testCaseDescription": "javascript-bitwise-operator-replacement-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"replace": [
{
"start": [
1,
6
],
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'j' identifier with the 'k' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "caf88ce357d00963864665477ea0261115ba0e82",
"gitDir": "test/corpus/repos/javascript",
"sha2": "04d9d80788f8ec45b6a7fd916aebdb66940d9516"
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i >> k' bitwise operator",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Deleted the 'i >> j' bitwise operator",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'i >> k' bitwise operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "04d9d80788f8ec45b6a7fd916aebdb66940d9516",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3b00668eb968387c144b63f111afade1814aa3a7"
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i >> j' bitwise operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "3b00668eb968387c144b63f111afade1814aa3a7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ff907e0620f083698334862f24d9269d1ac43f89"
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-rest-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i >> k' bitwise operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
"sha1": "ff907e0620f083698334862f24d9269d1ac43f89",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d3b83b525c7e185792b6284b8c0b23dbce07fa7e"
}]