2016-10-06 02:17:46 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "javascript-comment-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
|
|
|
"Added the '// This is a property' comment"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "e797ca2c748a6d42d67875240942d0876fd66cbc",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "9b44781137dd99590dc0b1ee7f175d7554fc19c1"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-comment-replacement-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
|
|
|
"Added the '/*\n * This is a method\n*/' comment",
|
|
|
|
"Added the '// This is a property' comment"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "9b44781137dd99590dc0b1ee7f175d7554fc19c1",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "b7b5ac68f521105a55e5efbbc290762ae19e998a"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-comment-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
2016-10-06 18:45:04 +03:00
|
|
|
"Replaced the '/*\n * This is a method\n*/' comment with the '// This is a property' comment"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "b7b5ac68f521105a55e5efbbc290762ae19e998a",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "f28812e795ef48e013b23d15cc250a11a65d1efb"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-comment-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
2016-10-06 18:45:04 +03:00
|
|
|
"Replaced the '// This is a property' comment with the '/*\n * This is a method\n*/' comment"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "f28812e795ef48e013b23d15cc250a11a65d1efb",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "94d3258258fc5dda40f68012a4a29a0699ae7198"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-comment-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
|
|
|
"Deleted the '/*\n * This is a method\n*/' comment",
|
2016-10-06 18:45:04 +03:00
|
|
|
"Deleted the '// This is a property' comment",
|
|
|
|
"Added the '/*\n * This is a method\n*/' comment"
|
2016-10-06 02:17:46 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "94d3258258fc5dda40f68012a4a29a0699ae7198",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "054b25777313237a3548f17e75ddf0036c8c4b97"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-comment-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
|
|
|
"Deleted the '// This is a property' comment"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "054b25777313237a3548f17e75ddf0036c8c4b97",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "446ac1dc79acd4f137b6d2a6eb894cb3377f82a5"
|
2016-10-06 02:17:46 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "javascript-comment-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"comment.js": [
|
|
|
|
"Deleted the '/*\n * This is a method\n*/' comment"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"comment.js"
|
|
|
|
],
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha1": "446ac1dc79acd4f137b6d2a6eb894cb3377f82a5",
|
2016-10-06 02:17:46 +03:00
|
|
|
"gitDir": "test/corpus/repos/javascript",
|
2016-10-06 18:45:04 +03:00
|
|
|
"sha2": "e744226ef998687c390e01091951dba025d40dfd"
|
2016-10-06 02:17:46 +03:00
|
|
|
}]
|