summaryrefslogtreecommitdiff
path: root/test/style
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 10:41:33 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-06-14 11:25:45 -0700
commit55abb76f6840642c9734f19cb493d9efaf5329e3 (patch)
tree291d164603beedda4c43b1956e0fbaf70152c52d /test/style
parentf74c5d8abd8f2f4a3921786507d121ffac05e17a (diff)
downloadqtlocation-mapboxgl-55abb76f6840642c9734f19cb493d9efaf5329e3.tar.gz
[core] Vector source tileSize is constant
Diffstat (limited to 'test/style')
-rw-r--r--test/style/source.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/style/source.cpp b/test/style/source.cpp
index 8b74042837..4348dbc7e7 100644
--- a/test/style/source.cpp
+++ b/test/style/source.cpp
@@ -86,7 +86,7 @@ TEST(Source, LoadingFail) {
test.end();
};
- VectorSource source("source", "url", 512, nullptr);
+ VectorSource source("source", "url", nullptr);
source.setObserver(&test.observer);
source.load(test.fileSource);
@@ -109,7 +109,7 @@ TEST(Source, LoadingCorrupt) {
test.end();
};
- VectorSource source("source", "url", 512, nullptr);
+ VectorSource source("source", "url", nullptr);
source.setObserver(&test.observer);
source.load(test.fileSource);
@@ -166,7 +166,7 @@ TEST(Source, VectorTileEmpty) {
auto tileset = std::make_unique<Tileset>();
tileset->tiles = { "tiles" };
- VectorSource source("source", "", 512, std::move(tileset));
+ VectorSource source("source", "", std::move(tileset));
source.setObserver(&test.observer);
source.load(test.fileSource);
source.update(test.updateParameters);
@@ -224,7 +224,7 @@ TEST(Source, VectorTileFail) {
auto tileset = std::make_unique<Tileset>();
tileset->tiles = { "tiles" };
- VectorSource source("source", "", 512, std::move(tileset));
+ VectorSource source("source", "", std::move(tileset));
source.setObserver(&test.observer);
source.load(test.fileSource);
source.update(test.updateParameters);
@@ -284,7 +284,7 @@ TEST(Source, VectorTileCorrupt) {
auto tileset = std::make_unique<Tileset>();
tileset->tiles = { "tiles" };
- VectorSource source("source", "", 512, std::move(tileset));
+ VectorSource source("source", "", std::move(tileset));
source.setObserver(&test.observer);
source.load(test.fileSource);
source.update(test.updateParameters);
@@ -338,7 +338,7 @@ TEST(Source, VectorTileCancel) {
auto tileset = std::make_unique<Tileset>();
tileset->tiles = { "tiles" };
- VectorSource source("source", "", 512, std::move(tileset));
+ VectorSource source("source", "", std::move(tileset));
source.setObserver(&test.observer);
source.load(test.fileSource);
source.update(test.updateParameters);