1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/javascript/bitwise-operator.json

287 lines
8.7 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-bitwise-operator-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'i >> j' bitwise operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "761fc16b7840013a3a30a594193222af2c710535",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "ae0665071ff8d408f9dba2bc188c7ee5e6d72c8e"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-bitwise-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'i >> k' bitwise operator"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'i >> j' bitwise operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "ae0665071ff8d408f9dba2bc188c7ee5e6d72c8e",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "30a3708b6b22a2fecb6a2e10ac27b6945a87f9f7"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
6
],
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"end": [
1,
7
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'k' identifier with the 'j' identifier"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "30a3708b6b22a2fecb6a2e10ac27b6945a87f9f7",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "b5a0645c9262b7ef092240be639ac5cf0758cf64"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-bitwise-operator-replacement-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
6
],
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"end": [
1,
7
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'j' identifier with the 'k' identifier"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "b5a0645c9262b7ef092240be639ac5cf0758cf64",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "d2dc484eb040a787945e88294a926f120fed4e12"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'i >> k' bitwise operator"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'i >> j' bitwise operator"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'i >> k' bitwise operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "d2dc484eb040a787945e88294a926f120fed4e12",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "8411bfe78b348cf56e382a55f6c1bd8541bda049"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'i >> j' bitwise operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "8411bfe78b348cf56e382a55f6c1bd8541bda049",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "12c46cd84849f5766fff9bdf00c5b8357667c02b"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-bitwise-operator-delete-rest-test",
"expectedResult": {
"changes": {
"bitwise-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'i >> k' bitwise operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"bitwise-operator.js"
],
2016-11-01 18:03:25 +03:00
"sha1": "12c46cd84849f5766fff9bdf00c5b8357667c02b",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "149d0a9500261cd37b696c4ab2527d34f0133522"
2016-10-11 18:12:20 +03:00
}]