diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-02 16:18:46 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-02 16:33:56 -0700 |
commit | e802aedb8cf7678cacb92cd02e2e35d051310252 (patch) | |
tree | 623492c0835899bcd473b071720cc5b2bde1c76f /test/style | |
parent | 7d110f5b149bfd78eca8a2e3e0cb071ae5027348 (diff) | |
download | qtlocation-mapboxgl-e802aedb8cf7678cacb92cd02e2e35d051310252.tar.gz |
[core, node, android] Remove used "base" parameter from setStyleJSON
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/style.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/style/style.cpp b/test/style/style.cpp index 931867978e..d530d9cbdd 100644 --- a/test/style/style.cpp +++ b/test/style/style.cpp @@ -16,7 +16,7 @@ TEST(Style, UnusedSource) { auto now = Clock::now(); - style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json"), ""); + style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json")); style.cascade(now, MapMode::Still); style.recalculate(0, now, MapMode::Still); @@ -35,7 +35,7 @@ TEST(Style, UnusedSourceActiveViaClassUpdate) { StubFileSource fileSource; Style style { fileSource, 1.0 }; - style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json"), ""); + style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json")); EXPECT_TRUE(style.addClass("visible")); EXPECT_TRUE(style.hasClass("visible")); @@ -49,7 +49,7 @@ TEST(Style, UnusedSourceActiveViaClassUpdate) { EXPECT_TRUE(unusedSource->isLoaded()); // Style classes should be cleared upon new style load. - style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json"), ""); + style.setJSON(util::read_file("test/fixtures/resources/style-unused-sources.json")); EXPECT_FALSE(style.hasClass("visible")); now = Clock::now(); |