1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/corpus/diff-summaries/javascript/math-assignment-operator.json

309 lines
10 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-math-assignment-operator-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "d1711a33e14ac0a6c516afdd4885511a60f6a194",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "e6ca7254618b96bd13d5bf59abe523b6b7be0696"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "math-assignment-operator.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "e6ca7254618b96bd13d5bf59abe523b6b7be0696",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "624e4b3fcc902aad7ef2a8dd187c3504b004e01d"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"these": [
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced '2' with '1' in the x math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "624e4b3fcc902aad7ef2a8dd187c3504b004e01d",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "21d4e2aa872d6526c9ec132d7aa405034c1d5b4e"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-replacement-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"these": [
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced '1' with '2' in the x math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "21d4e2aa872d6526c9ec132d7aa405034c1d5b4e",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "849e0b35b93b33918caade8c41161658008ce343"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "math-assignment-operator.js",
"end": [
2,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "math-assignment-operator.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "849e0b35b93b33918caade8c41161658008ce343",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "381a333198f364cf59bad22b46744c406fe5b1db"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "381a333198f364cf59bad22b46744c406fe5b1db",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "a8136c633b138aba118c5ca17cefb2ed101687cf"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-rest-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "a8136c633b138aba118c5ca17cefb2ed101687cf",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "312b5471c29b4f453f6c99ef1d2b0192b8075191"
2016-10-11 18:12:20 +03:00
}]