mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
227 lines
6.3 KiB
JSON
227 lines
6.3 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-class-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "9af6525d466cb43bfc5674e74cf68d02b5bea736",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "5cf4ad35159f5e460ae78a1506a1b87b91389475"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "5cf4ad35159f5e460ae78a1506a1b87b91389475",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d7b711595b014c73a80fc07a4da9794566f8907a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "d7b711595b014c73a80fc07a4da9794566f8907a",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "0a82413651ece3413a1740cccbf191a9c567710f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "0a82413651ece3413a1740cccbf191a9c567710f",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "68b29de05b793eb2574b2f98fab7e7fa0c37e038"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "68b29de05b793eb2574b2f98fab7e7fa0c37e038",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "b97a53245901d06d6922d7d054a30b2302bc666b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "b97a53245901d06d6922d7d054a30b2302bc666b",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "fe122d4f56209f43da811abddb0b93c65ea1e4db"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "fe122d4f56209f43da811abddb0b93c65ea1e4db",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "bbab8bcbdaf0110874eea67f72672a7c975516c3"
|
|
}]
|