Skip to content

Commit aa55beb

Browse files
committed
Update tests
1 parent 7dbc96b commit aa55beb

7 files changed

+43
-72
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
*****
22
Content-Type: application/json; charset=utf-8
33

4-
{"layers":[{
5-
"name": "fields_alias",
6-
"type": "FeatureCollection",
4+
{"type": "FeatureCollection",
75
"features":[
86
{
97
"type":"Feature",
10-
"id":2,
8+
"id":"fields_alias.2",
119
"geometry":null,
1210
"properties":{
1311
"alias_id":3,
1412
"alias_name":"three",
1513
"utf8nameè":"three èé↓"
1614
}
17-
}
18-
]}]}
15+
}]}
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
*****
22
Content-Type: application/json; charset=utf-8
33

4-
{"layers":[{
5-
"name": "exclude_attribute",
6-
"type": "FeatureCollection",
4+
{"type": "FeatureCollection",
75
"features":[
86
{
97
"type":"Feature",
10-
"id":2,
8+
"id":"exclude_attribute.2",
119
"geometry":null,
1210
"properties":{
1311
"id":3,
1412
"utf8nameè":"three èé↓"
1513
}
16-
}
17-
]}]}
14+
}]}
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
*****
22
Content-Type: application/geo+json; charset=utf-8
33

4-
{
5-
"layers":[{
6-
"name": "testlayer èé",
7-
"type": "FeatureCollection",
4+
{"type": "FeatureCollection",
85
"features":[
96
{
107
"type":"Feature",
11-
"id":2,
8+
"id":"testlayer èé.2",
129
"geometry":null,
1310
"properties":{
1411
"id":3,
1512
"name":"three",
1613
"utf8nameè":"three èé↓"
1714
}
18-
}
19-
]}]}
15+
}]}
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
*****
22
Content-Type: application/json; charset=utf-8
33

4-
{"layers":[{
5-
"name": "testlayer èé",
6-
"type": "FeatureCollection",
4+
{"type": "FeatureCollection",
75
"features":[
86
{
97
"type":"Feature",
10-
"id":2,
8+
"id":"testlayer èé.2",
119
"geometry":
1210
{"type": "Point", "coordinates": [8.203459, 44.901395]},
1311
"properties":{
1412
"id":3,
1513
"name":"three",
1614
"utf8nameè":"three èé↓"
1715
}
18-
}
19-
]}]}
16+
}]}
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
*****
22
Content-Type: application/json; charset=utf-8
33

4-
{
5-
"layers":[{
6-
"name": "testlayer èé",
7-
"type": "FeatureCollection",
4+
{"type": "FeatureCollection",
85
"features":[
96
{
107
"type":"Feature",
11-
"id":2,
8+
"id":"testlayer èé.2",
129
"geometry":null,
1310
"properties":{
1411
"id":3,
1512
"name":"three",
1613
"utf8nameè":"three èé↓"
1714
}
18-
}
19-
]}]}
15+
}]}
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,58 @@
11
*****
22
Content-Type: application/json; charset=utf-8
33

4-
{"layers":[{
5-
"name": "testlayer èé",
6-
"type": "FeatureCollection",
4+
{"type": "FeatureCollection",
75
"features":[
86
{
97
"type":"Feature",
10-
"id":0,
8+
"id":"testlayer èé.0",
119
"geometry":null,
1210
"properties":{
1311
"id":1,
1412
"name":"one",
1513
"utf8nameè":"one èé"
1614
}
17-
},
18-
{
15+
},{
1916
"type":"Feature",
20-
"id":1,
17+
"id":"testlayer èé.1",
2118
"geometry":null,
2219
"properties":{
2320
"id":2,
2421
"name":"two",
2522
"utf8nameè":"two àò"
2623
}
27-
}
28-
]},{
29-
"name": "fields_alias",
30-
"type": "FeatureCollection",
31-
"features":[
32-
{
24+
},{
3325
"type":"Feature",
34-
"id":0,
26+
"id":"fields_alias.0",
3527
"geometry":null,
3628
"properties":{
3729
"alias_id":1,
3830
"alias_name":"one",
3931
"utf8nameè":"one èé"
4032
}
41-
},
42-
{
33+
},{
4334
"type":"Feature",
44-
"id":1,
35+
"id":"fields_alias.1",
4536
"geometry":null,
4637
"properties":{
4738
"alias_id":2,
4839
"alias_name":"two",
4940
"utf8nameè":"two àò"
5041
}
51-
}
52-
]},{
53-
"name": "exclude_attribute",
54-
"type": "FeatureCollection",
55-
"features":[
56-
{
42+
},{
5743
"type":"Feature",
58-
"id":0,
44+
"id":"exclude_attribute.0",
5945
"geometry":null,
6046
"properties":{
6147
"id":1,
6248
"utf8nameè":"one èé"
6349
}
64-
},
65-
{
50+
},{
6651
"type":"Feature",
67-
"id":1,
52+
"id":"exclude_attribute.1",
6853
"geometry":null,
6954
"properties":{
7055
"id":2,
7156
"utf8nameè":"two àò"
7257
}
73-
}
74-
]}]}
58+
}]}
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
*****
22
Content-Type: application/json; charset=utf-8
33

4-
{"layers":[{
5-
"name": "landsat",
6-
"Band 1": "125",
7-
"Band 2": "138",
8-
"Band 3": "112",
9-
"Band 4": "75",
10-
"Band 5": "90",
11-
"Band 6": "132",
12-
"Band 7": "165",
13-
"Band 8": "217",
14-
"Band 9": "175"
4+
{"type": "FeatureCollection",
5+
"features":[
6+
{"type":"Feature",
7+
"id":"landsat",
8+
"properties":{
9+
"Band 1": "125",
10+
"Band 2": "138",
11+
"Band 3": "112",
12+
"Band 4": "75",
13+
"Band 5": "90",
14+
"Band 6": "132",
15+
"Band 7": "165",
16+
"Band 8": "217",
17+
"Band 9": "175"
18+
}
1519
}]}

0 commit comments

Comments
 (0)