summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorIvo van Dongen <info@ivovandongen.nl>2017-03-31 18:08:15 +0300
committerIvo van Dongen <ivovandongen@users.noreply.github.com>2017-04-04 18:31:11 +0300
commit1d1ea2fa2489e817538a2f7109b9687e1d72bbdf (patch)
tree6fad83c931175ac63530fc9cdf3dbb54778f4093 /test/fixtures
parent705caf0f269af30f4aa72e314034f2225d7a9be1 (diff)
downloadqtlocation-mapboxgl-1d1ea2fa2489e817538a2f7109b9687e1d72bbdf.tar.gz
[core] fixup stale constants references in test fixtures
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/style_parser/colors.info.json1
-rw-r--r--test/fixtures/style_parser/colors.style.json11
-rw-r--r--test/fixtures/style_parser/stop-zoom-value.style.json2
3 files changed, 5 insertions, 9 deletions
diff --git a/test/fixtures/style_parser/colors.info.json b/test/fixtures/style_parser/colors.info.json
index 9c25a2f488..82f93d299b 100644
--- a/test/fixtures/style_parser/colors.info.json
+++ b/test/fixtures/style_parser/colors.info.json
@@ -1,6 +1,7 @@
{
"default": {
"log": [
+ [2, "WARNING", "ParseStyle", "value must be a valid color"]
]
}
}
diff --git a/test/fixtures/style_parser/colors.style.json b/test/fixtures/style_parser/colors.style.json
index 8996548885..7bec578df1 100644
--- a/test/fixtures/style_parser/colors.style.json
+++ b/test/fixtures/style_parser/colors.style.json
@@ -1,10 +1,5 @@
{
"version": 8,
- "constants": {
- "@land": "r44,239,225)",
- "@snow": "f4f8foNGbjf#",
- "@crop": "#eerLznieed4"
- },
"sources": {
"mapbox": {
"type": "vector",
@@ -16,7 +11,7 @@
"id": "background",
"type": "background",
"paint": {
- "background-color": "@land"
+ "background-color": "rgb(44,239,225)"
}
}, {
"id": "landcover_snow",
@@ -25,7 +20,7 @@
"source-layer": "landcover",
"filter": ["==", "class", "snow"],
"paint": {
- "fill-color": "@snow"
+ "fill-color": "f4f8foNGbjf#"
}
}, {
"id": "landcover_crop",
@@ -34,7 +29,7 @@
"source-layer": "landcover",
"filter": ["==", "class", "crop"],
"paint": {
- "fill-color": "@crop"
+ "fill-color": "#eerLznieed4"
}
}]
}
diff --git a/test/fixtures/style_parser/stop-zoom-value.style.json b/test/fixtures/style_parser/stop-zoom-value.style.json
index 520db9a904..b96736535b 100644
--- a/test/fixtures/style_parser/stop-zoom-value.style.json
+++ b/test/fixtures/style_parser/stop-zoom-value.style.json
@@ -36,7 +36,7 @@
"source-layer": "landcover",
"filter": ["==", "class", "wood"],
"paint": {
- "fill-color": "@wood",
+ "fill-color": "#001100",
"fill-opacity": {
"stops": [[12, 1], [13, 0.8], [16, 0.2]]
}