summaryrefslogtreecommitdiff
path: root/test/api
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-09-02 16:53:41 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-09-04 10:52:14 -0700
commit15a66b8989645b702d207d96f6693ea3ddd93bdc (patch)
tree8f60f1e62f54a8a3afce280ddc48a1a3bef5da70 /test/api
parente49ef97a500d7c0afa5bf55d311dc5239ccddd2a (diff)
downloadqtlocation-mapboxgl-15a66b8989645b702d207d96f6693ea3ddd93bdc.tar.gz
Consolidate test-suite rendering harnesses (#2236)
Diffstat (limited to 'test/api')
-rw-r--r--test/api/repeated_render.cpp2
-rw-r--r--test/api/set_style.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/api/repeated_render.cpp b/test/api/repeated_render.cpp
index f8b92b85b8..3317b4e3a4 100644
--- a/test/api/repeated_render.cpp
+++ b/test/api/repeated_render.cpp
@@ -25,7 +25,7 @@ TEST(API, RepeatedRender) {
Map map(view, fileSource, MapMode::Still);
{
- map.setStyleJSON(style, "test/suite");
+ map.setStyleJSON(style, "");
std::promise<std::unique_ptr<const StillImage>> promise;
map.renderStill([&promise](std::exception_ptr, std::unique_ptr<const StillImage> image) {
promise.set_value(std::move(image));
diff --git a/test/api/set_style.cpp b/test/api/set_style.cpp
index db31254dbb..c3e62def20 100644
--- a/test/api/set_style.cpp
+++ b/test/api/set_style.cpp
@@ -18,7 +18,7 @@ TEST(API, SetStyle) {
{
Map map(view, fileSource, MapMode::Still);
- map.setStyleJSON("invalid", "test/suite");
+ map.setStyleJSON("invalid", "");
}
auto observer = Log::removeObserver();