2016-10-22 00:41:04 +03:00
[ {
"testCaseDescription" : "ruby-delimiter-insert-test" ,
"expectedResult" : {
2016-10-26 20:14:39 +03:00
"changes" : { } ,
"errors" : {
2016-10-22 00:41:04 +03:00
"delimiter.rb" : [
{
"span" : {
"insert" : {
"start" : [
1 ,
1
] ,
"end" : [
7 ,
1
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Added the '%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 7, column 1"
2016-10-22 00:41:04 +03:00
}
]
2016-10-26 20:14:39 +03:00
}
2016-10-22 00:41:04 +03:00
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "7339f692ac4448fdbb9a0d8396faaec7ad69c22d" ,
2016-10-22 00:41:04 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "4ccb7685b3ef0525241fc609922e075870e94111"
2016-10-22 00:41:04 +03:00
}
, {
2016-10-26 20:14:39 +03:00
"testCaseDescription" : "ruby-delimiter-replacement-insert-test" ,
2016-10-22 00:41:04 +03:00
"expectedResult" : {
"changes" : {
"delimiter.rb" : [
{
"span" : {
"replace" : [
2016-10-26 20:14:39 +03:00
{
"start" : [
1 ,
1
] ,
"end" : [
7 ,
1
]
} ,
{
"start" : [
1 ,
1
] ,
"end" : [
19 ,
1
]
}
]
2016-10-22 00:41:04 +03:00
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Replaced the '%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 7, column 1 with the '%q!b!\n%q{d{e}f}\n%!b!\n%Q!b!\n%{d{e}f}\n%Q{d{e}f}\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1"
2016-10-22 00:41:04 +03:00
}
]
} ,
"errors" : { }
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "4ccb7685b3ef0525241fc609922e075870e94111" ,
2016-10-22 00:41:04 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "ddde7ddf2f08f7272f0b1c568153148bb746d32d"
2016-10-22 00:41:04 +03:00
}
, {
2016-10-26 20:14:39 +03:00
"testCaseDescription" : "ruby-delimiter-delete-insert-test" ,
2016-10-22 00:41:04 +03:00
"expectedResult" : {
"changes" : {
"delimiter.rb" : [
{
"span" : {
"replace" : [
{
"start" : [
1 ,
1
] ,
"end" : [
2016-10-26 20:14:39 +03:00
19 ,
1
2016-10-22 00:41:04 +03:00
]
} ,
{
"start" : [
2016-10-26 20:14:39 +03:00
1 ,
2016-10-22 00:41:04 +03:00
1
] ,
"end" : [
2016-10-26 20:14:39 +03:00
19 ,
1
2016-10-22 00:41:04 +03:00
]
}
]
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Replaced the '%q!b!\n%q{d{e}f}\n%!b!\n%Q!b!\n%{d{e}f}\n%Q{d{e}f}\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1 with the '%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1"
2016-10-22 00:41:04 +03:00
}
]
} ,
"errors" : { }
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "ddde7ddf2f08f7272f0b1c568153148bb746d32d" ,
2016-10-22 00:41:04 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "8e02a86fe4d069745c5cdadc589093a13887e3b2"
2016-10-22 00:41:04 +03:00
}
, {
2016-10-26 20:14:39 +03:00
"testCaseDescription" : "ruby-delimiter-replacement-test" ,
2016-10-22 00:41:04 +03:00
"expectedResult" : {
"changes" : {
"delimiter.rb" : [
{
"span" : {
2016-10-26 20:14:39 +03:00
"replace" : [
{
"start" : [
1 ,
1
] ,
"end" : [
19 ,
1
]
} ,
{
"start" : [
1 ,
1
] ,
"end" : [
19 ,
1
]
}
]
2016-10-22 00:41:04 +03:00
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Replaced the '%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1 with the '%q!b!\n%q{d{e}f}\n%!b!\n%Q!b!\n%{d{e}f}\n%Q{d{e}f}\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1"
}
]
} ,
"errors" : { }
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "8e02a86fe4d069745c5cdadc589093a13887e3b2" ,
2016-10-26 20:14:39 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "21affb5a86156afee74fc2c804f9d7e4b4ea4d7b"
2016-10-26 20:14:39 +03:00
}
, {
"testCaseDescription" : "ruby-delimiter-delete-replacement-test" ,
"expectedResult" : {
"changes" : {
"delimiter.rb" : [
2016-10-22 00:41:04 +03:00
{
"span" : {
2016-10-26 20:14:39 +03:00
"replace" : [
{
"start" : [
1 ,
1
] ,
"end" : [
19 ,
1
]
} ,
{
"start" : [
1 ,
1
] ,
"end" : [
1 ,
4
]
}
]
2016-10-22 00:41:04 +03:00
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Replaced the '%q!b!\n%q{d{e}f}\n%!b!\n%Q!b!\n%{d{e}f}\n%Q{d{e}f}\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q=a=\n%q<a<b>c>\n%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1 with the '%q=' at line 1, column 1 - line 1, column 4"
}
]
} ,
"errors" : { }
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "21affb5a86156afee74fc2c804f9d7e4b4ea4d7b" ,
2016-10-26 20:14:39 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "cf5572e4a62114cad84a5c36db8c7437cba38c64"
2016-10-26 20:14:39 +03:00
}
, {
"testCaseDescription" : "ruby-delimiter-delete-test" ,
"expectedResult" : {
"changes" : {
"delimiter.rb" : [
2016-10-22 00:41:04 +03:00
{
"span" : {
2016-10-26 20:14:39 +03:00
"insert" : {
2016-10-22 00:41:04 +03:00
"start" : [
2016-10-26 20:14:39 +03:00
1 ,
4
2016-10-22 00:41:04 +03:00
] ,
"end" : [
2016-10-26 20:14:39 +03:00
2 ,
2016-10-22 00:41:04 +03:00
10
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Added the 'b(…)' function call"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
2016-10-26 20:14:39 +03:00
"insert" : {
2016-10-22 00:41:04 +03:00
"start" : [
2016-10-26 20:14:39 +03:00
3 ,
3
2016-10-22 00:41:04 +03:00
] ,
"end" : [
2016-10-26 20:14:39 +03:00
5 ,
9
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Added the 'b(…)' function call"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
2016-10-26 20:14:39 +03:00
1 ,
4
2016-10-22 00:41:04 +03:00
] ,
"end" : [
2016-10-26 20:14:39 +03:00
1 ,
5
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the 'a' identifier"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
2016-10-26 20:14:39 +03:00
2 ,
2016-10-22 00:41:04 +03:00
1
] ,
"end" : [
2016-10-26 20:14:39 +03:00
2 ,
2016-10-22 00:41:04 +03:00
10
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the %q<a<b>c> string"
}
]
} ,
"errors" : {
"delimiter.rb" : [
2016-10-22 00:41:04 +03:00
{
"span" : {
"insert" : {
"start" : [
2016-10-26 20:14:39 +03:00
1 ,
2016-10-22 00:41:04 +03:00
1
] ,
"end" : [
2016-10-26 20:14:39 +03:00
1 ,
3
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Added the '%q' at line 1, column 1 - line 1, column 3"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
2016-10-26 20:14:39 +03:00
3 ,
2016-10-22 00:41:04 +03:00
1
] ,
"end" : [
2016-10-26 20:14:39 +03:00
3 ,
2
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Added the '%' at line 3, column 1 - line 3, column 2"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
2016-10-26 20:14:39 +03:00
"delete" : {
2016-10-22 00:41:04 +03:00
"start" : [
2016-10-26 20:14:39 +03:00
1 ,
2016-10-22 00:41:04 +03:00
1
] ,
"end" : [
2016-10-26 20:14:39 +03:00
1 ,
4
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the '%q=' at line 1, column 1 - line 1, column 4"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
2016-10-26 20:14:39 +03:00
"delete" : {
2016-10-22 00:41:04 +03:00
"start" : [
2016-10-26 20:14:39 +03:00
3 ,
2016-10-22 00:41:04 +03:00
1
] ,
"end" : [
12 ,
1
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the '%=a=\n%Q=a=\n%<a<b>c>\n%Q<a<b>c>\n%q!b!\n%q{d{e}f}\n%!b!\n%Q!b!\n%{d{e}f}\n' at line 3, column 1 - line 12, column 1"
2016-10-22 00:41:04 +03:00
}
]
2016-10-26 20:14:39 +03:00
}
2016-10-22 00:41:04 +03:00
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "cf5572e4a62114cad84a5c36db8c7437cba38c64" ,
2016-10-22 00:41:04 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "cf7fb4ce922d27cb5752f6238382afd8f85e4d20"
2016-10-22 00:41:04 +03:00
}
, {
2016-10-26 20:14:39 +03:00
"testCaseDescription" : "ruby-delimiter-delete-rest-test" ,
2016-10-22 00:41:04 +03:00
"expectedResult" : {
"changes" : {
"delimiter.rb" : [
{
"span" : {
"delete" : {
"start" : [
1 ,
2016-10-26 20:14:39 +03:00
4
2016-10-22 00:41:04 +03:00
] ,
"end" : [
2 ,
10
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the 'b(…)' function call"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
3 ,
2016-10-26 20:14:39 +03:00
3
2016-10-22 00:41:04 +03:00
] ,
"end" : [
5 ,
9
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the 'b(…)' function call"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
10
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the %Q{d{e}f} string"
2016-10-22 00:41:04 +03:00
}
]
} ,
2016-10-26 20:14:39 +03:00
"errors" : {
2016-10-22 00:41:04 +03:00
"delimiter.rb" : [
{
"span" : {
"delete" : {
"start" : [
1 ,
1
] ,
"end" : [
1 ,
2016-10-26 20:14:39 +03:00
3
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the '%q' at line 1, column 1 - line 1, column 3"
2016-10-22 00:41:04 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
2016-10-26 20:14:39 +03:00
2
2016-10-22 00:41:04 +03:00
]
}
} ,
2016-10-26 20:14:39 +03:00
"summary" : "Deleted the '%' at line 3, column 1 - line 3, column 2"
2016-10-22 00:41:04 +03:00
}
]
2016-10-26 20:14:39 +03:00
}
2016-10-22 00:41:04 +03:00
} ,
"filePaths" : [
"delimiter.rb"
] ,
2016-10-26 22:54:21 +03:00
"sha1" : "cf7fb4ce922d27cb5752f6238382afd8f85e4d20" ,
2016-10-22 00:41:04 +03:00
"gitDir" : "test/corpus/repos/ruby" ,
2016-10-26 22:54:21 +03:00
"sha2" : "0468cfe94e73c0817aad8cb9b49ad1afaff3ef95"
2016-10-22 00:41:04 +03:00
} ]