mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
256 lines
14 KiB
JSON
256 lines
14 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-export-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Added the name1, name2, name3, nameN export statement",
|
|
"Added the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Added the name1, name2, nameN export statement",
|
|
"Added the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Added the namedFunction export statement",
|
|
"Added the anonymous() function export statement",
|
|
"Added the name1 export statement",
|
|
"Added the name1 as default export statement",
|
|
"Added the 'foo' export statement",
|
|
"Added the name1, name2, nameN from 'foo' export statement",
|
|
"Added the import1 as name1, import2 as name2, nameN from 'bar' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "75554d78a4ca38bc77dea6b9025889e3ec09d63e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "020f9d147c4e58b9507d9301273986fa1527c418"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-export-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Added the name4, name5, name6, nameZ export statement",
|
|
"Added the variable2 as name2, variable3 as name3, nameY export statement",
|
|
"Added the name3, name4, nameT export statement",
|
|
"Added the name2 = value2, name3 = value3, name4, nameO export statement",
|
|
"Added the otherNamedFunction export statement",
|
|
"Added the newName1 export statement",
|
|
"Added the anonymous() function export statement",
|
|
"Added the name2 as statement export statement",
|
|
"Added the 'baz' export statement",
|
|
"Added the name7, name8, nameP from 'buzz' export statement",
|
|
"Added the import6 as name6, import7 as name7, nameB from 'fizz' export statement",
|
|
"Added the name1, name2, name3, nameN export statement",
|
|
"Added the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Added the name1, name2, nameN export statement",
|
|
"Added the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Added the namedFunction export statement",
|
|
"Added the anonymous() function export statement",
|
|
"Added the name1 export statement",
|
|
"Added the name1 as default export statement",
|
|
"Added the 'foo' export statement",
|
|
"Added the name1, name2, nameN from 'foo' export statement",
|
|
"Added the import1 as name1, import2 as name2, nameN from 'bar' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "020f9d147c4e58b9507d9301273986fa1527c418",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2abbf0226bd9e52968216e69ce45522b0ff8e2fd"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-export-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Replaced the 'name4' identifier with the 'name1' identifier in the name1, name2, name3, nameN export statement",
|
|
"Replaced the 'name5' identifier with the 'name2' identifier in the name1, name2, name3, nameN export statement",
|
|
"Replaced the 'name6' identifier with the 'name3' identifier in the name1, name2, name3, nameN export statement",
|
|
"Replaced the 'nameZ' identifier with the 'nameN' identifier in the name1, name2, name3, nameN export statement",
|
|
"Replaced the 'variable2' identifier with the 'variable1' identifier in the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Replaced the 'name2' identifier with the 'name1' identifier in the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Replaced the 'variable3' identifier with the 'variable2' identifier in the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Replaced the 'name3' identifier with the 'name2' identifier in the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Replaced the 'nameY' identifier with the 'nameN' identifier in the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Replaced the 'name3' identifier with the 'name1' identifier in the name1, name2, nameN export statement",
|
|
"Replaced the 'name4' identifier with the 'name2' identifier in the name1, name2, nameN export statement",
|
|
"Replaced the 'nameT' identifier with the 'nameN' identifier in the name1, name2, nameN export statement",
|
|
"Replaced the 'name2' identifier with the 'name1' identifier in the name1 var assignment",
|
|
"Replaced the 'value2' identifier with the 'value1' identifier in the name1 var assignment",
|
|
"Replaced the 'name3' identifier with the 'name2' identifier in the name2 var assignment",
|
|
"Replaced the 'value3' identifier with the 'value2' identifier in the name2 var assignment",
|
|
"Replaced the 'name4' identifier with the 'name3' identifier in the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Replaced the 'nameO' identifier with the 'nameN' identifier in the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Replaced the 'otherNamedFunction' identifier with the 'namedFunction' identifier in the namedFunction export statement",
|
|
"Added the anonymous() function export statement",
|
|
"Added the name1 export statement",
|
|
"Added the name1 as default export statement",
|
|
"Added the 'foo' export statement",
|
|
"Added the name1, name2, nameN from 'foo' export statement",
|
|
"Added the import1 as name1, import2 as name2, nameN from 'bar' export statement",
|
|
"Deleted the newName1 export statement",
|
|
"Deleted the anonymous() function export statement",
|
|
"Deleted the name2 as statement export statement",
|
|
"Deleted the 'baz' export statement",
|
|
"Deleted the name7, name8, nameP from 'buzz' export statement",
|
|
"Deleted the import6 as name6, import7 as name7, nameB from 'fizz' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "2abbf0226bd9e52968216e69ce45522b0ff8e2fd",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "80dfd6d1c3599ec2ae9e82c142e7380e6403238b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-export-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Replaced the 'name1' identifier with the 'name4' identifier in the name4, name5, name6, nameZ export statement",
|
|
"Replaced the 'name2' identifier with the 'name5' identifier in the name4, name5, name6, nameZ export statement",
|
|
"Replaced the 'name3' identifier with the 'name6' identifier in the name4, name5, name6, nameZ export statement",
|
|
"Replaced the 'nameN' identifier with the 'nameZ' identifier in the name4, name5, name6, nameZ export statement",
|
|
"Added the variable2 as name2, variable3 as name3, nameY export statement",
|
|
"Added the name3, name4, nameT export statement",
|
|
"Added the name2 = value2, name3 = value3, name4, nameO export statement",
|
|
"Added the otherNamedFunction export statement",
|
|
"Added the newName1 export statement",
|
|
"Added the anonymous() function export statement",
|
|
"Added the name2 as statement export statement",
|
|
"Added the 'baz' export statement",
|
|
"Added the name7, name8, nameP from 'buzz' export statement",
|
|
"Added the import6 as name6, import7 as name7, nameB from 'fizz' export statement",
|
|
"Deleted the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Deleted the name1, name2, nameN export statement",
|
|
"Deleted the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Deleted the namedFunction export statement",
|
|
"Deleted the anonymous() function export statement",
|
|
"Deleted the name1 export statement",
|
|
"Deleted the name1 as default export statement",
|
|
"Deleted the 'foo' export statement",
|
|
"Deleted the name1, name2, nameN from 'foo' export statement",
|
|
"Deleted the import1 as name1, import2 as name2, nameN from 'bar' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "80dfd6d1c3599ec2ae9e82c142e7380e6403238b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "066a37d5622d80792c60b592cf6530f72adb6576"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-export-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Deleted the name4, name5, name6, nameZ export statement",
|
|
"Deleted the variable2 as name2, variable3 as name3, nameY export statement",
|
|
"Deleted the name3, name4, nameT export statement",
|
|
"Deleted the name2 = value2, name3 = value3, name4, nameO export statement",
|
|
"Deleted the otherNamedFunction export statement",
|
|
"Deleted the newName1 export statement",
|
|
"Deleted the anonymous() function export statement",
|
|
"Deleted the name2 as statement export statement",
|
|
"Deleted the 'baz' export statement",
|
|
"Deleted the name7, name8, nameP from 'buzz' export statement",
|
|
"Deleted the import6 as name6, import7 as name7, nameB from 'fizz' export statement",
|
|
"Deleted the name1, name2, name3, nameN export statement",
|
|
"Deleted the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Deleted the name1, name2, nameN export statement",
|
|
"Deleted the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Deleted the namedFunction export statement",
|
|
"Deleted the anonymous() function export statement",
|
|
"Deleted the name1 export statement",
|
|
"Deleted the name1 as default export statement",
|
|
"Deleted the 'foo' export statement",
|
|
"Deleted the name1, name2, nameN from 'foo' export statement",
|
|
"Deleted the import1 as name1, import2 as name2, nameN from 'bar' export statement",
|
|
"Added the name4, name5, name6, nameZ export statement",
|
|
"Added the variable2 as name2, variable3 as name3, nameY export statement",
|
|
"Added the name3, name4, nameT export statement",
|
|
"Added the name2 = value2, name3 = value3, name4, nameO export statement",
|
|
"Added the otherNamedFunction export statement",
|
|
"Added the newName1 export statement",
|
|
"Added the anonymous() function export statement",
|
|
"Added the name2 as statement export statement",
|
|
"Added the 'baz' export statement",
|
|
"Added the name7, name8, nameP from 'buzz' export statement",
|
|
"Added the import6 as name6, import7 as name7, nameB from 'fizz' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "066a37d5622d80792c60b592cf6530f72adb6576",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "cced14a9496534fdb09ffee101222a3582cd384c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-export-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Deleted the name1, name2, name3, nameN export statement",
|
|
"Deleted the variable1 as name1, variable2 as name2, nameN export statement",
|
|
"Deleted the name1, name2, nameN export statement",
|
|
"Deleted the name1 = value1, name2 = value2, name3, nameN export statement",
|
|
"Deleted the namedFunction export statement",
|
|
"Deleted the anonymous() function export statement",
|
|
"Deleted the name1 export statement",
|
|
"Deleted the name1 as default export statement",
|
|
"Deleted the 'foo' export statement",
|
|
"Deleted the name1, name2, nameN from 'foo' export statement",
|
|
"Deleted the import1 as name1, import2 as name2, nameN from 'bar' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "cced14a9496534fdb09ffee101222a3582cd384c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "71159ed2d5cd3175d315068c82b3b00b0dec29a8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-export-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"export.js": [
|
|
"Deleted the name4, name5, name6, nameZ export statement",
|
|
"Deleted the variable2 as name2, variable3 as name3, nameY export statement",
|
|
"Deleted the name3, name4, nameT export statement",
|
|
"Deleted the name2 = value2, name3 = value3, name4, nameO export statement",
|
|
"Deleted the otherNamedFunction export statement",
|
|
"Deleted the newName1 export statement",
|
|
"Deleted the anonymous() function export statement",
|
|
"Deleted the name2 as statement export statement",
|
|
"Deleted the 'baz' export statement",
|
|
"Deleted the name7, name8, nameP from 'buzz' export statement",
|
|
"Deleted the import6 as name6, import7 as name7, nameB from 'fizz' export statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"export.js"
|
|
],
|
|
"sha1": "71159ed2d5cd3175d315068c82b3b00b0dec29a8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bebc5ef161b7028c9afbb237c51ce9f0c54c829f"
|
|
}]
|