summaryrefslogtreecommitdiff
path: root/test/map
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-02 16:18:46 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-02 16:33:56 -0700
commite802aedb8cf7678cacb92cd02e2e35d051310252 (patch)
tree623492c0835899bcd473b071720cc5b2bde1c76f /test/map
parent7d110f5b149bfd78eca8a2e3e0cb071ae5027348 (diff)
downloadqtlocation-mapboxgl-e802aedb8cf7678cacb92cd02e2e35d051310252.tar.gz
[core, node, android] Remove used "base" parameter from setStyleJSON
Diffstat (limited to 'test/map')
-rw-r--r--test/map/map.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/map/map.cpp b/test/map/map.cpp
index 7cafe563b4..57adee567d 100644
--- a/test/map/map.cpp
+++ b/test/map/map.cpp
@@ -56,15 +56,15 @@ TEST(Map, DoubleStyleLoad) {
MapTest test;
Map map(test.view, test.fileSource, MapMode::Still);
- map.setStyleJSON("", "");
- map.setStyleJSON("", "");
+ map.setStyleJSON("");
+ map.setStyleJSON("");
}
TEST(Map, AddLayer) {
MapTest test;
Map map(test.view, test.fileSource, MapMode::Still);
- map.setStyleJSON(util::read_file("test/fixtures/api/empty.json"), "");
+ map.setStyleJSON(util::read_file("test/fixtures/api/empty.json"));
auto layer = std::make_unique<BackgroundLayer>("background");
layer->setBackgroundColor({{{ 1, 0, 0, 1 }}});
@@ -77,7 +77,7 @@ TEST(Map, RemoveLayer) {
MapTest test;
Map map(test.view, test.fileSource, MapMode::Still);
- map.setStyleJSON(util::read_file("test/fixtures/api/empty.json"), "");
+ map.setStyleJSON(util::read_file("test/fixtures/api/empty.json"));
auto layer = std::make_unique<BackgroundLayer>("background");
layer->setBackgroundColor({{{ 1, 0, 0, 1 }}});