summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-04-20 13:59:04 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-04-28 14:32:21 -0400
commit7bd735220de0ee09e2bbe4f49185f8341e4b88b1 (patch)
tree94b16718ee246a11f59793bfdd7dd589751cce67 /test
parentd67f862400c5b04b6ba23e38fdb24cdf3471f6c3 (diff)
downloadqtlocation-mapboxgl-7bd735220de0ee09e2bbe4f49185f8341e4b88b1.tar.gz
Fix build
Diffstat (limited to 'test')
-rw-r--r--test/api/repeated_render.cpp2
-rw-r--r--test/api/set_style.cpp2
-rw-r--r--test/headless/headless.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/api/repeated_render.cpp b/test/api/repeated_render.cpp
index 25a5d5d28f..6dbc001eae 100644
--- a/test/api/repeated_render.cpp
+++ b/test/api/repeated_render.cpp
@@ -24,7 +24,7 @@ TEST(API, RepeatedRender) {
Map map(view, fileSource);
- map.start(Map::Mode::Still);
+ map.start(MapMode::Still);
{
view.resize(128, 512, 1);
diff --git a/test/api/set_style.cpp b/test/api/set_style.cpp
index 11921a43ce..c918e665e6 100644
--- a/test/api/set_style.cpp
+++ b/test/api/set_style.cpp
@@ -18,7 +18,7 @@ TEST(API, SetStyle) {
Map map(view, fileSource);
- map.start(Map::Mode::Still);
+ map.start(MapMode::Still);
map.setStyleJSON("invalid", "test/suite");
diff --git a/test/headless/headless.cpp b/test/headless/headless.cpp
index aac5dda833..7e22f76211 100644
--- a/test/headless/headless.cpp
+++ b/test/headless/headless.cpp
@@ -145,7 +145,7 @@ TEST_P(HeadlessTest, render) {
DefaultFileSource fileSource(nullptr);
Map map(view, fileSource);
- map.start(Map::Mode::Still);
+ map.start(MapMode::Still);
map.setClasses(classes);
map.setStyleJSON(style, "test/suite");