2016-10-06 18:45:04 +03:00
[ {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-insert-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"insert" : {
"start" : [
1 ,
1
] ,
"end" : [
1 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
30
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { namedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
37
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
29
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 as default } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { 'foo' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
43
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, nameN } from 'foo' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
65
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { import1 as name1, import2 as name2, nameN } from 'bar' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "72504548152052efd94fe6f1209747c34ea4fc1d" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "90c7996275782b55e27c09e44796f14a46053637"
2016-10-06 18:45:04 +03:00
}
, {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-replacement-insert-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"insert" : {
"start" : [
1 ,
1
] ,
"end" : [
1 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { variable2 as name2, variable3 as name3, nameY } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name3, name4, nameT } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name2 = value2, name3 = value3, name4, nameO } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
35
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { otherNamedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { newName1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name2 as statement } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { 'baz' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
44
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name7, name8, nameP } from 'buzz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
66
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { import6 as name6, import7 as name7, nameB } from 'fizz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
12 ,
1
] ,
"end" : [
12 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
13 ,
1
] ,
"end" : [
13 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
14 ,
1
] ,
"end" : [
14 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
15 ,
1
] ,
"end" : [
15 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
16 ,
1
] ,
"end" : [
16 ,
30
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { namedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
17 ,
1
] ,
"end" : [
17 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
18 ,
1
] ,
"end" : [
18 ,
37
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
19 ,
1
] ,
"end" : [
19 ,
29
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 as default } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
20 ,
1
] ,
"end" : [
20 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { 'foo' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
21 ,
1
] ,
"end" : [
21 ,
43
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, nameN } from 'foo' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
22 ,
1
] ,
"end" : [
22 ,
65
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { import1 as name1, import2 as name2, nameN } from 'bar' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "90c7996275782b55e27c09e44796f14a46053637" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "ef1adc8d77ae11e64e2b22e2c44c708211cd1dd8"
2016-10-06 18:45:04 +03:00
}
, {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-delete-insert-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"replace" : [
{
"start" : [
1 ,
10
] ,
"end" : [
1 ,
15
]
} ,
{
"start" : [
1 ,
10
] ,
"end" : [
1 ,
15
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name4' identifier with the 'name1' identifier in the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
1 ,
17
] ,
"end" : [
1 ,
22
]
} ,
{
"start" : [
1 ,
17
] ,
"end" : [
1 ,
22
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name5' identifier with the 'name2' identifier in the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
1 ,
24
] ,
"end" : [
1 ,
29
]
} ,
{
"start" : [
1 ,
24
] ,
"end" : [
1 ,
29
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name6' identifier with the 'name3' identifier in the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
1 ,
31
] ,
"end" : [
1 ,
36
]
} ,
{
"start" : [
1 ,
31
] ,
"end" : [
1 ,
36
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'nameZ' identifier with the 'nameN' identifier in the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
2 ,
10
] ,
"end" : [
2 ,
19
]
} ,
{
"start" : [
2 ,
10
] ,
"end" : [
2 ,
19
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'variable2' identifier with the 'variable1' identifier in the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
2 ,
23
] ,
"end" : [
2 ,
28
]
} ,
{
"start" : [
2 ,
23
] ,
"end" : [
2 ,
28
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name2' identifier with the 'name1' identifier in the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
2 ,
30
] ,
"end" : [
2 ,
39
]
} ,
{
"start" : [
2 ,
30
] ,
"end" : [
2 ,
39
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'variable3' identifier with the 'variable2' identifier in the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
2 ,
43
] ,
"end" : [
2 ,
48
]
} ,
{
"start" : [
2 ,
43
] ,
"end" : [
2 ,
48
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name3' identifier with the 'name2' identifier in the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
2 ,
50
] ,
"end" : [
2 ,
55
]
} ,
{
"start" : [
2 ,
50
] ,
"end" : [
2 ,
55
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'nameY' identifier with the 'nameN' identifier in the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
3 ,
12
] ,
"end" : [
3 ,
17
]
} ,
{
"start" : [
3 ,
12
] ,
"end" : [
3 ,
17
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name3' identifier with the 'name1' identifier in the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
3 ,
19
] ,
"end" : [
3 ,
24
]
} ,
{
"start" : [
3 ,
19
] ,
"end" : [
3 ,
24
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name4' identifier with the 'name2' identifier in the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
3 ,
26
] ,
"end" : [
3 ,
31
]
} ,
{
"start" : [
3 ,
26
] ,
"end" : [
3 ,
31
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'nameT' identifier with the 'nameN' identifier in the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
4 ,
12
] ,
"end" : [
4 ,
17
]
} ,
{
"start" : [
4 ,
12
] ,
"end" : [
4 ,
17
]
}
]
} ,
2016-10-11 23:17:34 +03:00
"summary" : "Replaced the 'name2' identifier with the 'name1' identifier in the name1 var assignment"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
4 ,
20
] ,
"end" : [
4 ,
26
]
} ,
{
"start" : [
4 ,
20
] ,
"end" : [
4 ,
26
]
}
]
} ,
2016-10-11 23:17:34 +03:00
"summary" : "Replaced the 'value2' identifier with the 'value1' identifier in the name1 var assignment"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
4 ,
28
] ,
"end" : [
4 ,
33
]
} ,
{
"start" : [
4 ,
28
] ,
"end" : [
4 ,
33
]
}
]
} ,
2016-10-11 23:17:34 +03:00
"summary" : "Replaced the 'name3' identifier with the 'name2' identifier in the name2 var assignment"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
4 ,
36
] ,
"end" : [
4 ,
42
]
} ,
{
"start" : [
4 ,
36
] ,
"end" : [
4 ,
42
]
}
]
} ,
2016-10-11 23:17:34 +03:00
"summary" : "Replaced the 'value3' identifier with the 'value2' identifier in the name2 var assignment"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
4 ,
44
] ,
"end" : [
4 ,
49
]
} ,
{
"start" : [
4 ,
44
] ,
"end" : [
4 ,
49
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name4' identifier with the 'name3' identifier in the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
4 ,
51
] ,
"end" : [
4 ,
56
]
} ,
{
"start" : [
4 ,
51
] ,
"end" : [
4 ,
56
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'nameO' identifier with the 'nameN' identifier in the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
5 ,
16
] ,
"end" : [
5 ,
34
]
} ,
{
"start" : [
5 ,
16
] ,
"end" : [
5 ,
29
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'otherNamedFunction' identifier with the 'namedFunction' identifier in the { namedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
2016-10-14 19:18:46 +03:00
"replace" : [
{
"start" : [
6 ,
25
] ,
"end" : [
6 ,
33
]
} ,
{
"start" : [
7 ,
25
] ,
"end" : [
7 ,
30
]
}
]
2016-10-13 02:44:27 +03:00
} ,
2016-10-14 19:18:46 +03:00
"summary" : "Replaced the 'newName1' identifier with the 'name1' identifier in the name1 function"
} ,
{
"span" : {
"replace" : [
{
"start" : [
6 ,
36
] ,
"end" : [
6 ,
38
]
} ,
{
"start" : [
7 ,
33
] ,
"end" : [
7 ,
36
]
}
]
} ,
"summary" : "Replaced the '{}' expression statements with the '{ }' expression statements in the name1 function"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
29
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1 as default } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { 'foo' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
43
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name1, name2, nameN } from 'foo' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
65
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { import1 as name1, import2 as name2, nameN } from 'bar' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name2 as statement } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { 'baz' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
44
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name7, name8, nameP } from 'buzz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
66
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { import6 as name6, import7 as name7, nameB } from 'fizz' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "ef1adc8d77ae11e64e2b22e2c44c708211cd1dd8" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "d1c4f0521a19820abb7c362835743afc7229e34a"
2016-10-06 18:45:04 +03:00
}
, {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-replacement-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"replace" : [
{
"start" : [
1 ,
10
] ,
"end" : [
1 ,
15
]
} ,
{
"start" : [
1 ,
10
] ,
"end" : [
1 ,
15
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name1' identifier with the 'name4' identifier in the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
1 ,
17
] ,
"end" : [
1 ,
22
]
} ,
{
"start" : [
1 ,
17
] ,
"end" : [
1 ,
22
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name2' identifier with the 'name5' identifier in the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
1 ,
24
] ,
"end" : [
1 ,
29
]
} ,
{
"start" : [
1 ,
24
] ,
"end" : [
1 ,
29
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'name3' identifier with the 'name6' identifier in the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"replace" : [
{
"start" : [
1 ,
31
] ,
"end" : [
1 ,
36
]
} ,
{
"start" : [
1 ,
31
] ,
"end" : [
1 ,
36
]
}
]
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Replaced the 'nameN' identifier with the 'nameZ' identifier in the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { variable2 as name2, variable3 as name3, nameY } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name3, name4, nameT } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name2 = value2, name3 = value3, name4, nameO } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
35
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { otherNamedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { newName1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name2 as statement } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { 'baz' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
44
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name7, name8, nameP } from 'buzz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
66
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { import6 as name6, import7 as name7, nameB } from 'fizz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
30
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { namedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
37
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
29
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 as default } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { 'foo' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
43
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, nameN } from 'foo' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
65
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { import1 as name1, import2 as name2, nameN } from 'bar' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "d1c4f0521a19820abb7c362835743afc7229e34a" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "788f0b94417dd9cc2fec8df60316d5bfbc334cd7"
2016-10-06 18:45:04 +03:00
}
, {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-delete-replacement-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"delete" : {
"start" : [
1 ,
1
] ,
"end" : [
1 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { variable2 as name2, variable3 as name3, nameY } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name3, name4, nameT } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name2 = value2, name3 = value3, name4, nameO } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
35
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { otherNamedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { newName1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name2 as statement } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { 'baz' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
44
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name7, name8, nameP } from 'buzz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
66
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { import6 as name6, import7 as name7, nameB } from 'fizz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
12 ,
1
] ,
"end" : [
12 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
13 ,
1
] ,
"end" : [
13 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
14 ,
1
] ,
"end" : [
14 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
15 ,
1
] ,
"end" : [
15 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
16 ,
1
] ,
"end" : [
16 ,
30
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { namedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
17 ,
1
] ,
"end" : [
17 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
18 ,
1
] ,
"end" : [
18 ,
37
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
19 ,
1
] ,
"end" : [
19 ,
29
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 as default } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
20 ,
1
] ,
"end" : [
20 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { 'foo' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
21 ,
1
] ,
"end" : [
21 ,
43
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, nameN } from 'foo' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
22 ,
1
] ,
"end" : [
22 ,
65
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { import1 as name1, import2 as name2, nameN } from 'bar' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
12 ,
1
] ,
"end" : [
12 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
13 ,
1
] ,
"end" : [
13 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { variable2 as name2, variable3 as name3, nameY } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
14 ,
1
] ,
"end" : [
14 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name3, name4, nameT } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
15 ,
1
] ,
"end" : [
15 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name2 = value2, name3 = value3, name4, nameO } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
16 ,
1
] ,
"end" : [
16 ,
35
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { otherNamedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
17 ,
1
] ,
"end" : [
17 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { newName1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
18 ,
1
] ,
"end" : [
18 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
19 ,
1
] ,
"end" : [
19 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name2 as statement } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
20 ,
1
] ,
"end" : [
20 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { 'baz' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
21 ,
1
] ,
"end" : [
21 ,
44
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { name7, name8, nameP } from 'buzz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"insert" : {
"start" : [
22 ,
1
] ,
"end" : [
22 ,
66
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Added the { import6 as name6, import7 as name7, nameB } from 'fizz' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "788f0b94417dd9cc2fec8df60316d5bfbc334cd7" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "9b5c99359477beeb721e00c21ba20ac646acc43e"
2016-10-06 18:45:04 +03:00
}
, {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-delete-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"delete" : {
"start" : [
1 ,
1
] ,
"end" : [
1 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { variable1 as name1, variable2 as name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 = value1, name2 = value2, name3, nameN } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
30
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { namedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
37
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
29
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1 as default } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { 'foo' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
43
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name1, name2, nameN } from 'foo' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
65
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { import1 as name1, import2 as name2, nameN } from 'bar' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "9b5c99359477beeb721e00c21ba20ac646acc43e" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "299ccb9aee08812e9f435c5036adc6266e0b64e7"
2016-10-06 18:45:04 +03:00
}
, {
2016-10-10 20:39:22 +03:00
"testCaseDescription" : "javascript-export-delete-rest-test" ,
2016-10-06 18:45:04 +03:00
"expectedResult" : {
"changes" : {
2016-10-10 20:39:22 +03:00
"export.js" : [
2016-10-11 20:03:43 +03:00
{
"span" : {
"delete" : {
"start" : [
1 ,
1
] ,
"end" : [
1 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name4, name5, name6, nameZ } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
2 ,
1
] ,
"end" : [
2 ,
58
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { variable2 as name2, variable3 as name3, nameY } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
3 ,
1
] ,
"end" : [
3 ,
32
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name3, name4, nameT } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
4 ,
1
] ,
"end" : [
4 ,
57
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name2 = value2, name3 = value3, name4, nameO } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
5 ,
1
] ,
"end" : [
5 ,
35
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { otherNamedFunction } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
6 ,
1
] ,
"end" : [
6 ,
39
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { newName1 } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
7 ,
1
] ,
"end" : [
7 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { anonymous() } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
8 ,
1
] ,
"end" : [
8 ,
31
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name2 as statement } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
9 ,
1
] ,
"end" : [
9 ,
21
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { 'baz' } export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
10 ,
1
] ,
"end" : [
10 ,
44
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { name7, name8, nameP } from 'buzz' export statement"
2016-10-11 20:03:43 +03:00
} ,
{
"span" : {
"delete" : {
"start" : [
11 ,
1
] ,
"end" : [
11 ,
66
]
}
} ,
2016-10-13 19:56:27 +03:00
"summary" : "Deleted the { import6 as name6, import7 as name7, nameB } from 'fizz' export statement"
2016-10-11 20:03:43 +03:00
}
2016-10-06 18:45:04 +03:00
]
} ,
"errors" : { }
} ,
"filePaths" : [
2016-10-10 20:39:22 +03:00
"export.js"
2016-10-06 18:45:04 +03:00
] ,
2016-10-14 19:18:46 +03:00
"sha1" : "299ccb9aee08812e9f435c5036adc6266e0b64e7" ,
2016-10-06 18:45:04 +03:00
"gitDir" : "test/corpus/repos/javascript" ,
2016-10-14 19:18:46 +03:00
"sha2" : "0821116298aea39bc51aeeda2acba727693341b3"
2016-10-06 18:45:04 +03:00
} ]