2016-10-24 20:43:31 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"boolean-operator.rb": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'a || b' boolean operator"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "2caa111b93cdfe27ee688fb42530d61864469f6b",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "faad322f699f2a7fb2990780784d9529af39cc7f"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"boolean-operator.rb": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'a && b' boolean operator"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'a || b' boolean operator"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "faad322f699f2a7fb2990780784d9529af39cc7f",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "9a57303b29bf4cbb11738e59e468bdc4366f25d9"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "9a57303b29bf4cbb11738e59e468bdc4366f25d9",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "e51568da3aae485740ddcab0189c9b4703400e94"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "e51568da3aae485740ddcab0189c9b4703400e94",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "6880c7cf332b31828250e1e75d1ac18a57b4926e"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"boolean-operator.rb": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'a && b' boolean operator"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "6880c7cf332b31828250e1e75d1ac18a57b4926e",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "89ab2dfb35b8cda6ba447f4d828e37045188f45d"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"boolean-operator.rb": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'a || b' boolean operator"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "89ab2dfb35b8cda6ba447f4d828e37045188f45d",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "e87be6da82d448919e23cb217cb6fad4efe4e70a"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"boolean-operator.rb": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'a && b' boolean operator"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"boolean-operator.rb"
|
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "e87be6da82d448919e23cb217cb6fad4efe4e70a",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "7438fb657d6bcd7152c24972bb0a5ff08d265cdf"
|
2016-10-24 20:43:31 +03:00
|
|
|
}]
|