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/boolean-operator.json
2016-10-11 12:00:34 -04:00

209 lines
6.3 KiB
JSON

[{
"testCaseDescription": "javascript-boolean-operator-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'i || j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "4a00f98e1f34850ca8d14b8f33de4f8a0fcb7c40",
"gitDir": "test/corpus/repos/javascript",
"sha2": "95d128540dedb5ebcc33abd84e10116e0fd05c50"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'i && j' boolean operator",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "boolean-operator.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'i || j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "95d128540dedb5ebcc33abd84e10116e0fd05c50",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ae35cc9ea4ccbcaf06b7156b11ca36fb217b50da"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "ae35cc9ea4ccbcaf06b7156b11ca36fb217b50da",
"gitDir": "test/corpus/repos/javascript",
"sha2": "44bf52b057f77b274462a57449b1a91efaa6b206"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "44bf52b057f77b274462a57449b1a91efaa6b206",
"gitDir": "test/corpus/repos/javascript",
"sha2": "045f496374fb481d0b8ffdd5792f8ee519eb8389"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i && j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "045f496374fb481d0b8ffdd5792f8ee519eb8389",
"gitDir": "test/corpus/repos/javascript",
"sha2": "abe63da8bfcb6f56c48ae2cefc32dffb8707b534"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i || j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "abe63da8bfcb6f56c48ae2cefc32dffb8707b534",
"gitDir": "test/corpus/repos/javascript",
"sha2": "30cb690c861b4c9f1c92857e4098043dd7165fa1"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-rest-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i && j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "30cb690c861b4c9f1c92857e4098043dd7165fa1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8a735ff7a31a77424b93ff74548a5ca81e1dba3f"
}]