mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
309 lines
10 KiB
JSON
309 lines
10 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-objects-with-methods-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ add }' object",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "96217c240d7773372a78d2a23601a4a97459fcad",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "6e0b9bd4f9e342ac6f9ec1d77b3fc530ae87a9a2"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-objects-with-methods-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
37
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ subtract }' object",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
2,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ add }' object",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "6e0b9bd4f9e342ac6f9ec1d77b3fc530ae87a9a2",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "20ddbd693493a945428ab017ad8562bebecc19eb"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
3
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
3
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'subtract' identifier with the 'add' identifier in the add method",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "20ddbd693493a945428ab017ad8562bebecc19eb",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e912fc9f4f009ec09d1c5cc288beea94f9b13de0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-objects-with-methods-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
3
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
3
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'add' identifier with the 'subtract' identifier in the subtract method",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "e912fc9f4f009ec09d1c5cc288beea94f9b13de0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "62fdf99216ad8608e9371c76c05b1e4e5c5574d5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
37
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ subtract }' object",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
2,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ add }' object",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
2,
|
|
37
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{ subtract }' object",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "62fdf99216ad8608e9371c76c05b1e4e5c5574d5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "48db8be531ea86fab4d79cddcc9378bbc0e26085"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ add }' object",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "48db8be531ea86fab4d79cddcc9378bbc0e26085",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "67c7dde79edbfb3e52f0941c20215412fe63df35"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-objects-with-methods-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"objects-with-methods.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "objects-with-methods.js",
|
|
"end": [
|
|
1,
|
|
37
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{ subtract }' object",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"objects-with-methods.js"
|
|
],
|
|
"sha1": "67c7dde79edbfb3e52f0941c20215412fe63df35",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c889f65f6a973b3a266eb413d25af2589ac90aad"
|
|
}]
|