2016-10-11 18:12:20 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "javascript-false-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added 'false'",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "2729ff0e359b38bda1f650d3283d4116dc2fa3ad",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "f3388f96624945060a50d25605d1391e28d228c8"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-false-replacement-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
14
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'false' return statement",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added 'false'",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "f3388f96624945060a50d25605d1391e28d228c8",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "db41deeb70100e3865202cc00e8e58aee3872cc6"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-false-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added 'false'",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
14
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'false' return statement",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "db41deeb70100e3865202cc00e8e58aee3872cc6",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "007e522abd031d402ea364bbe7fa4794512b8831"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-false-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
14
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'false' return statement",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted 'false'",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "007e522abd031d402ea364bbe7fa4794512b8831",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "7e20e8bcefefbd5d330dff0036879a5d61b20eaa"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-false-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
14
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'false' return statement",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted 'false'",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"that": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
14
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'false' return statement",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "7e20e8bcefefbd5d330dff0036879a5d61b20eaa",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "b4998a49cb6282b601fe5a1c784f1f7a01353d95"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-false-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted 'false'",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "b4998a49cb6282b601fe5a1c784f1f7a01353d95",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "aed8db8659025ab4f77fcadeb6fa78617942c1c1"
|
2016-10-11 18:12:20 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-false-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"false.js": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"this": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"name": "false.js",
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
14
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'false' return statement",
|
|
|
|
"tag": "JSONSummary"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"false.js"
|
|
|
|
],
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha1": "aed8db8659025ab4f77fcadeb6fa78617942c1c1",
|
2016-10-11 18:12:20 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-11 18:26:57 +03:00
|
|
|
"sha2": "83627007e919d5e812d83d6d96953a00e81369c0"
|
2016-10-11 18:12:20 +03:00
|
|
|
}]
|