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 11:54:47 -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": "7e1caa9a941a609d09c734937d05d7b2414e8219",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c0e2708f57e17a4ce2c1696e880ed30bad18ca26"
}
,{
"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": "c0e2708f57e17a4ce2c1696e880ed30bad18ca26",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0e87089f205a053aaba445030d07334a2f0a3c0d"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "0e87089f205a053aaba445030d07334a2f0a3c0d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0e77f8929e9863a8750c2c783e827153e0f09ed5"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "0e77f8929e9863a8750c2c783e827153e0f09ed5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7eb85e05ccbfe6f171137c8e5e0bd9574e4089f6"
}
,{
"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": "7eb85e05ccbfe6f171137c8e5e0bd9574e4089f6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2c2f7fe0801ea179c43b3b4f8cdd228c792c7b79"
}
,{
"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": "2c2f7fe0801ea179c43b3b4f8cdd228c792c7b79",
"gitDir": "test/corpus/repos/javascript",
"sha2": "868176abe9d7d38af9fa93baea780e56ecbedb28"
}
,{
"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": "868176abe9d7d38af9fa93baea780e56ecbedb28",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0a55bedb688b2d873dec7f8d898dcf6a7343e8bc"
}]