[test-runner] Add new metrics
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"network": [
|
||||
[
|
||||
"probeNetwork - default - end",
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
"probeNetwork - default - start",
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"gfx": [
|
||||
[
|
||||
"probeGFX - default - end",
|
||||
5,
|
||||
4,
|
||||
13,
|
||||
1,
|
||||
[
|
||||
49152,
|
||||
49152
|
||||
],
|
||||
[
|
||||
286,
|
||||
286
|
||||
],
|
||||
[
|
||||
528,
|
||||
528
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"network": [
|
||||
[
|
||||
"probeNetwork - default - end",
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
"probeNetwork - default - start",
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"gfx": [
|
||||
[
|
||||
"probeGFX - default - end",
|
||||
5,
|
||||
4,
|
||||
13,
|
||||
1,
|
||||
[
|
||||
49152,
|
||||
49152
|
||||
],
|
||||
[
|
||||
286,
|
||||
286
|
||||
],
|
||||
[
|
||||
528,
|
||||
528
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"network": [
|
||||
[
|
||||
"probeNetwork - default - end",
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
"probeNetwork - default - start",
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"gfx": [
|
||||
[
|
||||
"probeGFX - default - end",
|
||||
5,
|
||||
4,
|
||||
13,
|
||||
1,
|
||||
[
|
||||
49152,
|
||||
49152
|
||||
],
|
||||
[
|
||||
286,
|
||||
286
|
||||
],
|
||||
[
|
||||
528,
|
||||
528
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"network": [
|
||||
[
|
||||
"probeNetwork - default - end",
|
||||
0,
|
||||
0
|
||||
],
|
||||
[
|
||||
"probeNetwork - default - start",
|
||||
0,
|
||||
0
|
||||
]
|
||||
],
|
||||
"gfx": [
|
||||
[
|
||||
"probeGFX - default - end",
|
||||
5,
|
||||
4,
|
||||
13,
|
||||
1,
|
||||
[
|
||||
49152,
|
||||
49152
|
||||
],
|
||||
[
|
||||
286,
|
||||
286
|
||||
],
|
||||
[
|
||||
528,
|
||||
528
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -165,7 +165,7 @@ ParseResult Within::parse(const Convertible& value, ParsingContext& ctx) {
|
||||
mbgl::Feature f(geometrySet);
|
||||
PolygonFeature polyFeature(f, CanonicalTileID(0, 0, 0));
|
||||
auto refinedGeoSet = convertGeometry(polyFeature, CanonicalTileID(0, 0, 0));
|
||||
return ParseResult(std::make_unique<Within>(*parsedValue, refinedGeoSet));
|
||||
return ParseResult(std::make_unique<Within>(*parsedValue, std::move(refinedGeoSet)));
|
||||
},
|
||||
[&ctx](const auto&) {
|
||||
ctx.error("'within' expression requires geojson source that contains valid geometry data.");
|
||||
|
||||
Reference in New Issue
Block a user