1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/javascript/comment.json

123 lines
3.5 KiB
JSON
Raw Normal View History

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"
],
"sha1": "e797ca2c748a6d42d67875240942d0876fd66cbc",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"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"
],
"sha1": "9b44781137dd99590dc0b1ee7f175d7554fc19c1",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "b7b5ac68f521105a55e5efbbc290762ae19e998a"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-comment-delete-insert-test",
"expectedResult": {
"changes": {
"comment.js": [
"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"
],
"sha1": "b7b5ac68f521105a55e5efbbc290762ae19e998a",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "f28812e795ef48e013b23d15cc250a11a65d1efb"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-comment-replacement-test",
"expectedResult": {
"changes": {
"comment.js": [
"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"
],
"sha1": "f28812e795ef48e013b23d15cc250a11a65d1efb",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"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",
"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"
],
"sha1": "94d3258258fc5dda40f68012a4a29a0699ae7198",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"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"
],
"sha1": "054b25777313237a3548f17e75ddf0036c8c4b97",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"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"
],
"sha1": "446ac1dc79acd4f137b6d2a6eb894cb3377f82a5",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "e744226ef998687c390e01091951dba025d40dfd"
2016-10-06 02:17:46 +03:00
}]