mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
369 lines
12 KiB
JSON
369 lines
12 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-math-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i + j * 3 - j % 5' math operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "a871e92442fa237af75a13a311d49a15bcea9444",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "6e6e7267c1e6bc551379dbdf39e3d4ca59d4a60c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i + j * 2 - j % 4' math operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i + j * 3 - j % 5' math operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "6e6e7267c1e6bc551379dbdf39e3d4ca59d4a60c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bf33c9910dcfad10ffafd330c0adff6b7a7f262a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
9
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
9
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '2' with '3'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '4' with '5'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "bf33c9910dcfad10ffafd330c0adff6b7a7f262a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bd78c2dd93219f462c6a6823267bd327c14094db"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
9
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
9
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '3' with '2'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '5' with '4'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "bd78c2dd93219f462c6a6823267bd327c14094db",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "413c0d316184bb443b4facd4aec46b4b04f0df71"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i + j * 2 - j % 4' math operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i + j * 3 - j % 5' math operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i + j * 2 - j % 4' math operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "413c0d316184bb443b4facd4aec46b4b04f0df71",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "fb9ae3c73391e3158c898052fa343bb7bf98394b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i + j * 3 - j % 5' math operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "fb9ae3c73391e3158c898052fa343bb7bf98394b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9d2684586034ffe1cd50891ac950f9bc2bf40d2e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i + j * 2 - j % 4' math operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "9d2684586034ffe1cd50891ac950f9bc2bf40d2e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d7edfafd0028d88e036ad5af083bd4c0eaf821d5"
|
|
}]
|