summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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");