1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/test/corpus/diff-summaries/javascript/anonymous-parameterless-function.json

309 lines
10 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-anonymous-parameterless-function-insert-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
28
]
}
},
"summary": "Added an anonymous() function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "243878b6c3b6f74b080ea4f2188dffe5f3ca5517",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "514143027c392e84ae25e96805949caab52f1561"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-replacement-insert-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
31
]
}
},
"summary": "Added an anonymous() function",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
2,
28
]
}
},
"summary": "Added an anonymous() function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "514143027c392e84ae25e96805949caab52f1561",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "b563ad1a2f183b9aa3eeaebd30a4d8b19b9a7a11"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-insert-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"these": [
{
"start": [
1,
21
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
28
]
},
{
"start": [
1,
21
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
25
]
}
]
},
"summary": "Replaced the 'hello' string with the 'hi' string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "b563ad1a2f183b9aa3eeaebd30a4d8b19b9a7a11",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "f44fd8faf60a62826c1149b797d4c6de9758c2cb"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-replacement-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"these": [
{
"start": [
1,
21
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
25
]
},
{
"start": [
1,
21
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
28
]
}
]
},
"summary": "Replaced the 'hi' string with the 'hello' string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "f44fd8faf60a62826c1149b797d4c6de9758c2cb",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "76bb7e8592f8fced41f61f81538c202b3c5fb3df"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-replacement-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
31
]
}
},
"summary": "Deleted an anonymous() function",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
2,
28
]
}
},
"summary": "Deleted an anonymous() function",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
2,
31
]
}
},
"summary": "Added an anonymous() function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "76bb7e8592f8fced41f61f81538c202b3c5fb3df",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "bcc25dd39ebe005c0282ddea0611c7039fc70ec8"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
28
]
}
},
"summary": "Deleted an anonymous() function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "bcc25dd39ebe005c0282ddea0611c7039fc70ec8",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "425b3995f55840eef8727deb5c9b6bf82b47dfbe"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-rest-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "anonymous-parameterless-function.js",
"end": [
1,
31
]
}
},
"summary": "Deleted an anonymous() function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "425b3995f55840eef8727deb5c9b6bf82b47dfbe",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "96217c240d7773372a78d2a23601a4a97459fcad"
2016-10-11 18:12:20 +03:00
}]