summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-22 16:28:21 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-24 09:39:51 -0700
commit16c435b1517b15a5ea8654987979ef58800b838b (patch)
tree8f81c4e202e1337d0966a06f27842d45a113fded /test
parentc4e4cc5081965d03132eea754c27ece3c95961cb (diff)
downloadqtlocation-mapboxgl-16c435b1517b15a5ea8654987979ef58800b838b.tar.gz
[core, node] Implement bindings for addLayer
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/style_parser/circle-blur.info.json2
-rw-r--r--test/fixtures/style_parser/circle-blur.style.json2
-rw-r--r--test/fixtures/style_parser/circle-color.info.json2
-rw-r--r--test/fixtures/style_parser/circle-color.style.json2
-rw-r--r--test/fixtures/style_parser/circle-opacity.info.json2
-rw-r--r--test/fixtures/style_parser/circle-opacity.style.json2
-rw-r--r--test/fixtures/style_parser/circle-radius.info.json2
-rw-r--r--test/fixtures/style_parser/circle-radius.style.json2
-rw-r--r--test/fixtures/style_parser/function-numeric.info.json2
-rw-r--r--test/fixtures/style_parser/function-type.info.json2
-rw-r--r--test/fixtures/style_parser/line-opacity.info.json2
-rw-r--r--test/fixtures/style_parser/line-opacity.style.json2
-rw-r--r--test/fixtures/style_parser/line-translate.info.json2
-rw-r--r--test/fixtures/style_parser/line-translate.style.json2
-rw-r--r--test/fixtures/style_parser/line-width.info.json2
-rw-r--r--test/fixtures/style_parser/line-width.style.json2
-rw-r--r--test/fixtures/style_parser/stop-zoom-value.info.json2
-rw-r--r--test/fixtures/style_parser/stops-array.info.json2
-rw-r--r--test/fixtures/style_parser/text-size.info.json2
-rw-r--r--test/fixtures/style_parser/text-size.style.json2
20 files changed, 20 insertions, 20 deletions
diff --git a/test/fixtures/style_parser/circle-blur.info.json b/test/fixtures/style_parser/circle-blur.info.json
index 60306e20c8..40c4632c0e 100644
--- a/test/fixtures/style_parser/circle-blur.info.json
+++ b/test/fixtures/style_parser/circle-blur.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "circle-blur: value must be a number"]
+ [1, "WARNING", "ParseStyle", "value must be a number"]
]
}
}
diff --git a/test/fixtures/style_parser/circle-blur.style.json b/test/fixtures/style_parser/circle-blur.style.json
index 8140ad5e47..9c82142c21 100644
--- a/test/fixtures/style_parser/circle-blur.style.json
+++ b/test/fixtures/style_parser/circle-blur.style.json
@@ -12,7 +12,7 @@
"type": "circle",
"source": "mapbox",
"paint": {
- "circle-blur": null
+ "circle-blur": "no"
}
}]
}
diff --git a/test/fixtures/style_parser/circle-color.info.json b/test/fixtures/style_parser/circle-color.info.json
index 9d569ad53d..0dfa6371b7 100644
--- a/test/fixtures/style_parser/circle-color.info.json
+++ b/test/fixtures/style_parser/circle-color.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "circle-color: value must be a string"]
+ [1, "WARNING", "ParseStyle", "value must be a string"]
]
}
}
diff --git a/test/fixtures/style_parser/circle-color.style.json b/test/fixtures/style_parser/circle-color.style.json
index 44c32f99ce..e9c508304b 100644
--- a/test/fixtures/style_parser/circle-color.style.json
+++ b/test/fixtures/style_parser/circle-color.style.json
@@ -12,7 +12,7 @@
"type": "circle",
"source": "mapbox",
"paint": {
- "circle-color": null
+ "circle-color": 1
}
}]
}
diff --git a/test/fixtures/style_parser/circle-opacity.info.json b/test/fixtures/style_parser/circle-opacity.info.json
index bb77cebd1e..40c4632c0e 100644
--- a/test/fixtures/style_parser/circle-opacity.info.json
+++ b/test/fixtures/style_parser/circle-opacity.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "circle-opacity: value must be a number"]
+ [1, "WARNING", "ParseStyle", "value must be a number"]
]
}
}
diff --git a/test/fixtures/style_parser/circle-opacity.style.json b/test/fixtures/style_parser/circle-opacity.style.json
index 601e81a51b..a993182b1b 100644
--- a/test/fixtures/style_parser/circle-opacity.style.json
+++ b/test/fixtures/style_parser/circle-opacity.style.json
@@ -12,7 +12,7 @@
"type": "circle",
"source": "mapbox",
"paint": {
- "circle-opacity": null
+ "circle-opacity": "no"
}
}]
}
diff --git a/test/fixtures/style_parser/circle-radius.info.json b/test/fixtures/style_parser/circle-radius.info.json
index 285e962d74..40c4632c0e 100644
--- a/test/fixtures/style_parser/circle-radius.info.json
+++ b/test/fixtures/style_parser/circle-radius.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "circle-radius: value must be a number"]
+ [1, "WARNING", "ParseStyle", "value must be a number"]
]
}
}
diff --git a/test/fixtures/style_parser/circle-radius.style.json b/test/fixtures/style_parser/circle-radius.style.json
index a7fb28b2d3..f12cebff97 100644
--- a/test/fixtures/style_parser/circle-radius.style.json
+++ b/test/fixtures/style_parser/circle-radius.style.json
@@ -12,7 +12,7 @@
"type": "circle",
"source": "mapbox",
"paint": {
- "circle-radius": null
+ "circle-radius": "no"
}
}]
}
diff --git a/test/fixtures/style_parser/function-numeric.info.json b/test/fixtures/style_parser/function-numeric.info.json
index 906cccf106..7dd5a69561 100644
--- a/test/fixtures/style_parser/function-numeric.info.json
+++ b/test/fixtures/style_parser/function-numeric.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "line-width: function stop must be an array"]
+ [1, "WARNING", "ParseStyle", "function stop must be an array"]
]
}
}
diff --git a/test/fixtures/style_parser/function-type.info.json b/test/fixtures/style_parser/function-type.info.json
index 8a844bf7c1..c9e26537f7 100644
--- a/test/fixtures/style_parser/function-type.info.json
+++ b/test/fixtures/style_parser/function-type.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "line-width: function value must specify stops"]
+ [1, "WARNING", "ParseStyle", "function value must specify stops"]
]
}
}
diff --git a/test/fixtures/style_parser/line-opacity.info.json b/test/fixtures/style_parser/line-opacity.info.json
index 63af59e280..40c4632c0e 100644
--- a/test/fixtures/style_parser/line-opacity.info.json
+++ b/test/fixtures/style_parser/line-opacity.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "line-opacity: value must be a number"]
+ [1, "WARNING", "ParseStyle", "value must be a number"]
]
}
}
diff --git a/test/fixtures/style_parser/line-opacity.style.json b/test/fixtures/style_parser/line-opacity.style.json
index 712b2b6f50..7d29fb312a 100644
--- a/test/fixtures/style_parser/line-opacity.style.json
+++ b/test/fixtures/style_parser/line-opacity.style.json
@@ -16,7 +16,7 @@
"paint": {
"line-color": "#008",
"line-width": 0.9,
- "line-opacity": null
+ "line-opacity": "no"
}
}]
}
diff --git a/test/fixtures/style_parser/line-translate.info.json b/test/fixtures/style_parser/line-translate.info.json
index a23e17012e..16df094290 100644
--- a/test/fixtures/style_parser/line-translate.info.json
+++ b/test/fixtures/style_parser/line-translate.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "line-translate: value must be an array of two numbers"]
+ [1, "WARNING", "ParseStyle", "value must be an array of two numbers"]
]
}
}
diff --git a/test/fixtures/style_parser/line-translate.style.json b/test/fixtures/style_parser/line-translate.style.json
index a32b2d8ee4..4890a8b6df 100644
--- a/test/fixtures/style_parser/line-translate.style.json
+++ b/test/fixtures/style_parser/line-translate.style.json
@@ -12,7 +12,7 @@
"type": "line",
"source": "mapbox",
"paint": {
- "line-translate": null
+ "line-translate": "no"
}
}]
}
diff --git a/test/fixtures/style_parser/line-width.info.json b/test/fixtures/style_parser/line-width.info.json
index 9e549a0228..40c4632c0e 100644
--- a/test/fixtures/style_parser/line-width.info.json
+++ b/test/fixtures/style_parser/line-width.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "line-width: value must be a number"]
+ [1, "WARNING", "ParseStyle", "value must be a number"]
]
}
}
diff --git a/test/fixtures/style_parser/line-width.style.json b/test/fixtures/style_parser/line-width.style.json
index e5fe6fa8e1..1f677460c4 100644
--- a/test/fixtures/style_parser/line-width.style.json
+++ b/test/fixtures/style_parser/line-width.style.json
@@ -14,7 +14,7 @@
"source-layer": "waterway",
"filter": ["in", "type", "river", "canal"],
"paint": {
- "line-width": null
+ "line-width": "no"
}
}]
}
diff --git a/test/fixtures/style_parser/stop-zoom-value.info.json b/test/fixtures/style_parser/stop-zoom-value.info.json
index 3abf1867a4..386dce9d29 100644
--- a/test/fixtures/style_parser/stop-zoom-value.info.json
+++ b/test/fixtures/style_parser/stop-zoom-value.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "fill-opacity: function stop must have two elements"]
+ [1, "WARNING", "ParseStyle", "function stop must have two elements"]
]
}
}
diff --git a/test/fixtures/style_parser/stops-array.info.json b/test/fixtures/style_parser/stops-array.info.json
index b82f5a97d7..ed66513fee 100644
--- a/test/fixtures/style_parser/stops-array.info.json
+++ b/test/fixtures/style_parser/stops-array.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "line-width: function stops must be an array"]
+ [1, "WARNING", "ParseStyle", "function stops must be an array"]
]
}
}
diff --git a/test/fixtures/style_parser/text-size.info.json b/test/fixtures/style_parser/text-size.info.json
index b412c6beed..40c4632c0e 100644
--- a/test/fixtures/style_parser/text-size.info.json
+++ b/test/fixtures/style_parser/text-size.info.json
@@ -1,7 +1,7 @@
{
"default": {
"log": [
- [1, "WARNING", "ParseStyle", "text-size: value must be a number"]
+ [1, "WARNING", "ParseStyle", "value must be a number"]
]
}
}
diff --git a/test/fixtures/style_parser/text-size.style.json b/test/fixtures/style_parser/text-size.style.json
index ee6a6c39e4..dafa87d63b 100644
--- a/test/fixtures/style_parser/text-size.style.json
+++ b/test/fixtures/style_parser/text-size.style.json
@@ -14,7 +14,7 @@
"source-layer": "country_label",
"filter": ["==", "$type", "Point"],
"layout": {
- "text-size": null
+ "text-size": "no"
}
}]
}